summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2021-08-15 14:14:44 +0200
committerUlrich Müller <ulm@gentoo.org>2021-08-15 14:14:44 +0200
commit88bd72dfbce9d889f9cf865cac72f26a06e8914e (patch)
treebfd4752f75c3de0b6a7a369df7b9ee303ead2d98
parentpkg-mgr-commands.tex: Fix econf --libdir logic (diff)
downloadpms-88bd72dfbce9d889f9cf865cac72f26a06e8914e.tar.gz
pms-88bd72dfbce9d889f9cf865cac72f26a06e8914e.tar.bz2
pms-88bd72dfbce9d889f9cf865cac72f26a06e8914e.zip
eapi-cheatsheet.tex: Define \i and \t commands
These occur in external aux files used with the xr-hyper package and would normally cause an "undefined control sequence" error. The problem was hidden by LaTeX using its internal \i and \t macros instead. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--eapi-cheatsheet.tex4
1 files changed, 4 insertions, 0 deletions
diff --git a/eapi-cheatsheet.tex b/eapi-cheatsheet.tex
index c5e795d..c333b32 100644
--- a/eapi-cheatsheet.tex
+++ b/eapi-cheatsheet.tex
@@ -19,6 +19,10 @@
\newcommand{\featureref}[1]{\textsc{#1} on page~\pageref{feat:#1}}
\renewcommand{\familydefault}{\sfdefault}
\urlstyle{sf}
+
+% These commands may occur in external aux files from pms
+\renewcommand{\i}[1]{\textit{#1}}
+\renewcommand{\t}[1]{\texttt{#1}}
\externaldocument{pms}
\title{EAPI Cheat Sheet}