[OS X TeX] How to mark = as just a symbol

Joseph Wright joseph.wright at morningstar2.co.uk
Sun Jan 17 10:35:08 EST 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



More information about the MacOSX-TeX mailing list