Skip to content

Commit

Permalink
Use the listings.sty option upquote=true
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Feb 22, 2022
1 parent 6cf9648 commit 317de83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mlsshared.sty
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
\usepackage{newtxtt}
\fi

\usepackage{textcomp}
\usepackage{listings}
\usepackage{color}
\usepackage[table]{xcolor}
Expand Down Expand Up @@ -188,6 +189,7 @@
mathescape=true,
breaklines=true, % automatic line breaking only at white-space
keepspaces, % don't remove space such as those after closing parenthesis
upquote=true, % Don't turn apostrophe/backtick into single quotation marks.
captionpos=b, % sets the caption-position to bottom
commentstyle=\color{commentcolor}\sffamily,
keywordstyle=\color{red}, % Unused keyword style in bright red to make it easy to detect and fix.
Expand Down

0 comments on commit 317de83

Please sign in to comment.