From 0835f73e7c7f6a0fd55c5205df5c3593162dfee6 Mon Sep 17 00:00:00 2001 From: Jonathan Kew Date: Sun, 24 Dec 2006 16:19:15 +0000 Subject: euenc, source for fontspec etc git-svn-id: svn://tug.org/texlive/trunk@2883 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/xelatex/euenc/README | 26 +++++ Master/texmf-dist/doc/xelatex/euenc/euenc.pdf | Bin 0 -> 125316 bytes Master/texmf-dist/doc/xelatex/euenc/test-eu1lm.ltx | 121 +++++++++++++++++++++ 3 files changed, 147 insertions(+) create mode 100644 Master/texmf-dist/doc/xelatex/euenc/README create mode 100644 Master/texmf-dist/doc/xelatex/euenc/euenc.pdf create mode 100644 Master/texmf-dist/doc/xelatex/euenc/test-eu1lm.ltx (limited to 'Master/texmf-dist/doc/xelatex/euenc') diff --git a/Master/texmf-dist/doc/xelatex/euenc/README b/Master/texmf-dist/doc/xelatex/euenc/README new file mode 100644 index 00000000000..b80c90a84b9 --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/euenc/README @@ -0,0 +1,26 @@ +_______________________ +THE EU ENCODING(S) v0.1 + +This package is the first release of the first step towards offering a +LaTeX font encoding based on unicode. XeTeX is the only engine currently +utilising it to the best of my knowledge. No macro support is offered (the +encoding is just a placeholder for now) but an EU1 Latin Modern encoding is +offered in order to access the OpenType versions of those fonts. + +N.B. This will only work when xdvipdfmx is used as the output driver for +XeTeX; xdv2pdf (Mac OS X only) does not support OpenType fonts that aren't +installed in the system itself. + +Example of use: +\documentclass{article} +\usepackage[EU1]{fontenc} +\usepackage{lmodern} +\begin{document} +... +\end{document} + +See the accompanying file for a complete example. + +______________ +Will Robertson +2006 \ No newline at end of file diff --git a/Master/texmf-dist/doc/xelatex/euenc/euenc.pdf b/Master/texmf-dist/doc/xelatex/euenc/euenc.pdf new file mode 100644 index 00000000000..3d2a864747c Binary files /dev/null and b/Master/texmf-dist/doc/xelatex/euenc/euenc.pdf differ diff --git a/Master/texmf-dist/doc/xelatex/euenc/test-eu1lm.ltx b/Master/texmf-dist/doc/xelatex/euenc/test-eu1lm.ltx new file mode 100644 index 00000000000..702437c17fb --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/euenc/test-eu1lm.ltx @@ -0,0 +1,121 @@ +%% +%% This is file `test-eu1lm.ltx', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% euenc.dtx (with options: `lmtest') +%% +%% ________________________________ +%% Copyright © 2006 Will Robertson +%% +%% License information appended. +%% +%% +\documentclass[12pt]{article} +\usepackage[margin=2.5cm]{geometry} +\newenvironment{vrb} + {\begin{tabular}{@{}p{7cm}l@{}}} + {\end{tabular}} + +\usepackage{fancyvrb} +\DefineShortVerb{\|} + +\usepackage{slantsc} +\usepackage[EU1]{fontenc} +\usepackage{lmodern} +\begin{document} + +\title{Testing the Latin Modern \texttt{EU1} encoding} +\author{Will Robertson} +\maketitle +\thispagestyle{empty} +\pagestyle{empty} + +\section*{Roman} + +\fontfamily{lmr}\selectfont +\begin{vrb} +|\rmdefault| & {\selectfont Latin Modern Roman} \\ +| \itshape| & {\itshape Latin Modern Roman Italic} \\ +| \slshape| & {\slshape Latin Modern Roman Oblique} \\ +| \scshape| & {\scshape Latin Modern Roman Small Caps} \\ +| \slshape| & {\scshape\slshape Latin Modern Roman Oblique Small Caps} \\ +| \bfseries| & {\bfseries Latin Modern Roman Bold Extended} \\ +| \itshape| & {\bfseries\itshape Latin Modern Roman Bold Italic Extended} \\ +| \slshape| & {\bfseries\slshape Latin Modern Roman Bold Oblique Extended} \\ +| \fontseries{b}| & {\fontseries{b}\selectfont Latin Modern Roman Bold} \\ +| \fontseries{b}\slshape| & {\fontseries{b}\slshape Latin Modern Roman Bold Oblique} \\ +\end{vrb} + +\section*{Sans} + +\fontfamily{lmss}\selectfont +\begin{vrb} +|\sffamily| & {\selectfont Latin Modern Sans} \\ +| \slshape| & {\slshape Latin Modern Sans Oblique} \\ +| \bfseries| & {\bfseries Latin Modern Sans Bold} \\ +| \slshape| & {\bfseries\slshape Latin Modern Sans Bold Oblique} \\ +| \fontseries{sbc}\selectfont| & {\fontseries{sbc}\selectfont Latin Modern Sans Demi Condensed} \\ +| \slshape| & {\fontseries{sbc}\selectfont\slshape Latin Modern Sans Demi Condensed Oblique} \\ +\end{vrb} + +\section*{Sans Quotation} + +\fontfamily{lmssq}\selectfont +\begin{vrb} +|\renewcommand\sfdefault{lmssq}| \\ +|\sffamily | & {\selectfont Latin Modern Sans Extended} \\ +| \slshape | & {\slshape Latin Modern Sans Extended} \\ +| \bfseries | & {\bfseries Latin Modern Sans Extended} \\ +| \slshape | & {\bfseries\slshape Latin Modern Sans Extended} \\ +\end{vrb} + +\section*{Typewriter} + +\fontfamily{lmtt}\selectfont +\begin{vrb} +|\ttfamily | & {\selectfont Latin Modern Typewriter} \\ +| \itshape | & {\itshape Latin Modern Typewriter Italic} \\ +| \slshape | & {\slshape Latin Modern Typewriter Oblique} \\ +| \scshape | & {\scshape Latin Modern Typewriter Small Caps} \\ +| \scshape\slshape | & {\scshape\slshape Latin Modern Typewriter Oblique Small Caps} \\ +| \bfseries | & {\bfseries Latin Modern Typewriter Dark} \\ +| \slshape | & {\bfseries\slshape Latin Modern Typewriter Dark Oblique} \\ +| \fontseries{dk}\selectfont | & {\fontfamily{lmtt}\fontseries{dk}\selectfont Latin Modern Typewriter Dark} \\ +| \fontseries{dk}\slshape | & {\fontfamily{lmtt}\fontseries{dk}\slshape Latin Modern Typewriter Dark Oblique} \\ +| \fontseries{lt}\selectfont | & {\fontfamily{lmtt}\fontseries{lt}\selectfont Latin Modern Typewriter Light} \\ +| \fontseries{lt}\slshape | & {\fontfamily{lmtt}\fontseries{lt}\slshape Latin Modern Typewriter Light Oblique} \\ +| \fontseries{lc}\selectfont | & {\fontfamily{lmtt}\fontseries{lc}\selectfont Latin Modern Typewriter Light Condensed} \\ +| \fontseries{lc}\slshape | & {\fontfamily{lmtt}\fontseries{lc}\slshape Latin Modern Typewriter Light Condensed Oblique} \\ +\end{vrb} + +\section*{Variable-width Typewriter} + +\fontfamily{lmvtt}\selectfont +\def\fixedspacing{\fontdimen3\font0pt\fontdimen4\font0pt} +\begin{vrb} +|\renewcommand\ttdefault{lmvtt}| \\ +|\ttfamily | & {\selectfont \fixedspacing Latin Modern Typewriter Proportional} \\ +| \slshape | & {\slshape \fixedspacing Latin Modern Typewriter Proportional Oblique} \\ +| \fontseries{lt}\selectfont | & {\fontseries{lt}\selectfont \fixedspacing Latin Modern Typewriter Proportional Light} \\ +| \fontseries{lt}\slshape | & \mbox{\fontseries{lt}\slshape \fixedspacing Latin Modern Typewriter Proportional Light Oblique} \\ +| \fontseries{dk}\selectfont | & {\fontseries{dk}\selectfont \fixedspacing Latin Modern Typewriter Proportional Dark} \\ +| \fontseries{dk}\slshape | & \mbox{\fontseries{dk}\slshape \fixedspacing Latin Modern Typewriter Proportional Dark Oblique} \\ +\end{vrb} + +\end{document} +%% +%% Copyright © 2006 by Will Robertson +%% +%% Distributable under the LaTeX Project Public License, +%% version 1.3c or higher (your choice). The latest version of +%% this license is at: http://www.latex-project.org/lppl.txt +%% +%% This work is "maintained" (as per LPPL maintenance status) +%% by Will Robertson. +%% +%% This work consists of the file euenc.dtx and various derived files. +%% +%% +%% End of file `test-eu1lm.ltx'. -- cgit v1.2.3