summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/hereapplies/hereapplies-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/hereapplies/hereapplies-doc.tex')
-rw-r--r--macros/latex/contrib/hereapplies/hereapplies-doc.tex5
1 files changed, 5 insertions, 0 deletions
diff --git a/macros/latex/contrib/hereapplies/hereapplies-doc.tex b/macros/latex/contrib/hereapplies/hereapplies-doc.tex
index 9f4f5027b3..01a7ceeb7a 100644
--- a/macros/latex/contrib/hereapplies/hereapplies-doc.tex
+++ b/macros/latex/contrib/hereapplies/hereapplies-doc.tex
@@ -21,6 +21,7 @@
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{doc}
+\usepackage{upquote}
\AtBeginDocument{%
% LyX should add automatically `\usepackage{listings}` to the preamble...
@@ -138,10 +139,14 @@ possible macros or labels of the same names.
After storing some internal values, \texttt{\textbackslash hereapplies}
will expand exactly to
+\smallskip{}
+
\begin{lstlisting}[language=TeX,numbers=none]
\phantomsection\label{...}
\end{lstlisting}
+\smallskip{}
+
Its ``starred'' version (\texttt{\textbackslash hereapplies{*}})
will not invoke the \texttt{\textbackslash phantomsection} directive.