omega-pdf
Omega PDF: read and write PDF files in Omega
Brought by drakestapleton
omega-pdf / corpus / src / encodings.tex
| 1 | % omega-pdf test corpus: a document whose fonts carry an Encoding with Differences (glyph names). |
| 2 | % Built with pdflatex; object streams and a cross-reference stream are switched on below. |
| 3 | \pdfobjcompresslevel=2 |
| 4 | \pdfminorversion=5 |
| 5 | \documentclass{article} |
| 6 | \usepackage[T1]{fontenc} |
| 7 | \usepackage{times} |
| 8 | \usepackage[utf8]{inputenc} |
| 9 | \pagestyle{empty} |
| 10 | \begin{document} |
| 11 | \section*{Glyph names} |
| 12 | A short page of text set in a font whose encoding is given by glyph names. |
| 13 | Accents: caf\'e, na\"ive, fa\c{c}ade, \AA ngstr\"om, \O resund, Z\"urich, jalape\~no. |
| 14 | Dashes and quotes: 1990--1999, a pause---like this, ``double'' and `single'. |
| 15 | Some \textbf{bold words}, some \textit{italic words} and \texttt{typewriter text}. |
| 16 | |
| 17 | Numbers 0123456789 and signs: 50\% of 2 + 2 = 4, a \& b, \$5, \#3. |
| 18 | \newpage |
| 19 | \section*{Second page} |
| 20 | The second page exists so that split and merge have more than one page to move. |
| 21 | It holds one more paragraph of ordinary words, with no special characters at all. |
| 22 | \newpage |
| 23 | \pdfpageattr{/Rotate 90} |
| 24 | \section*{Third page} |
| 25 | This page is turned by ninety degrees through its Rotate entry. |
| 26 | \end{document} |