CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/ifoddpage

README.txt
LaTeX package 'ifoddpage'
~~~~~~~~~~~~~~~~~~~~~~~~~
Copyright (c) 2011-2022 by Martin Scharrer <martin.scharrer@web.de>  
License: LaTeX Project Public License, v1.3 or later: http://www.latex-project.org/lppl.txt  
Repository: https://github.com/MartinScharrer/ifoddpage  
Issues: https://github.com/MartinScharrer/ifoddpage/issues  

This LaTeX package provides a \ifoddpage conditional to determine if the current page is odd or even.
The macro \checkoddpage must be used direct before to check the page number using a label.
Two compiler runs are therefore required to achieve correct results.
In addition the conditional \ifoddpageoronside is provided which is also true in oneside mode where 
all pages use the odd page layout.

This package got inspired from the 'changepage' package which provides (and uses) the same macros (\checkoddpage and
\ifoddpage) for its main function of changing the page design mid-way in the document.  Both packages can be used
together, but the 'ifoddpage' should be loaded last in this case, otherwise the \ifoddpageoroneside conditional will
stop working.

Download the contents of this package in one zip archive (144.7k).

ifoddpage – Determine if the current page is odd or even

The package provides an \ifoddpage conditional to determine if the current page is odd or even. The macro \checkoddpage must be used direct before to check the page number using a label. Two compiler runs are therefore required to achieve correct results. In addition, the conditional \ifoddpageoronside is provided which is also true in oneside mode where all pages use the odd page layout.

Packageifoddpage
Home pagehttps://github.com/MartinScharrer/ifoddpage
Bug trackerhttps://github.com/MartinScharrer/ifoddpage/issues
Repositoryhttps://github.com/MartinScharrer/ifoddpage.git
Version1.2 2022-10-18
LicensesThe Project Public License 1.3
Copyright2011–2022 Martin Scharrer
MaintainerMartin Scharrer
Contained inTeX Live as ifoddpage
MiKTeX as ifoddpage
TopicsTypesetting
Macro support
...
Guest Book Sitemap Contact Contact Author