Document Classes ⇒ \qformat in exam documentclass
\qformat in exam documentclass
I' m using exam package. Command \qformat allows you to change questions enumeration style. However, when using this command, the body of question starts on a new line. Can I somehow change it (I want to start question on this line, where number of question is)?
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
\qformat in exam documentclass
Hi,
if you like, perhaps post a short compilable example that shows the undesired behavior, so we can help to improve or patch it.
Stefan
if you like, perhaps post a short compilable example that shows the undesired behavior, so we can help to improve or patch it.
Stefan
LaTeX.org admin
\qformat in exam documentclass
Code: Select all
\documentclass[a4paper,12pt,addpoints]{exam}
\qformat{\textbf{\underline{\textbf{Zadanie }\thequestion}}\quad\thepoints}
\usepackage{polski}
\begin{document}
\pagestyle{head}\firstpageheader{}{}{}
\begin{questions}
\question some question
\end{questions}
\end{document}
\qformat in exam documentclass
You could try redefining
KR
Rainer
\questionlabel
instead of using \qformat
:
Code: Select all
\documentclass[a4paper,12pt,addpoints]{exam}
\renewcommand*\questionlabel{\underline{\textbf{Zadanie }\thequestion}}
\usepackage{polski}
\begin{document}
\pagestyle{head}\firstpageheader{}{}{}
\begin{questions}
\question some question
\end{questions}
\end{document}
Rainer