[OS X TeX] How to mark = as just a symbol
Joseph Wright
joseph.wright at morningstar2.co.uk
Sun Jan 17 16:35:08 CET 2016
On 17/01/2016 15:25, Alain Schremmer wrote:
> I am running into an error with tcolorbox--a fantastic package--but, in fact, I suspect that this has nothing to do with the package and just with my general ignorance:
>
> \begin{tcolorbox}[title=$5$]
> Text
> \end{tcolorbox}
>
> works but
>
> \begin{tcolorbox}[title=$=5$]
> Text
> \end{tcolorbox}
>
>
> does not.
>
> I suspect that the second = should somehow be marked as being a mere symbol. Which I don't know how to do.
>
> Embarrassed regards
> --schremmer
As with any key-val set up, you need to 'hide' any "=" signs
\begin{tcolorbox}[title={$=5$}]
Text
\end{tcolorbox}
Joseph
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
More information about the macostex-archives
mailing list