|
From: Mojca M. <moj...@gm...> - 2007-06-01 00:43:42
|
On 6/1/07, Ethan Merritt wrote: > But to show that it works in principle, try the following: > > set term latex > set output 'test.tex' > set title "One line\nTwo lines\nThree lines" > plot x No, I didn't have that in mind. That's nonsense, since TeX ignores newlines anyway (and considers them equal to spaces). It's obvious that in LaTeX one is ready to put extra effort into labels by placing extra markup, so one might want to use '\\' for newlines, but that doesn't work inside \hbox (I assume that \makebox is only an hbox). What gnuplot could do is to create such output that '\\' would work out of the box (by replacing \makebox with something that accepts and respects '\\' as a newline). I would need to dig out the proper syntax though, since I abandoned LaTeX some years ago. Mojca |