public class Polyglossia
extends java.lang.Object
| Constructor and Description |
|---|
Polyglossia() |
| Modifier and Type | Method and 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:
A command of the forn
\textlanguage[variant=languagevariant]
An environment in the form
\begin{language}[variant=languagevariant]... |
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[] 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)