3 ms·
\usepackage[utf8]{inputenc} \usepackage[LANG_OF_CHOICE]{babel} solves that problem. there's plenty of font packages available for pdflatex. I use newtxmath
by 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?