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

Herbert Schulz herbs at wideopenwest.com
Sun Jan 17 10:35:21 EST 2016


> On Jan 17, 2016, at 9:25 AM, Alain Schremmer <schremmer.alain at gmail.com> 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

Howdy,

Don't know exactly why but it probably has to do with the way the arguments are processed but

title={$=5$}

works fine. When in doubt, isolate! :-)

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)









More information about the MacOSX-TeX mailing list