3 ms·
As mentioned in the comments there are some language/font settings that are essential: \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackag
by edwintorok 12y ago
As mentioned in the comments there are some language/font settings that are essential:
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
Then alongside microtype the package upquote is useful too
(for correct quotes inside verbatim):
\usepackage{upquote}
If you want to include source code then listings is nice:
\usepackage{listings}
Also when creating PDF I always check with pdffonts that all the fonts really are Type1. It can happen that you don't have a package installed (such as cm-super), and if you use the default fonts you may end up with a bitmap font embedded.
- dfc 12y agoFor anyone new coming to latex instead of messing with unicode bandaids and worrying about fonts they can just use xelatex/lualatex and fontspec.
- contingencies 12y agoYes. I use LyX and XeTeX for a book I am writing that features at least five or ten different non-western script based languages (Chinese, Sanskrit, Tai, etc.) It's a pain to set up but works very well once you get going. Nothing else worked.