no way to compare when less than two revisions
Diferenças
Aqui você vê as diferenças entre duas revisões dessa página.
— | software:about_font_encoding [2016/10/20 16:07] (atual) – criada maziero | ||
---|---|---|---|
Linha 1: | Linha 1: | ||
+ | ===== About Font Encoding ===== | ||
+ | In order to improve the final PDF text quality, it is **recommended to use LaTeX T1 font encoding** (LaTeX uses T0 font encoding by default). The difference between T0 and T1 font encodings can be understood by observing the following PDF files: | ||
+ | |||
+ | * {{: | ||
+ | * {{: | ||
+ | |||
+ | Although they are visually identical, there are some differences. To see them, try to copy & paste the contents of each file to a text editor, and observe how accented characters are copied. | ||
+ | |||
+ | T1 font encoding preserves accented characters when converting the PDF to raw text; this behavior is important when the PDF file is indexed by search engines, or when copying its contents to other files. Also, LaTeX does not correctly hyphenate words with accented chars when using T0 encoding. | ||
+ | |||
+ | To generate PDFs using the T1 font encoding, these lines should be in the preamble of your '' | ||
+ | |||
+ | \usepackage{lmodern} | ||
+ | \usepackage[T1]{fontenc} | ||
+ | |||
+ | You can replace the '' |