Difference between revisions of "Command/setuplanguage"
< Command
Jump to navigation
Jump to search
(Created page with "Documentation for \setuplanguage") |
|||
Line 7: | Line 7: | ||
<cd:keywords optional="yes" ordinal="1"> | <cd:keywords optional="yes" ordinal="1"> | ||
<cd:keywordsdoc></cd:keywordsdoc> | <cd:keywordsdoc></cd:keywordsdoc> | ||
− | <cd:constant type="cd:language"></cd:constant> | + | <cd:constant type="cd:language">an already defined language to be set up</cd:constant> |
<cd:constant type="default"></cd:constant> | <cd:constant type="default"></cd:constant> | ||
</cd:keywords> | </cd:keywords> | ||
Line 153: | Line 153: | ||
<cd:description><!-- the long description of the command goes here --> | <cd:description><!-- the long description of the command goes here --> | ||
</cd:description> | </cd:description> | ||
− | <cd:examples></cd:examples> | + | <cd:examples><cd:example title=""><texcode> |
+ | \installlanguage | ||
+ | [en] | ||
+ | [spacing=broad, | ||
+ | leftsentence=---, | ||
+ | rightsentence=---, | ||
+ | leftsubsentence=---, | ||
+ | rightsubsentence=---, | ||
+ | leftquote=\upperleftsinglesixquote, | ||
+ | rightquote=\upperrightsingleninequote, | ||
+ | leftquotation=\upperleftdoublesixquote, | ||
+ | rightquotation=\upperrightdoubleninequote, | ||
+ | date={month,\ ,day,{,\ },year}, | ||
+ | default=en, | ||
+ | state=stop] | ||
+ | </texcode> | ||
+ | </cd:example></cd:examples> | ||
<cd:notes></cd:notes> | <cd:notes></cd:notes> | ||
<cd:seealso> | <cd:seealso> |
Revision as of 08:12, 4 November 2020
Contents
\setuplanguage
Summary
The command \setuplanguage is adjusts a language's settings
Settings
\setuplanguage[...][...=...,...] | |
[...] | language default |
default | language |
state | start stop |
date | see \currentdate |
time | see \currenttime |
patterns | file |
lefthyphenmin | number |
righthyphenmin | number |
lefthyphenchar | number |
righthyphenchar | number |
setups | name |
spacing | broad packed |
font | auto name |
bidi | left right l2r r2l |
text | text |
limittext | text |
hyphen | text |
compoundhyphen | text |
leftcompoundhyphen | text |
rightcompoundhyphen | text |
leftquote | command |
rightquote | command |
leftquotation | command |
rightquotation | command |
leftspeech | command |
rightspeech | command |
leftsentence | command |
middlespeech | command |
rightsentence | command |
midsentence | command |
leftsubsentence | command |
rightsubsentence | command |
factor | yes no |
Option | Explanation |
---|---|
language | an already defined language to be set up |
Description
Examples
Example 1
\installlanguage [en] [spacing=broad, leftsentence=---, rightsentence=---, leftsubsentence=---, rightsubsentence=---, leftquote=\upperleftsinglesixquote, rightquote=\upperrightsingleninequote, leftquotation=\upperleftdoublesixquote, rightquotation=\upperrightdoubleninequote, date={month,\ ,day,{,\ },year}, default=en, state=stop]