|
From: Ethan M. <merritt@u.washington.edu> - 2007-05-31 19:18:52
|
On Thursday 31 May 2007 01:50, =E5=AD=99=E5=B4=87=E6=B3=A2 wrote:
> Hello,
>=20
> When I used Gnuplot *set terminal latex*,
> the code *set ylabel "This is\\the\\$y$ axis"*
> produced a code in the output .tex file *
> \put(445,21){\makebox(0,0){This
> is\\the\\$y$ axis}}.*
> **
> However, when I pdflatexed the .tex file including the plot file.
> The ylabel was still in the same line, rather than changing lines.
> Could you please tell me the reason?
The text in your \makebox{} command is processed by LaTeX,
and is formatted according to the current LaTeX environment.
Unless you have created some custom environment, it will
ignore newlines. Possibly it would accept a \linebreak command,
but I doubt it.
If you want gnuplot to format the text for you, then don't
use the latex terminal. Instead use the postscript/eps or
the pdf terminal, and include the whole figure (plot + labels)
in the LaTeX document.
=2D-=20
Ethan A Merritt
|