You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: link/link.tex
+31-3Lines changed: 31 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -10,11 +10,39 @@
10
10
\end{abstract}
11
11
\maketitle
12
12
13
-
Here is one link: \link{http://ximera.osu.edu}
13
+
\section*{Basic Usage}\label{sec:link:basicUsage}
14
14
15
-
Here is another link: \link[ximera]{http://ximera.osu.edu}, make sure that the spacing after the period looks good.
15
+
With \verb|\link{url}| you make a hyperlink: \link{http://ximera.osu.edu}.
16
16
17
-
Here sometimes you might have a \link[ximera]{http://ximera.osu.edu} with words after it. Make sure this looks good too.
17
+
With \verb|\link[text]{url}| you display 'text', and not the url: \link[ximera]{http://ximera.osu.edu}.
18
+
19
+
20
+
21
+
Notes:
22
+
\begin{itemize}
23
+
\item\label{link_spaces} Note the spaces in and after a \link[link to ximera]{http://ximera.osu.edu} in a sentence.
24
+
\item\label{link_bold} You might want a bold \textbf{\link[link to ximera]{http://ximera.osu.edu}}, or a link with a bold 'ximera' in it: \link[link to \textbf{ximera}]{http://ximera.osu.edu}.
25
+
\item\label{link_footnote} The PDF puts links in footnotes\footnote{This is just a normal footnote} at the bottom of the page.
26
+
\end{itemize}
27
+
28
+
Alternatives:
29
+
30
+
With \verb|\url{url}| you make a hyperlink: \url{http://ximera.osu.edu}.
31
+
32
+
With \verb|\href{url}{text}| you display 'text', and not the url: \href{http://ximera.osu.edu}{ximera}.
33
+
34
+
With \verb|\hypertarget{label}{text}| you can create a target to link to: \hypertarget{ht_bold}{this text is important enough to be linked to}.
35
+
36
+
With \verb|\hyperlink{label}{text}| you can (NOT???) link to a label: see also \hyperlink{ht_bold}{the previous sentence}.
37
+
38
+
With \verb|\hyperlink{label}{text}| you can also link to a normal \verb|label|: see the item about \hyperlink{link_bold}{bold in links}, or the section with \hyperref[sec:link:intendedOutcome]{outcomes}.
39
+
40
+
\section*{Intended Outcome of Test}\label{sec:link:intendedOutcome}
41
+
42
+
TODO
43
+
44
+
45
+
% Compiled at \today\ at \currenttime %% needs datetime
0 commit comments