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
The backtick character (from above tilde on a standard US keyboard) does not appear in minted environments, despite the "verbatim" nature of things. This especially frustrating in that I am writing course materials on the Verilog HDL, which uses backtick for preprocessor statements. Is there a way to force this character to be formatted as itself in minted environments?
The text was updated successfully, but these errors were encountered:
This is probably more of a LaTeX font issue than a minted issue. You need to load the upquote package to prevent LaTeX from interpreting the backtick character in verbatim environments as the left quote character.
That did in fact fix things. I might suggest that a comment of that form make it into the documentation, since both backtick and the also-complained-about tilde are used in a number of programming languages. Thanks for the quick response and successful workaround!
The backtick character (from above tilde on a standard US keyboard) does not appear in minted environments, despite the "verbatim" nature of things. This especially frustrating in that I am writing course materials on the Verilog HDL, which uses backtick for preprocessor statements. Is there a way to force this character to be formatted as itself in minted environments?
The text was updated successfully, but these errors were encountered: