public class Polyglossia
extends java.lang.Object
| Constructor | Description |
|---|---|
Polyglossia() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String[] |
applyLanguage(java.lang.String sLang,
java.lang.String sCountry) |
Add the given locale to the list of applied locales and return definitions for applying the
language to a text portion:
|
java.lang.String[] |
getDeclarations() |
Get the declarations for the applied languages, in the form
|
public java.lang.String[] getDeclarations()
Get the declarations for the applied languages, in the form
\\usepackage{polyglossia}
\\setdefaultlanguage{language1}
\\setotherlanguage{language2}
\\setotherlanguage{language3}
...
public java.lang.String[] applyLanguage(java.lang.String sLang,
java.lang.String sCountry)
Add the given locale to the list of applied locales and return definitions for applying the language to a text portion:
\textlanguage[variant=languagevariant]\begin{language}[variant=languagevariant]...\end{language}The first applied language is the default language
sLang - The languagesCountry - The country (may be null)