Chinese Minicalendars Modifiers

Navigation:  Tokens > MiniCalendar Tokens > MiniCalendar Modifiers >

Chinese Minicalendars Modifiers

Previous pageReturn to chapter overviewNext page

Chinese minicalendar tokens modifiers allow you to display the following information in minicalendars :

 

Dates of the Chinese Calendar (lunar), horizontally or vertically.

Gregorian dates, using Chinese characters, horizontally or vertically.

In both of the above cases, it is possible to display the minor and major terms of the solar calendar.

 

To display dates of the Chinese lunar calendar horizontally in a minicalendar, simply add the :chl modifier to the end of the minicalendar token.

 

   

 

To display dates of the Chinese lunar calendar vertically in a minicalendar, simply add the :CHL modifier to the end of the minicalendar token, and replace each row of @ markers by a double row. The first character will be placed on the top row and the second on the bottom row.

 

   

 

To display Gregorian dates (western) using Chinese numbers, replace the "l" (for lunar) in the above markers by "g" (for Gregorian). Using the :chg and :CHG tokens respectively we get :

 

   

 

Finally, if you wish to display the symbol for the minor or major solar terms, simply add an "s" (for solar) to any of the 4 markers above. For example, the markers :chls and :chgs would yield the following :

 

   

 

You can also have the lunar month displayed, on the first of each lunar month.

 

:chlm will show the lunar month, without the Chinese character for month, on the first of any lunar month.

:chlmm will show the lunar month, with the Chinese character for month, on the first of any lunar month.

:chlsm will show the solar term, and the lunar month, without the Chinese character for month, on the first of any lunar month. If a solar term occurs on the first of the month then the solar term is displayed and not the month.

:chlsmm will show the solar term, and the lunar month, with the Chinese character for month, on the first of any lunar month. If a solar term occurs on the first of the month then the solar term is displayed and not the month.

 

Some important points to note :

 

The above examples all come from a single-language script. Q++ does not consider the displaying of Chinese dates to imply a second language; it's just another way of displaying dates. That is why the month name was displayed in English as were the weekday markers $$.

However, one could easily display the Gregorian month names in Chinese, by setting the second language to Chinese, and replacing the [MMMM] and $$ tokens by [b1MMMM] and $b.

All the structure options of minicalendars are available to you : horizontal and vertical date flow (not to be confused with vertical or horizontal chinese dates), align top or align bottom, highlight current week or current days or holidays, ...

 

See also : Combining Gregorian and non-Gregorian dates in the same Minicalendar and Chinese dates tokens.


Topic 171810 updated on 09-May-2013.
Topic URL: http://www.qppstudio.net/webhelp/index.html?chineseminicalendars.htm