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 7284 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- 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}