Use the Page Side Token to determine if the current page is a left page or right page.
➢Important: this token is calculated taking into account any page deletion which may occur as the result of zap tokens, conditional tokens, or macro tokens, but it does not take into account any page deletion which may occur as the result of template saras and/or global saras.
All the above are calculated, based on the actual page number of the output file assuming that the 1st page of the output file is a right page (ie. all even numbered pages are left pages and all odd numbered pages are right pages).
side |
token value |
left/even |
L |
right/odd |
R |
Whether your output file uses facing pages or not makes no difference to the result of this token.
Sample Use
The pSide token is usually used within a zap token or conditional token, for example to show elements of the page aligned differently if the page is a left or right page as shown below:
The above example can be used to have one 7 days on 6 pages template which covers both the case of the Saturday-Sunday double page falling on the left and the case of the Saturday-Sunday double page falling on the right, something that may occur if you always want your diary to start on a specific date and page side (January 1st on the right, for example), or if you insert an odd number of pages into a 7 days on 6 pages template.
See also: template pages tokens.
Topic 181615, last updated on 24-Jun-2021