Created
May 11, 2013 12:25
-
-
Save MartinRogalla/5559828 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[a4paper,answers]{exam} | |
\usepackage{booktabs} | |
\usepackage{amsmath} | |
\usepackage{fullpage} | |
\renewcommand{\questionlabel}{\textbf{\thequestion}} | |
\renewcommand{\thesection}{\arabic{section}} | |
\begin{document} | |
\section*{Chapter 1} | |
\setcounter{section}{1} | |
\begin{questions} | |
\numberwithin{question}{section} | |
\setcounter{question}{1} | |
\question | |
Question is here. | |
\begin{solution} | |
Here comes the answer | |
\end{solution} | |
\end{questions} | |
\section*{Chapter 2} | |
\setcounter{section}{2} | |
\begin{questions} | |
\numberwithin{question}{section} | |
\setcounter{question}{1} | |
\question | |
Question is here. | |
\begin{solution} | |
Here comes the answer | |
\end{solution} | |
\end{questions} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment