\documentclass{article} \usepackage{graphicx} \usepackage[overlay]{textpos} \setlength{\TPHorizModule}{1mm} \setlength{\TPVertModule}{1mm} \newcommand{\bodyoptionseparator}{\vspace {0.8cm}} \newcommand{\questionseparator}{\vspace*{\fill}} \newcommand{\eogseparator}{\vspace*{\fill} \newpage} \newcommand{\newcodecover}[1]{ } %% put your preamble between the two tags {#preamble} {/preamble} %% You can also redefine the following commans %% \bodyoptionseparator, \questionseparator, \eogseparator, \newcodecover %% by typing %\renewcommand{\bodyoptionseparator}{\vspace {0.8cm}} %\renewcommand{\questionseparator}{\vspace*{\fill}} %\renewcommand{\eogseparator}{\vspace*{\fill} \newpage} %\renewcommand{\newcodecover}[1]{ % %\newpage %\thispagestyle{empty} %\begin{center} % \begin{large} % {UNIVERSITY_NAME} \\ % {DEPT_NAME} \\ % \vspace*{4.5cm} % {\bf \fbox{ #1 } } \hfill {\bf \fbox{ #1 }} \\ % {\bf {COURSE_CODE} } \\ % {\bf {EXAM_NAME} } \\ % {\bf {TERM} } \\ % {\bf {EXAM_DATE} } \\ % {\bf Net Time Allowed: {TIME_ALLOWED} } \\ % \vspace*{0.2cm} % \end{large} %\end{center} %\large{Name: }\hrulefill %\vspace{3mm} %\large{ID: } \hrulefill \large{ Sec: } \hrulefill \large{ %\vspace{1cm} %\large{\bf{Check that this exam has {\underline{ {NUM_OF_QUESTIONS} }} questions.}} %\vspace{1cm} %\underline{\large{\bf Important Instructions:}} %\begin{enumerate} % \begin{normalsize} % \item All types of calculators, pagers or mobile phones are NOT allowed during the examination. % \item Use HB 2.5 pencils only. % \item Use a good eraser. DO NOT use the erasers attached to the pencil. % \item Write your name, ID number and Section number on the examination paper and in the upper left corner of the answer sheet. % \item When bubbling your ID number and Section number, be sure that the bubbles match with the numbers that you write. % \item The Test Code Number is already bubbled in your answer sheet. Make sure that it is the same as that printed on your question paper. % \item When bubbling, make sure that the bubbled space is fully covered. % \item When erasing a bubble, make sure that you do not leave any trace of penciling. % \end{normalsize} %\end{enumerate} %} %\newpage %} %{#preamble} \usepackage{amsfonts} %{/preamble} \begin{document} \begin{enumerate} \item %{#q} This is the body of question 1 %{/q} \item %{#q} This is the body of question 2 %{/q} \begin{enumerate} \item %{#o} question 2, Item 1 %{/o} \item %{#o} question 2, Item 2 %{/o} \item %{#o} question 2, Item 3 %{/o} \item %{#o} question 2, Item 4 %{/o} \item %{#o} question 2, Item 5 %{/o} \end{enumerate} \item %{#q} This is the body of question 3 %{/q} \begin{enumerate} \item %{#o} question 3, Item 1 %{/o} \item %{#o} question 3, Item 2 %{/o} \item %{#o} question 3, Item 3 %{/o} \item %{#o} question 3, Item 4 %{/o} \item %{#o} question 3, Item 5 %{/o} \end{enumerate} \item %{#q} This is the body of question 4 %{/q} \begin{enumerate} \item %{#o} question 4, Item 1 %{/o} \item %{#o} question 4, Item 2 %{/o} \item %{#o} question 4, Item 3 %{/o} \item %{#o} question 4, Item 4 %{/o} \item %{#o} question 4, Item 5 %{/o} \end{enumerate} \item %{#q} This is the body of question 4 %{/q} \begin{enumerate} \item %{#o} question 4, Item 1 %{/o} \item %{#o} question 4, Item 2 %{/o} \item %{#o} question 4, Item 3 %{/o} \item %{#o} question 4, Item 4 %{/o} \item %{#o} question 4, Item 5 %{/o} \end{enumerate} \item %{#q} This is the body of question 4 %{/q} \begin{enumerate} \item %{#o} question 4, Item 1 %{/o} \item %{#o} question 4, Item 2 %{/o} \item %{#o} question 4, Item 3 %{/o} \item %{#o} question 4, Item 4 %{/o} \item %{#o} question 4, Item 5 %{/o} \end{enumerate} \item %{#q} This is the body of question 4 %{/q} \begin{enumerate} \item %{#o} question 4, Item 1 %{/o} \item %{#o} question 4, Item 2 %{/o} \item %{#o} question 4, Item 3 %{/o} \item %{#o} question 4, Item 4 %{/o} \item %{#o} question 4, Item 5 %{/o} \end{enumerate} \item %{#q} This is the body of question 4 %{/q} \begin{enumerate} \item %{#o} question 4, Item 1 %{/o} \item %{#o} question 4, Item 2 %{/o} \item %{#o} question 4, Item 3 %{/o} \item %{#o} question 4, Item 4 %{/o} \item %{#o} question 4, Item 5 %{/o} \end{enumerate} \item %{#q} This is the body of question 4 %{/q} \begin{enumerate} \item %{#o} question 4, Item 1 %{/o} \item %{#o} question 4, Item 2 %{/o} \item %{#o} question 4, Item 3 %{/o} \item %{#o} question 4, Item 4 %{/o} \item %{#o} question 4, Item 5 %{/o} \end{enumerate} \item %{#q} This is the body of question 4 %{/q} \begin{enumerate} \item %{#o} question 4, Item 1 %{/o} \item %{#o} question 4, Item 2 %{/o} \item %{#o} question 4, Item 3 %{/o} \item %{#o} question 4, Item 4 %{/o} \item %{#o} question 4, Item 5 %{/o} \end{enumerate} \item %{#q} This is the body of question 4 %{/q} \begin{enumerate} \item %{#o} question 4, Item 1 %{/o} \item %{#o} question 4, Item 2 %{/o} \item %{#o} question 4, Item 3 %{/o} \item %{#o} question 4, Item 4 %{/o} \item %{#o} question 4, Item 5 %{/o} \end{enumerate} \item %{#q} This is the body of question 4 %{/q} \begin{enumerate} \item %{#o} question 4, Item 1 %{/o} \item %{#o} question 4, Item 2 %{/o} \item %{#o} question 4, Item 3 %{/o} \item %{#o} question 4, Item 4 %{/o} \item %{#o} question 4, Item 5 %{/o} \end{enumerate} \item %{#q} This is the body of question 4 %{/q} \begin{enumerate} \item %{#o} question 4, Item 1 %{/o} \item %{#o} question 4, Item 2 %{/o} \item %{#o} question 4, Item 3 %{/o} \item %{#o} question 4, Item 4 %{/o} \item %{#o} question 4, Item 5 %{/o} \end{enumerate} \item %{#q} This is the body of question 4 %{/q} \begin{enumerate} \item %{#o} question 4, Item 1 %{/o} \item %{#o} question 4, Item 2 %{/o} \item %{#o} question 4, Item 3 %{/o} \item %{#o} question 4, Item 4 %{/o} \item %{#o} question 4, Item 5 %{/o} \end{enumerate} \item %{#q} This is the body of question 4 %{/q} \begin{enumerate} \item %{#o} question 4, Item 1 %{/o} \item %{#o} question 4, Item 2 %{/o} \item %{#o} question 4, Item 3 %{/o} \item %{#o} question 4, Item 4 %{/o} \item %{#o} question 4, Item 5 %{/o} \end{enumerate} \item %{#q} This is the body of question 4 %{/q} \begin{enumerate} \item %{#o} question 4, Item 1 %{/o} \item %{#o} question 4, Item 2 %{/o} \item %{#o} question 4, Item 3 %{/o} \item %{#o} question 4, Item 4 %{/o} \item %{#o} question 4, Item 5 %{/o} \end{enumerate} \item %{#q} This is the body of question 4 %{/q} \begin{enumerate} \item %{#o} question 4, Item 1 %{/o} \item %{#o} question 4, Item 2 %{/o} \item %{#o} question 4, Item 3 %{/o} \item %{#o} question 4, Item 4 %{/o} \item %{#o} question 4, Item 5 %{/o} \end{enumerate} \item %{#q} This is the body of question 4 %{/q} \begin{enumerate} \item %{#o} question 4, Item 1 %{/o} \item %{#o} question 4, Item 2 %{/o} \item %{#o} question 4, Item 3 %{/o} \item %{#o} question 4, Item 4 %{/o} \item %{#o} question 4, Item 5 %{/o} \end{enumerate} \item %{#q} This is the body of question 4 %{/q} \begin{enumerate} \item %{#o} question 4, Item 1 %{/o} \item %{#o} question 4, Item 2 %{/o} \item %{#o} question 4, Item 3 %{/o} \item %{#o} question 4, Item 4 %{/o} \item %{#o} question 4, Item 5 %{/o} \end{enumerate} \item %{#q} This is the body of question 4 %{/q} \begin{enumerate} \item %{#o} question 4, Item 1 %{/o} \item %{#o} question 4, Item 2 %{/o} \item %{#o} question 4, Item 3 %{/o} \item %{#o} question 4, Item 4 %{/o} \item %{#o} question 4, Item 5 %{/o} \end{enumerate} \end{enumerate} % end of questions items \end{document}