| 1 |
LaTeX package 'ifoddpage' |
| 2 |
~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 3 |
Copyright (c) 2011-2022 by Martin Scharrer <[email protected]> |
| 4 |
License: LaTeX Project Public License, v1.3 or later: http://www.latex-project.org/lppl.txt |
| 5 |
Repository: https://github.com/MartinScharrer/ifoddpage |
| 6 |
Issues: https://github.com/MartinScharrer/ifoddpage/issues |
| 7 |
|
| 8 |
This LaTeX package provides a \ifoddpage conditional to determine if the current page is odd or even. |
| 9 |
The macro \checkoddpage must be used direct before to check the page number using a label. |
| 10 |
Two compiler runs are therefore required to achieve correct results. |
| 11 |
In addition the conditional \ifoddpageoronside is provided which is also true in oneside mode where |
| 12 |
all pages use the odd page layout. |
| 13 |
|
| 14 |
This package got inspired from the 'changepage' package which provides (and uses) the same macros (\checkoddpage and |
| 15 |
\ifoddpage) for its main function of changing the page design mid-way in the document. Both packages can be used |
| 16 |
together, but the 'ifoddpage' should be loaded last in this case, otherwise the \ifoddpageoroneside conditional will |
| 17 |
stop working. |
| 18 |
|