|
I can confirm this issue in R2012a (7.14.0.739) on Mac OS X and I have run up against it many times in the past on previous versions. It pertains to the LaTeX interpreter in general, not the title() function, the font-size, or the length of the text (it's easier to see with a longer text string). This:
title('abcdefg','Interpreter','latex');
has already overflowed its extent box (click the arrow tool to edit the plot and select the title). I see this issue with xlabel(), ylabel(), etc.
Are there any workarounds/fixes? Typography is essential. Plots should be labeled properly or they are meaningless. This often means using special symbols and formatting that are only accessible via LaTeX in Matlab.
"Christopher " <chood8@gatech.edu> wrote in message <jmfsmv$gdr$1@newscl01ah.mathworks.com>...
> I am having issues with the Latex interpreter for text on only my copy of Matlab (7.12.0.635, R2011a, maci64). Specifically, all the spacing gets ruined when using the Latex interpreter. For instance, if I set the title for a plot as
>
> title('A Very Very Long Title Here','Interpreter','Latex','fontsize',14)
>
> then the title is clearly not centered on the figure. Also, if I set the interpreter on my legend to Latex, then the text inside the legend box spills out over the right side of the legend box! It's as if Matlab were calculating the spacing with the standard font, then not accounting for the different Latex font size.
>
> As an aside, these problems are not present on the Matlab version on my school's computers (R2009a).
|