X-Git-Url: https://git.decadent.org.uk/gitweb/?p=ion3-doc.git;a=blobdiff_plain;f=macros.tex;fp=macros.tex;h=134aeed93725223d06fae5103b20b52415a9bd5e;hp=0e172d364180b4c8224e436dd9c548c86e236cad;hb=da1e04def26932e7f91a2106c885142e7fafe59b;hpb=a35ba2541b8601953ae94f779a85ae70de19cd11 diff --git a/macros.tex b/macros.tex index 0e172d3..134aeed 100644 --- a/macros.tex +++ b/macros.tex @@ -17,8 +17,7 @@ % URL settings %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\urlstyle{rm} -\newcommand{\centerurl}[1]{\begin{center}\url{#1}\end{center}} +\urlstyle{tt} % listings package %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -47,6 +46,7 @@ %begin{latexonly} \newcommand{\key}[1]{\mbox{\textbf{#1}}} \newcommand{\code}[1]{\lstinline!#1!} +\newcommand{\codestr}[1]{`\texttt{#1}'} \newcommand{\var}[1]{\lstinline!#1!} \newcommand{\command}[1]{\lstinline!#1!} @@ -60,6 +60,7 @@ \newcommand{\key}[1]{\textbf{#1}} \newcommand{\code}[1]{\texttt{#1}} +\newcommand{\codestr}[1]{`\texttt{#1}'} \newcommand{\var}[1]{\texttt{#1}} \newcommand{\command}[1]{\texttt{#1}}