12

I am writing a script to emulate a mathematica notebook with tcolorbox in latex.

it seems to be perfectly ok as long as I do not have an equal sign in the title. If I do, it breaks

\begin{tcolorbox}[title=$a=b$,title filled] \(a=5\) \end{tcolorbox} 
1

1 Answer 1

15

You need brackets:

\documentclass{article} \usepackage{tcolorbox} \begin{document} \begin{tcolorbox}[title={$a=b$},title filled] \(a=5\) \end{tcolorbox} \end{document} 

enter image description here

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.