9

Can we use the exam document class and all its packages in another language?

For example, how can we have the info about the exam translated in another languge?

3

1 Answer 1

6

You can use exam with other languages, but you need to translate by yourself.

Its documentation contains all commands which you need to redefine the labels. In the following (bad) example, some of these commands are used/listed:

\documentclass[answers]{exam}
\usepackage[british]{babel}

\pagestyle{headandfoot}
\runningheadrule
\firstpageheader{Left}{Center}{Right}
\runningheader{LeftM}{Middle, Page \thepage\ of \numpages}{RightM}
\firstpagefooter{}{}{}
\pointpoints{exam-point}{exam-points}
\bonuspointpoints{exam-bonus-point}{exam-bonus-points}
\qformat{\textbf{Question \thequestion}\quad (\totalpoints)\hfill}

\renewcommand{\solutiontitle}{\noindent\textbf{The solution:}\enspace}

\begin{document}
\addpoints    
\begin{questions}
        \question[10]
        The question 1.
        \begin{solution}
        This is the answer to question 1.
        \end{solution}

        \question
        \begin{parts}
                \part[5] The question 2a.
                \part[5] The question 2b.
                \bonuspart[1] The question 2c.
        \end{parts}
\end{questions}

\newpage

% \chqword{Question:}
% \chpgword{Page:}
% \chpword{Points:}
% \chbpword{Bonus Points:}
% \chsword{Score:}
 \chtword{Total Points}
 \cvqword{Question-No.}
% \cvpgword{Page}
 \cvpword{Exam-Points}
 \cvbpword{Bonus Exam-Points}
% \cvsword{Score}
% \cvtword{Total:
\combinedgradetable

\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .