Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close
LaTeX package 'ifoddpage'
~~~~~~~~~~~~~~~~~~~~~~~~
Copyright (c) 2011 by Martin Scharrer <martin@scharrer-online.de>
WWW: http://latex.scharrer-online.de/
CTAN: http://www.ctan.org/pkg/ifoddpage
Code repository: https://bitbucket.org/martin_scharrer/ifoddpage

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.

Recent activity

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.