3 ms·
While making sure to tell TeXstudio to use XeLaTeX or LuaTeX, and never the LaTeX/pdftex (unless you live in such a small world you never need a single non-asci
by TheRealPomax 10y ago
While making sure to tell TeXstudio to use XeLaTeX or LuaTeX, and never the LaTeX/pdftex (unless you live in such a small world you never need a single non-ascii English character of course. Then stick with pure LaTeX)
- projectorlochsa 10y ago\usepackage[utf8]{inputenc} \usepackage[LANG_OF_CHOICE]{babel} solves that problem. there's plenty of font packages available for pdflatex. I use newtxmath and newtxtext and libertine math and text all the time.
- TheRealPomax 10y agoNo it doesn't: you just told me to "choose a language". It's 2017, why would I choose a language when I can just use all the languages with XeLaTeX, using: \usepackage{fontspec} \setmainfont{Noto Sans} and that solves that problem. I can write whatever I want, and stick in lang-specific context switches using \usepackage{ucharclasses} (for making sure macros are inserted for transitions to/from specific unicode blocks) only once I absolutely need them, and no earlier.
- projectorlochsa 10y agoYou haven't really explained why it doesn't. Choosing a language allows you to automatically translate a bunch of strings used by various packages. For examples Chapter, Section, TOC and everything that is autogenerated will be translated to a language. It has nothing to do with utf8. You can remove babel and Chinese, German, Swedish can work in the same file regardless. \usepackage{noto} What's hard about that?