Difference between revisions of "Command/month"
< Command
m (moved Reference/en/month to Command/month: Text replace - "Reference/en/" to "Command/") |
|||
(9 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
}} | }} | ||
+ | == [[Help:Reference|Syntax]] (autogenerated) == | ||
+ | <syntax>month</syntax> | ||
== [[Help:Reference|Syntax]] == | == [[Help:Reference|Syntax]] == | ||
<table cellspacing="4" cellpadding="2" class="cmd"> | <table cellspacing="4" cellpadding="2" class="cmd"> | ||
Line 21: | Line 23: | ||
== Example == | == Example == | ||
− | < | + | <context source=yes> |
+ | % In English, months have initial capitals even in lowercase text. | ||
+ | \month{1}--\month{6} | ||
+ | |||
+ | \language[ro] % merely changes the hyphenation language | ||
+ | \month{1}--\month{6} | ||
+ | |||
+ | \mainlanguage[ro] % changes the language the document is in | ||
+ | \month{1}--\month{6} | ||
+ | </context> | ||
+ | |||
== See also == | == See also == | ||
− | + | * {{cmd|MONTH}} for the month in all caps | |
+ | * {{cmd|weekday}} and {{cmd|WEEKDAY|}} to print days of the week | ||
+ | * {{cmd|mainlanguage}} to choose the language the month appears in | ||
+ | * This command uses the labels mechanism. See {{cmd|setuplabeltext}} and {{cmd|labeltext}} to set up and use your own labeled concepts. | ||
+ | |||
+ | == Help from ConTeXt-Mailinglist/Forum == | ||
+ | All issues with: | ||
+ | {{Forum|{{SUBPAGENAME}}}} | ||
− | [[Category: | + | [[Category:Command/DateTime|month]] |
Latest revision as of 14:50, 13 October 2019
\month
Syntax (autogenerated)
\month{...} | |
{...} | number |
Syntax
\month{...} | |
{...} | number |
Description
Produces the lowercase language label text for the month given by number, which should be between 1 and 12.
Example
% In English, months have initial capitals even in lowercase text. \month{1}--\month{6} \language[ro] % merely changes the hyphenation language \month{1}--\month{6} \mainlanguage[ro] % changes the language the document is in \month{1}--\month{6}
See also
- \MONTH for the month in all caps
- \weekday and \WEEKDAY to print days of the week
- \mainlanguage to choose the language the month appears in
- This command uses the labels mechanism. See \setuplabeltext and \labeltext to set up and use your own labeled concepts.
Help from ConTeXt-Mailinglist/Forum
All issues with: