Forums » Using AMC (english) »
make multipage table for the questions
Added by red sea over 12 years ago
we can put the question in multipage table for test or survey.
1- in the head, add the packege:
\usepackage{longtable}
2- in the document, we add the table:
\begin{longtable}{|p{10cm}|p{5cm}|}% the width of rows
longtable: multipage table
p{10cm} : the width of the first column= 10cm.
3- title of the table
\caption{title of the table in the first page}\\
\hline
\endfirsthead
\caption{title of the table in rest of the pages}\\
\hline
\endfirsthead
4- add the question and hieght of the row:
\begin{question}{24}
\begin{choicescustom}
\wrongchoice[a]{}%
\wrongchoice[b]{}%
\wrongchoice[c]{}%
\wrongchoice[d]{}%
\wrongchoice[e]{}%
\end{choicescustom}
\end{question}\\[2ex]
5- end the table:
\end{longtable}