| 1 |
%% |
| 2 |
%% This is file `test-euxlm.ltx', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% euenc.dtx (with options: `lmtest') |
| 8 |
%% |
| 9 |
%% _____________________________________ |
| 10 |
%% The EUENC bundle |
| 11 |
%% Will Robertson, Elie Roux, Khaled Hosny |
| 12 |
%% |
| 13 |
%% License information appended. |
| 14 |
%% |
| 15 |
\documentclass[12pt]{article} |
| 16 |
\usepackage[margin=2.5cm]{geometry} |
| 17 |
\newenvironment{vrb} |
| 18 |
{\begin{tabular}{@{}p{7cm}l@{}}} |
| 19 |
{\end{tabular}} |
| 20 |
|
| 21 |
\usepackage{fancyvrb} |
| 22 |
\DefineShortVerb{\|} |
| 23 |
|
| 24 |
\usepackage{slantsc} |
| 25 |
\usepackage{ifluatex} |
| 26 |
\usepackage{ifxetex} |
| 27 |
\ifxetex |
| 28 |
\def\EU{EU1} |
| 29 |
\else |
| 30 |
\ifluatex |
| 31 |
\usepackage{luaotfload} |
| 32 |
\def\EU{EU2} |
| 33 |
\else |
| 34 |
\def\EU{T1} |
| 35 |
\fi |
| 36 |
\fi |
| 37 |
\usepackage[\EU]{fontenc} |
| 38 |
\usepackage{lmodern} |
| 39 |
\begin{document} |
| 40 |
|
| 41 |
\title{Testing the Latin Modern \texttt{\EU} encoding} |
| 42 |
\author{Will Robertson} |
| 43 |
\maketitle |
| 44 |
\thispagestyle{empty} |
| 45 |
\pagestyle{empty} |
| 46 |
|
| 47 |
\section*{Roman} |
| 48 |
|
| 49 |
\fontfamily{lmr}\selectfont |
| 50 |
\begin{vrb} |
| 51 |
|\rmdefault| & {\selectfont Latin Modern Roman} \\ |
| 52 |
| \itshape| & {\itshape Latin Modern Roman Italic} \\ |
| 53 |
| \slshape| & {\slshape Latin Modern Roman Oblique} \\ |
| 54 |
| \scshape| & {\scshape Latin Modern Roman Small Caps} \\ |
| 55 |
| \slshape| & {\scshape\slshape Latin Modern Roman Oblique Small Caps} \\ |
| 56 |
| \bfseries| & {\bfseries Latin Modern Roman Bold Extended} \\ |
| 57 |
| \itshape| & {\bfseries\itshape Latin Modern Roman Bold Italic Extended} \\ |
| 58 |
| \slshape| & {\bfseries\slshape Latin Modern Roman Bold Oblique Extended} \\ |
| 59 |
| \fontseries{b}| & {\fontseries{b}\selectfont Latin Modern Roman Bold} \\ |
| 60 |
| \fontseries{b}\slshape| & {\fontseries{b}\slshape Latin Modern Roman Bold Oblique} \\ |
| 61 |
\end{vrb} |
| 62 |
|
| 63 |
\section*{Dunhill} |
| 64 |
|
| 65 |
\fontfamily{lmdh}\selectfont |
| 66 |
\begin{vrb} |
| 67 |
|\fontfamily{lmdh}\selectfont| & {Latin Modern Dunhill} \\ |
| 68 |
| \slshape| & {\slshape Latin Modern Dunhill Oblique} \\ |
| 69 |
\end{vrb} |
| 70 |
|
| 71 |
\section*{Sans} |
| 72 |
|
| 73 |
\fontfamily{lmss}\selectfont |
| 74 |
\begin{vrb} |
| 75 |
|\sffamily| & {\selectfont Latin Modern Sans} \\ |
| 76 |
| \slshape| & {\slshape Latin Modern Sans Oblique} \\ |
| 77 |
| \bfseries| & {\bfseries Latin Modern Sans Bold} \\ |
| 78 |
| \slshape| & {\bfseries\slshape Latin Modern Sans Bold Oblique} \\ |
| 79 |
| \fontseries{sbc}\selectfont| & {\fontseries{sbc}\selectfont Latin Modern Sans Demi Condensed} \\ |
| 80 |
| \slshape| & {\fontseries{sbc}\selectfont\slshape Latin Modern Sans Demi Condensed Oblique} \\ |
| 81 |
\end{vrb} |
| 82 |
|
| 83 |
\section*{Sans Quotation} |
| 84 |
|
| 85 |
\fontfamily{lmssq}\selectfont |
| 86 |
\begin{vrb} |
| 87 |
|\renewcommand\sfdefault{lmssq}| \\ |
| 88 |
|\sffamily | & {\selectfont Latin Modern Sans Extended} \\ |
| 89 |
| \slshape | & {\slshape Latin Modern Sans Extended Oblique} \\ |
| 90 |
| \bfseries | & {\bfseries Latin Modern Sans Bold Extended} \\ |
| 91 |
| \slshape | & {\bfseries\slshape Latin Modern Sans Bold Extended Oblique} \\ |
| 92 |
\end{vrb} |
| 93 |
|
| 94 |
\section*{Typewriter} |
| 95 |
|
| 96 |
\fontfamily{lmtt}\selectfont |
| 97 |
\begin{vrb} |
| 98 |
|\ttfamily | & {\selectfont Latin Modern Typewriter} \\ |
| 99 |
| \itshape | & {\itshape Latin Modern Typewriter Italic} \\ |
| 100 |
| \slshape | & {\slshape Latin Modern Typewriter Oblique} \\ |
| 101 |
| \scshape | & {\scshape Latin Modern Typewriter Small Caps} \\ |
| 102 |
| \scshape\slshape | & {\scshape\slshape Latin Modern Typewriter Oblique Small Caps} \\ |
| 103 |
| \bfseries | & {\bfseries Latin Modern Typewriter Dark} \\ |
| 104 |
| \slshape | & {\bfseries\slshape Latin Modern Typewriter Dark Oblique} \\ |
| 105 |
| \fontseries{b}\selectfont | & {\fontfamily{lmtt}\fontseries{b}\selectfont Latin Modern Typewriter Dark} \\ |
| 106 |
| \fontseries{b}\slshape | & {\fontfamily{lmtt}\fontseries{b}\slshape Latin Modern Typewriter Dark Oblique} \\ |
| 107 |
| \fontseries{l}\selectfont | & {\fontfamily{lmtt}\fontseries{l}\selectfont Latin Modern Typewriter Light} \\ |
| 108 |
| \fontseries{l}\slshape | & {\fontfamily{lmtt}\fontseries{l}\slshape Latin Modern Typewriter Light Oblique} \\ |
| 109 |
| \fontseries{lc}\selectfont | & {\fontfamily{lmtt}\fontseries{lc}\selectfont Latin Modern Typewriter Light Condensed} \\ |
| 110 |
| \fontseries{lc}\slshape | & {\fontfamily{lmtt}\fontseries{lc}\slshape Latin Modern Typewriter Light Condensed Oblique} \\ |
| 111 |
\end{vrb} |
| 112 |
|
| 113 |
\section*{Variable-width Typewriter} |
| 114 |
|
| 115 |
\fontfamily{lmvtt}\selectfont |
| 116 |
\def\fixedspacing{\fontdimen3\font0pt\fontdimen4\font0pt} |
| 117 |
\begin{vrb} |
| 118 |
|\renewcommand\ttdefault{lmvtt}| \\ |
| 119 |
|\ttfamily | & {\selectfont \fixedspacing Latin Modern Typewriter Proportional} \\ |
| 120 |
| \slshape | & {\slshape \fixedspacing Latin Modern Typewriter Proportional Oblique} \\ |
| 121 |
| \fontseries{l}\selectfont | & {\fontseries{l}\selectfont \fixedspacing Latin Modern Typewriter Proportional Light} \\ |
| 122 |
| \fontseries{l}\slshape | & \mbox{\fontseries{l}\slshape \fixedspacing Latin Modern Typewriter Proportional Light Oblique} \\ |
| 123 |
| \fontseries{b}\selectfont | & {\fontseries{b}\selectfont \fixedspacing Latin Modern Typewriter Proportional Dark} \\ |
| 124 |
| \fontseries{b}\slshape | & \mbox{\fontseries{b}\slshape \fixedspacing Latin Modern Typewriter Proportional Dark Oblique} \\ |
| 125 |
\end{vrb} |
| 126 |
|
| 127 |
\end{document} |
| 128 |
%% |
| 129 |
%% Copyright 2006-2010 Will Robertson <[email protected]> |
| 130 |
%% Copyright 2009-2010 Elie Roux <[email protected]> |
| 131 |
%% Copyright 2009-2010 Khaled Hosny <[email protected]> |
| 132 |
%% |
| 133 |
%% Distributable under the LaTeX Project Public License, |
| 134 |
%% version 1.3c or higher (your choice). The latest version of |
| 135 |
%% this license is at: http://www.latex-project.org/lppl.txt |
| 136 |
%% |
| 137 |
%% This work is "maintained" (as per LPPL maintenance status) |
| 138 |
%% by Will Robertson. |
| 139 |
%% |
| 140 |
%% This work consists of the file euenc.dtx and various derived files. |
| 141 |
%% |
| 142 |
%% |
| 143 |
%% End of file `test-euxlm.ltx'. |