I have copied the code of this StackExchange answer but TexStudio messed up the highlight of the text. It seems to be unable to recognize that the $ (dollar sign) does not start a math environment. I attach a screenshot.
As a workaround (and, maybe, as the only one solution), just add %$ at the end of the line where appears the $:
%$
$
\def\DC@endright{$\hfil\egroup\@dcolcolor\box\z@\box\tw@\dcolreset}%$
Yes I did. Thanks
Log in to post a comment.
As a workaround (and, maybe, as the only one solution), just add
%$at the end of the line where appears the$:Yes I did. Thanks