\AMCbeginQuestion ignores pagebreak (Bug #305)


Added by David Dixon almost 11 years ago. Updated almost 11 years ago.


Status:Closed Start date:08/31/2014
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:-
Target version:-

Description

While I try to figure out how to use AMC with beamer, I'm attempting to duplicate its functionality using article by printing landscape and putting one question on each page. I thought I could do this with

\def\AMCbeginQuestion#1#2{\pagebreak{\Huge{Question #1}}\vspace*{10mm}}

but \AMCbeginQuestion ignores \pagebreak, \newpage{}, \AMCcleardoublepage, and \clearpage.

I also tried adjusting inter-question spacing, but \AMCinterIquest and \AMCinterBquest seem to be ignored, also.

Ubuntu 14.04, AMC 1.2.1 (svn:1403)


History

Updated by Alexis Bienvenüe almost 11 years ago

Do you use the box (or bloc) package option? This encloses questions inside parbox'es, so that \pagebreak can't be used there. If so, please try without this option.

Updated by David Dixon almost 11 years ago

Removing box from the package options fixes it for \newpage (and I suppose that box is unneccesary with \newpage) so thanks!

However, removing box also causes the (previously ignored) \AMCinterIquest to throw a "Use of \AMCinterIquest doesn't match its definition" exception.

Updated by David Dixon almost 11 years ago

Okay, I see my error - I was using \def\AMCinterIquest and shouldn't have. Sorry.

Updated by Alexis Bienvenüe almost 11 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

Also available in: Atom PDF