Ian Jauslin
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'iansecs.sty')
-rw-r--r--iansecs.sty6
1 files changed, 6 insertions, 0 deletions
diff --git a/iansecs.sty b/iansecs.sty
index 2720942..8d1cc9f 100644
--- a/iansecs.sty
+++ b/iansecs.sty
@@ -76,6 +76,12 @@
\AtBeginDocument{
\def\label#1{\expandafter\outdef{#1}{\safe\tag}}
+%% make a custom link at any given location in the document
+\def\makelink#1#2{
+ \hrefanchor
+ \outdef{#1}{#2}
+}
+
\def\ref#1{%
% check whether the label is defined (hyperlink runs into errors if this check is ommitted)
\ifcsname #1@hl\endcsname%