Debian Codegraph @

texmf-dist/doc/latex/webquiz/examples/discussion-ref.tex

raw
1 \documentclass[onepage]{webquiz}
2 \title{A dref and qref example}
3 \begin{document}
4 \begin{discussion}[First bit][First discussion item]\label{d:one}
5 Some cross-references to question 1: \qref{q:one}, \qref*{q:one},
6 \qref[some text]{q:one}, and \qref*[some text]{q:one}.
7 \end{discussion}
8 \begin{question}\label{q:one}
9 Cross-references to discussion: \answer{1} \dref{d:one}, \dref*{d:one},
10 \dref[some text]{d:one} and \dref*[some text]{d:one}.
11 \end{question}
12 \end{document}