Please enable JavaScript to view this site.

 

Navigation: Tokens > MiniCalendar Tokens > MiniCalendar Modifiers

Converting the @ $$ w# Minicalendar Markers using Macros

Scroll Prev Up Next More

Usually, the @ dates markers, $$ weekdays markers and w# week numbers markers of a minicalendar are converted and formatted using various point-and-click minicalendar options.

 

It is, however, possible to use macros to override the conversion and formatting of the dates, weekdays and week numbers of a minicalendar, using the following modifiers.

 

marker

modifier

 

@

:*XX

To use a macro to modify the processing of the @ markers of a minicalendar, simply add a minicalendar modifier of the form

 

:*XX

 

where XX represents any number from 1-30, in analogy with macro tokens.

 

Outside Days

 

By default, the use of this @ marker modifier will hide all outside days. If you wish to show outside days, then you should include a :ws weekstart minicalendar modifier, :ws, and in that case the macro you use is responsible for the showing/hiding and formatting of any outside days; the outside days minicalendar options are also ignored.

$$

:$*XX

To use a macro to modify the processing of the $$ weekday markers of a minicalendar, simply add a minicalendar modifier of the form

 

:$*XX

 

where XX represents any number from 1-30, in analogy with macro tokens.

w#

:w*XX

To use a macro to modify the processing of the w# week number markers of a minicalendar, simply add a minicalendar modifier of the form

 

:w*XX

 

where XX represents any number from 1-30, in analogy with macro tokens

 

Note that when you use any of these modifiers, all minicalendar formatting options are ignored for that particular marker (except for the outside days exception mentioned in the section on @ date markers, above), giving you total control over the way each minicalendar marker is displayed, but also requiring your macro to handle all details, such as making holidays into a second color, etc...

 

See also: other minicalendar modifiers.