summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/hereapplies/hereapplies-doc.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-09-14 03:03:08 +0000
committerNorbert Preining <norbert@preining.info>2022-09-14 03:03:08 +0000
commit9fb667bb165065e655a81b1eaf7b61f2f03825ec (patch)
tree0de63da671044c23b17d96ff0c02ba7fb1e78d65 /macros/latex/contrib/hereapplies/hereapplies-doc.tex
parentb3ff180caefe0d147e1e71939b35059f4efc1c9b (diff)
CTAN sync 202209140303
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.