1- \documentclass {ximera }
1+ \documentclass [ landscape ] {ximera }
22
33% \numberedProblemstrue
44
@@ -23,10 +23,26 @@ \section{Basic Example}
2323\begin {equation }
2424 a^2 + b^2 = c^2 \label {eq:pyth }
2525\end {equation }
26- and in \verb |\[ ... \] | with \verb |\label{eq:pyth } | and with \verb |\tag{Pyth.} |:
26+ and in \verb |\[ ... \] | with \verb |\label{tag:pyth2 } | and with \verb |\tag{Pyth. 2 } |:
2727\[
28- a^2 + b^2 = c^2 \tag {Pyth. } \label { tag:pyth }
28+ a^2 + b^2 = c^2 \label { tag:pyth2 } \tag {Pyth. 2 }
2929\]
30+ and in \verb |\[ ... \] | with \verb |\label{tag_pyth3} | and with \verb |\tag{Pyth. 3} |:
31+ \[
32+ a^2 + b^2 = c^2 \label {tag_pyth3 } \tag {Pyth. 3}
33+ \]
34+ and in \verb |\begin{equation} | with \verb |\label{tag:pyth4} | and with \verb |\tag{Pyth. 4} |:
35+ \begin {equation }
36+ a^2 + b^2 = c^2 \label {tag:pyth4 } \tag {Pyth. 4}
37+ \end {equation }
38+ and in \verb |\[ ... \] | with \verb |\label{tag:pyth} | and with NO \verb |\tag |:
39+ \[
40+ a^2 + b^2 = c^2 \label {tag:pyth }
41+ \]
42+ and in \verb |\begin{equation} | with \verb |\label{eq:pythE} | and again NO \verb |\tag |:
43+ \begin {equation }
44+ a^2 + b^2 = c^2 \label {eq:pythE }
45+ \end {equation }
3046or just in a \verb |center | environment with a \verb |\hypertarget |
3147\begin {center }
3248 \hfill\qquad $ a^2 + b^2 = c^2 $ \qquad \hfill \hypertarget {ht:pyth}{(Pyth. (hypertarget))}
@@ -48,14 +64,26 @@ \section{List with xmref}
4864\hline
4965Command & Result & Command with [text] & Result \\
5066\hline
51- \verb | \xmref{itm:first} | & \xmref {itm:first } & \verb | \xmref[first item]{itm:first} | & \xmref [first item]{itm:first} \\
52- \verb |$\xmref{eq:pyth}$ | &$ \xmref {eq:pyth}$ & \verb |$\xmref[first eq.]{eq:pyth}$ | &$ \xmref [first eq.]{eq:pyth}$ \\
53- \verb | \xmref{eq:pyth} | & \xmref {eq:pyth } & \verb | \xmref[first eq.]{eq:pyth} | & \xmref [first eq.]{eq:pyth} \\
54- \verb | \xmref{tag:pyth} | & \xmref {tag:pyths } & \verb | \xmref[second eq.]{tag:pyth} | & \xmref [second eq.]{tag:pyth} \\
67+ \verb | \xmref{itm:first} | & \xmref {itm:first } & \verb | \xmref[1st item]{itm:first} | & \xmref [1st item]{itm:first} \\
68+ \verb |$\xmref{eq:pyth}$ | &$ \xmref {eq:pyth}$ & \verb |$\xmref[1st eq.]{eq:pyth}$ | &$ \xmref [1 st eq.]{eq:pyth}$ \\
69+ \verb | \xmref{eq:pyth} | & \xmref {eq:pyth } & \verb | \xmref[1st eq.]{eq:pyth} | & \xmref [1st eq.]{eq:pyth} \\
70+ \verb | \xmref{tag:pyth2} | & \xmref {tag:pyth2 } & \verb | \xmref[2nd eq.]{tag:pyth2} | & \xmref [2nd eq.]{tag:pyth2} \\
71+ \verb | \xmref{tag_pyth3} | & \xmref {tag_pyth3 } & \verb | \xmref[3rd eq.]{tag_pyth3} | & \xmref [3rd eq.]{tag_pyth3} \\
72+ \verb | \xmref{tag:pyth4} | & \xmref {tag:pyth4 } & \verb | \xmref[4th eq.]{tag:pyth4} | & \xmref [4th eq.]{tag:pyth4} \\
73+ \verb | \xmref{tag:pyth} | & \xmref {tag:pyth } & \verb | \xmref[5th eq.]{tag:pyth} | & \xmref [5th eq.]{tag:pyth} \\
74+ \verb | \xmref{eq:pythE} | & \xmref {eq:pythE } & \verb | \xmref[6th eq.]{eq:pythE} | & \xmref [6th eq.]{eq:pythE} \\
5575\verb | \xmref{ht:pyth} | & \xmref {ht:pyth } & & \\
5676% \verb| \xmref{xim_labelsFromOtherActivity}| & \xmref{xim_labelsFromOtherActivity} & \verb|\xmref[a page with back-links]{xim_labelsFromOtherActivity}| & \xmref[a page with back-links]{xim_labelsFromOtherActivity} \\
5777\verb | \xmref{https://ximera.org} | & \xmref {https://ximera.org } & \verb | \xmref[Ximera]{https://ximera.org} | & \xmref [Ximera]{https://ximera.org} \\
78+ \verb | \xmref{./local} | & \xmref {./local } & \verb | \xmref[Local]{./local} | & \xmref [Local]{./local} \\
79+ \verb | \xmref{../prev} | & \xmref {../prev } & \verb | \xmref[Prev]{../prev} | & \xmref [Prev]{../prev} \\
5880\hline
81+ \verb |$\ref{eq:pyth}$ | &$ \ref {eq:pyth}$ \\
82+ \verb | \ref{eq:pyth} | & \ref {eq:pyth } \\
83+ \verb |$\ref{tag:pyth2}$ | &$ \ref {tag:pyth2}$ \\
84+ \verb | \ref{tag:pyth2} | & \ref {tag:pyth2 } \\
85+ \verb |$\ref{tag_pyth3}$ | &$ \ref {tag_pyth3}$ \\
86+ \verb | \ref{tag_pyth3} | & \ref {tag_pyth3 } \\
5987\end {tabular }
6088\end {center }
6189
@@ -73,17 +101,17 @@ \section{List with xmref}
73101\end {itemize }.
74102
75103
76- Note that in HTML \verb |\ref | and \verb |\eqref | without mathmode might jump to BELOW Equation~\ref {eq_pythagoras } or \eqref {eq_pythagoras }, and
77- \verb |\ref | might need a \verb |\text | to avoid $ \ref {eq_pythagoras }$ .
104+ Note that in HTML \verb |\ref | and \verb |\eqref | without mathmode might jump to BELOW Equation~\ref {eq:pyth } or \eqref {eq:pyth }, and
105+ \verb |\ref | might need a \verb |\text | to get $ \text { \ref { eq:pyth }} $ and avoid $ \ref {eq:pyth }$ .
78106
79- The first equation appears on page~\pageref {eq_pythagoras }, the second on page~\pageref {eq_tag_pythagoras }.
107+ The first equation appears on page~\pageref {eq:pyth }, the second on page~\pageref {tag:pyth2 }.
80108Note that this does not make a lot of sense online.
81109
82- We refer to item~\ref {itm_first } in the list above.
110+ We refer to item~\ref {itm:first } in the list above.
83111
84- You can find these same links from another activity, see \hyperlink {xim_labelsFromOtherActivity}{the labels test activity}.
112+ You can find these same links from another activity with \verb | \hyperlink | , see \hyperlink {xim_labelsFromOtherActivity}{the labels test activity}.
85113
86- You can find these same links from another activity, see \hyperref [xim_labelsFromOtherActivity]{the labels test activity}.
114+ You can find these same links from another activity with \verb | \hyperlink | , see \hyperref [xim_labelsFromOtherActivity]{the labels test activity}.
87115
88116\section {Figures and Tables }
89117
@@ -114,7 +142,7 @@ \subsection{A Demo Table}
114142
115143 \begin {theorem } \label {thm:1 }
116144
117- This is a theorem that refers to Equation~$ \eqref {eq:pythagoras }$ and Figure~\ref {fig:demo }.
145+ This is a theorem that refers to Equation~$ \eqref {eq:pyth }$ and Figure~\ref {fig:demo }.
118146
119147
120148 \end {theorem }
0 commit comments