I am wondering if it's possible to add a bit code in latex, perhaps by using some kind of escape character, to mark parts of the minted environment that should be executed as regular latex code?
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
escapeinsidefrom thelistingspackage? – cmhughes Jan 18 at 0:39mintedhastexclandmathescapeoptions which are used as their equivalents inlistings. Are these enough for you? – hpesoj626 Jan 18 at 0:52escapeinsideequivalent in the manual. – hpesoj626 Jan 18 at 1:02mintedleaves the parsing to another tool (Pygments), and this makes dropping out of the parser to do formatting 'hard'. – Joseph Wright♦ Jan 18 at 6:58