Tag Info

Hot answers tagged


\usepackage[english,ngerman]{babel} Then ngerman is active at the begin of the document and you can switch to english. If you cannot change the package, then write before \documentclass: \PassOptionsToPackage{english}{babel} \documentclass{whatever} ...


To change the labels for your figures, tables etc. use the \mainlnguage command, this will also load the right hyphenation patterns for the requested language. You have to change also the for of your document, one font which has support for cyrillic is Linux Libertine which can be loaded with \setupbodyfont[libertine]. \useMPlibrary[dum] ...


run with xelatex or lualatex: \documentclass[12pt]{article} \usepackage{fontspec} \setmainfont{Arial Unicode MS} \begin{document} कुछ पाठ उम्मीद है, हिंदी में लिखा. \end{document}


It is been a while but I'd like to contribute to offer a solution for LyX. Type: \usepackage{cmap} \usepackage[T2A]{fontenc} in the preamble (Document-> Preferences). Then activate under languages (Document->Preferences->Language) for the encoding: "Different -> Unicode(utf8). Close and save.


Ok, thanks to @christian-hupfer, I found ~/.config/xm1/texmakerapp.ini. Somehow I had an entry Language=fa in there, switched back to en.

Only top voted, non community-wiki answers of a minimum length are eligible