Multilne captions

neuwirthe shared this question 9 months ago
Answered

Is ist possible to have a multiline caption for an object?

I tried to insert line breaks in captions, but neither \n nor \\n did work

Comments (3)

photo
1

Use \cr or \\

The object caption needs to be in LaTeX format, that is, enclosed in $ $.

Example:


$line1 \cr line2$

photo
1

Thanks, that solved my problem

photo
1

One more question: LaTeX captions and plain text captions are using a different font, even when I use \textsf in LaTeX expressions. Is there a way to use the same font in LaTeX as in plain text captions.

The visual appearance would be more consistent this way.

© 2019 International GeoGebra Institute