diff --git a/revtex.template b/revtex.template index a0b5ed66a12a3119630fc29a306a6d822c35ba9f..a1f482bcfc7928bbe9ea6be93bc154e10e5701a1 100755 --- a/revtex.template +++ b/revtex.template @@ -67,8 +67,7 @@ % workaround for https://github.com/jgm/pandoc/issues/4716 \newcommand{\passthrough}[1]{\lstset{mathescape=false}#1\lstset{mathescape=true}} -\usepackage{xcolor} - +% listing settings, from https://tex.stackexchange.com/a/179956 \lstset{ basicstyle=\ttfamily, numbers=left, @@ -88,7 +87,7 @@ breakatwhitespace=true, breakautoindent=true, escapeinside={\%*}{*)}, - linewidth=0.9\textwidth, + linewidth=\columnwidth, basewidth=0.5em, }