Number of Weeks Modifiers

Navigation:  Tokens > MiniCalendar Tokens > MiniCalendar Modifiers >

Number of Weeks Modifiers

Previous pageReturn to chapter overviewNext page

The Number of Weeks minicalendar modifiers are used to delete the textbox of a minicalendar, based on the number of (partial) weeks contained in the month of the minicalendar.

 

The number of weeks modifier is of the form

 

:ZapCode Operator NumberOfWeeks

 

ZapCode

z

deletes the textbox containing the minicalendar token (if the textbox is grouped, it will be removed from the group before being deleted)

Z

deletes the textbox containing the minicalendar token, as well as any object that is grouped to that textbox

ZL

(Quark 2016+) deletes all the objects that are located on the same layer and the same page as the textbox containing the minicalendar token (whether or not they are grouped)

ZP

(Quark 2016+) deletes the page (the entire page, not just the objects on it) containing the textbox containing the minicalendar token

Operator

=

equal

>

greater than

<

less than

~

different (not equal)

n

different (same as ~)

NumberOfWeeks

 

allowed values are 4, 5, or 6

 

An example of the use of number of weeks modifiers to specify variable leading, depending on the number of weeks, so that the last lines/columns of a minicalendar are always aligned, whether there are 4, 5 or 6 partial weeks in the displayed month.

 

To achieve this effect you would create 3 minicalendars, each having the leading appropriate to 4, 5 or 6 weeks, and add the corresponding modifier to each minicalendar, as shown below :

 

 

All 3 minicalendars would then be placed in the same position, but on separate layers, and during diary generation, for each spread, only one of the 3 minicalendars would remain.

 

Note that :

 

This modifier automatically takes into account the weekstart you have defined for the minicalendar.

This modifier also works for right-to-left minicalendars.

You can also add this modifier to weekly bands minicalendars.

 

Vertical minicalendars

 

The number of weeks modifier also works for vertical minicalendars, but, in addition, you must specify which minicalendar contains 4, 5 and 6 weeks by adding the appropriate 4-week override, 5-week override or 6-week override minicalendar modifier..

 

Exclusions

 

In all cases, if you use the number of weeks modifier, you should not also use either of the right-aligned or bottom-aligned flow of dates options, as these are exclusive of each other. Getting minicalendars with different number of weeks to occupy the "same space" should be done either with the alignment options, or with leading and the number of weeks modifier as shown above. But both methods should not be used at the same time.

 

See also: NumWeeksInMonth, Number of Days Modifiers and other minicalendar modifiers.


Topic 171860 updated on 23-Jan-2019.
Topic URL: https://www.qppstudio.net/webhelp_xv4/index.html?numberofweeksspecificminicalen.htm