summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/hereapplies/example.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/hereapplies/example.tex')
-rw-r--r--macros/latex/contrib/hereapplies/example.tex36
1 files changed, 36 insertions, 0 deletions
diff --git a/macros/latex/contrib/hereapplies/example.tex b/macros/latex/contrib/hereapplies/example.tex
new file mode 100644
index 0000000000..1635e73f30
--- /dev/null
+++ b/macros/latex/contrib/hereapplies/example.tex
@@ -0,0 +1,36 @@
+\documentclass{article}
+
+\usepackage{hereapplies}
+
+\begin{document}
+
+\title{Some title}
+\author{Some author}
+
+\maketitle
+
+This is concept one. To see this concept applied, please
+see \whereapplies{conceptone}.
+
+This is concept four. To see this concept applied, please
+see \whereapplies{conceptfour}.
+
+\newpage
+
+\hereapplies{conceptone}This is page \thepage. As you can see, ``concept
+one'' applies here.\newpage
+
+\hereapplies{conceptfour}This is page \thepage. As you can see,
+``concept four'' applies here.\newpage
+
+\hereapplies{conceptone}This is page \thepage. As you can see, ``concept
+one'' applies here.\newpage
+
+\hereapplies{conceptfour}This is page \thepage. As you can see,
+``concept four'' applies here.\newpage
+
+\hereapplies[myref]{conceptone}This is page \thepage. As you can
+see, ``concept one'' applies here. This point in the document is
+labeled \texttt{appl:conceptone:myref}.
+
+\end{document}