# Multilne captions

neuwirthe shared this question 3 years ago

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

1

Use \cr or \\

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

Example:

`\$line1 \cr line2\$`

1

Thanks, that solved my problem

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.