What is the difference between \setdefaultlanguage vs \setmainlanguage? I have seen either one and also both used with polyglossia. I am confused as to which one I should use in my document.
Asked
Active
Viewed 2,979 times
7
thymaro
- 1,507
1 Answers
6
The manual states on page 4 that you can set the primary language using \setdefaultlanguage and that \setmainlanguage acts identically (is a synonym).
TeXnician
- 33,589
-
1I'd also remark that, in my opinion,
\setmainlanguageis semantically better. Alsobabelhasmain=<language>andfontspechas\setmainfont. – egreg Oct 07 '17 at 17:43
polyglossia-commands. It states: You can determine the default language by means of the command:\setdefaultlanguage[⟨options⟩]{lang}(or equivalently\setmainlanguage). – thymaro Oct 07 '17 at 09:20