Text Formatting ⇒ label for a question in exam class
label for a question in exam class
how i can use label for a question in exam document class? you can see my goal in attach file
- Attachments
-
- mshjExamChoice.png (9.11 KiB) Viewed 7673 times
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
label for a question in exam class
choices
to do multiple choice tests. Can you try to explain in one or two sentences what you are trying to achieve, maybe even showing a minimal working example?-
- Posts: 89
- Joined: Fri Jan 24, 2014 12:42 am
label for a question in exam class
Code: Select all
\question[]my question? \\
\begin{flushright}
it's reference
\par\end{flushright}
\begin{oneparchoices}
\choice one
\choice two
\choice three
\choice four
\end{choices}\pagebreak[3]{}
-
- Posts: 45
- Joined: Fri Mar 16, 2012 8:22 pm
label for a question in exam class
\label{tag}
and \ref{tag}
. You may have to run latex twice to get every reference right.Code: Select all
\documentclass[12pt]{exam}
\begin{document}
\begin{questions}
\question[]my question? \label{myquestion} \\
\begin{flushright}
it's a reference to question \ref{myquestion}
\par\end{flushright}
\begin{oneparchoices}
\choice one
\choice two
\choice three
\choice four
\end{oneparchoices}\pagebreak[3]{}
\end{questions}
\end{document}