Author: bugman Date: Thu Sep 20 12:09:59 2012 New Revision: 17526 URL: http://svn.gna.org/viewcvs/relax?rev=17526&view=rev Log: Removed \verb from the \newcommand definitions as that is forbidden in LaTeX. Now Python code is formatted using a small TT font. Modified: trunk/docs/latex/relax.tex Modified: trunk/docs/latex/relax.tex URL: http://svn.gna.org/viewcvs/relax/trunk/docs/latex/relax.tex?rev=17526&r1=17525&r2=17526&view=diff ============================================================================== --- trunk/docs/latex/relax.tex (original) +++ trunk/docs/latex/relax.tex Thu Sep 20 12:09:59 2012 @@ -56,8 +56,8 @@ \newcommand{\directory}[1]{\texttt{#1}} \newcommand{\file}[1]{\texttt{#1}} \newcommand{\module}[1]{\texttt{#1}} -\newcommand{\pycode}[1]{``\\verb!{#1}!''} -\newcommand{\pycodestar}[1]{``\\verb*!{#1}!''} +\newcommand{\pycode}[1]{{\small \texttt{#1}}} +\newcommand{\pystring}[1]{`{\small \texttt{#1}}'} \newcommand{\software}[1]{\texttt{#1}} % New environment.