You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As stated in #13, I want to use the latex-environment filter to highlight specific parts of my code, using the listings latex package / environment together with colorbox. Per default, all latex code within a listings environment is ignored. However, I can specify an escape character in the package options (see here)
escapechar=⟨character⟩ or escapechar={}
If not empty the given character escapes the user to LATEX: all code between
two such characters is interpreted as LATEX code
So if I set the escapechar = |, everything in between | in my listing environment will be interpreted as latex code. Is there a way to get this input:
As stated in #13, I want to use the
latex-environment
filter to highlight specific parts of my code, using thelistings
latex package / environment together withcolorbox
. Per default, all latex code within a listings environment is ignored. However, I can specify an escape character in the package options (see here)So if I set the
escapechar = |
, everything in between|
in my listing environment will be interpreted as latex code. Is there a way to get this input:to this latex output (note the wrapping
|
)?:The text was updated successfully, but these errors were encountered: