Use language scopes
Use language scopes so that the language settings of the document are not touched.
This commit is contained in:
parent
35dc7a6f2d
commit
cc886096f2
1 changed files with 1 additions and 2 deletions
|
@ -25,6 +25,5 @@
|
|||
\DTLsort{word}{dictionary}%
|
||||
\scriptsize%
|
||||
\DTLforeach*{dictionary}{\word=word,\translation=translation}{%
|
||||
\selectlanguage{\@dictionary@primary}\textbf{\word:} \selectlanguage{\@dictionary@secondary}\translation\\}%
|
||||
\selectlanguage{\@dictionary@primary}%
|
||||
\foreignlanguage{\@dictionary@primary}{\textbf{\word:} }\foreignlanguage{\@dictionary@secondary}{\translation}\\}%
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue