Is there a way to format text in subtitle?

Is it possible to format text in the subtitle so that some words (numbers) are bold or italicized or different color?

you could use math formatting to do that, say:
\mathsf\mathbf\textcolor{red}{e=mc^2}

Thank you for your advice; how shall I paste it? If I type something like

subtitle: "\mathsf\mathbf\textcolor{red}{e=mc^2}"

I see only \mathsf\mathbf\textcolor{red}{e=mc^2} without color and without math formatting of the formula.

Ah, you’re passing in a String there. Use backticks: ``

Very much obliged!!!

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.