Go to the first, previous, next, last section, table of contents.


Moonphase %?[date] special texts

Gcal uses a very simple algorithm for detecting the moonphase, which computes approximate values only. The moonphase is always calculated at 0 o'clock universal time. The following moonphase %?[date] special texts are respected:

%-[date]
Is replaced by the moonphase text of the current day of year, e.g.:

The text `Moonphase %- , %n' will be expanded to
==> `Moonphase 94%+, 22-Dec-1996', in case the actual system date is the 22nd December 1996.

The constructed moonphase text consists of a percent value, which informs about the illuminated fraction of the Moon's disc, and a trailing sign that tells something about the state of the Moon. A trailing `+' sign indicates a waxing Moon, a `-' sign a waning moon, a `@' sign indicates the Full Moon phase, and a `!' sign the New Moon phase.
%_[date]
Is replaced by the 3-digit moonphase text with leading zeroes of the current day of year, e.g.:

The text `Moonphase %_0@t+1 , %n+1' will be expanded to
==> `Moonphase 098%+, 23-Dec-1996', in case the actual system date is the 22nd December 1996.

The constructed moonphase text consists of a percent value, which informs about the illuminated fraction of the Moon's disc, and a trailing sign that tells something about the state of the Moon. A trailing `+' sign indicates a waxing Moon, a `-' sign a waning moon, a `@' sign indicates the Full Moon phase, and a `!' sign the New Moon phase.
%:[date]
Is replaced by the moonphase text graphics of the current day of year, e.g.:

The text `Date %n %: -- Moonphase %_ ~Text' will be expanded to
==> `Date 08-Mar-1995 '
==> ` ( @@@@@@'
==> ` ( @@@@@@@@@'
==> ` ( @@@@@@@@@@@'
==> ` ( @@@@@@@@@@@@'
==> ` ( @@@@@@@@@@@@@'
==> `( @@@@@@@@@@@@@'
==> `( @@@@@@@@@@@@@'
==> ` ( @@@@@@@@@@@@@'
==> ` ( @@@@@@@@@@@@'
==> ` ( @@@@@@@@@@@'
==> ` ( @@@@@@@@@'
==> ` ( @@@@@@@ -- Moonphase 041%+'
==> `Text', in case the actual system date is the 8th March 1995.

See section Fixed date options, for how to change the size of a moonphase text graphics.


Go to the first, previous, next, last section, table of contents.