Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use \clearpage for newpage option to respect floats #5

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

bschne
Copy link
Contributor

@bschne bschne commented May 6, 2019

The newpage class option currently works by adding a \newpage command before each named or numbered question.

This has the counterintuitive effect that sometimes floats (e.g. a figure) from a previous question get put on top of the next page where the following question starts, and pushing the question header down on said page.

IMHO the intention of the newpage class option is to have each question begin at the top of it's own, new page.

This pull request therefore changes this to use the \clearpage command instead of \newpage to handle this case and ensure that the header of a new question is always at the top of its own, new page.

bschne added 5 commits April 28, 2019 19:20
This change uses the "partCounter" when working with either \alphaparts or \arabicparts question parts. This allows for splitting the list of question parts with some additional question text in between (i.e. using more than one \alphaparts or \arabicparts environment within a question) while still getting a continued enumeration label within the same question.
Use partCounter in question parts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant