summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/hereapplies/hereapplies-example.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/hereapplies/hereapplies-example.tex')
-rw-r--r--macros/latex/contrib/hereapplies/hereapplies-example.tex36
1 files changed, 36 insertions, 0 deletions
diff --git a/macros/latex/contrib/hereapplies/hereapplies-example.tex b/macros/latex/contrib/hereapplies/hereapplies-example.tex
new file mode 100644
index 0000000000..18b2154e10
--- /dev/null
+++ b/macros/latex/contrib/hereapplies/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 find this concept applied, please
+see \whereapplies{conceptOne}.
+
+This is concept two. To find this concept applied, please
+see \whereapplies{conceptTwo}.
+
+\newpage
+
+\hereapplies{conceptOne}This is page \thepage. As you can see, ``concept
+one'' applies here.\newpage
+
+\hereapplies{conceptTwo}This is page \thepage. As you can see,
+``concept two'' applies here.\newpage
+
+\hereapplies{conceptOne}This is page \thepage. As you can see, ``concept
+one'' applies here.\newpage
+
+\hereapplies{conceptTwo}This is page \thepage. As you can see,
+``concept two'' 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{myref}.
+
+\end{document}