From 3f78b824add5f8236277b3be45a141e7436ec5d5 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 1 Jun 2006 22:56:51 +0000 Subject: microtype 1.9d git-svn-id: svn://tug.org/texlive/trunk@1647 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/microtype/README | 14 ++++----- .../texmf-dist/doc/latex/microtype/microtype.pdf | Bin 842513 -> 942043 bytes .../doc/latex/microtype/test-microtype.tex | 32 ++++++++++----------- 3 files changed, 22 insertions(+), 24 deletions(-) (limited to 'Master/texmf-dist/doc') diff --git a/Master/texmf-dist/doc/latex/microtype/README b/Master/texmf-dist/doc/latex/microtype/README index 17931779e90..870a3031b7a 100644 --- a/Master/texmf-dist/doc/latex/microtype/README +++ b/Master/texmf-dist/doc/latex/microtype/README @@ -3,7 +3,7 @@ The `microtype' package An interface to the micro-typographic extensions of pdfTeX ================================= - v1.9 2005/10/28 + v1.9d 2006/05/05 * Overview @@ -53,15 +53,13 @@ of all distributions of LaTeX version 2003/12/01 or later. This work has the LPPL maintenance status `author-maintained'. -This work consists of the files microtype.dtx and microtype.ins and the +This work consists of the files microtype.dtx and microtype.ins and the derived file microtype.sty. -Modified versions of the configuration files (*.cfg) may be distributed +Modified versions of the configuration files (*.cfg) may be distributed provided that (1) the original copyright statement is not removed, and (2) the identification string is changed. - --------------------------------------------------- - Copyright (c) 2004, 2005 R Schlicht - --------------------------------------------------- - -$Id: README,v 1.10 2005-10-28 16:43:44+02 schlicht Exp schlicht $ + ---------------------------------------------------- + Copyright (c) 2004--2006 R Schlicht + ---------------------------------------------------- diff --git a/Master/texmf-dist/doc/latex/microtype/microtype.pdf b/Master/texmf-dist/doc/latex/microtype/microtype.pdf index 711fd4b85ac..639d9ee3658 100644 Binary files a/Master/texmf-dist/doc/latex/microtype/microtype.pdf and b/Master/texmf-dist/doc/latex/microtype/microtype.pdf differ diff --git a/Master/texmf-dist/doc/latex/microtype/test-microtype.tex b/Master/texmf-dist/doc/latex/microtype/test-microtype.tex index 959bf0bbadc..89ab6e2db4b 100644 --- a/Master/texmf-dist/doc/latex/microtype/test-microtype.tex +++ b/Master/texmf-dist/doc/latex/microtype/test-microtype.tex @@ -9,9 +9,9 @@ %% ----------------------------------------------------------------------- %% The `microtype' package %% An interface to the micro-typographic extensions of pdfTeX -%% Copyright (c) 2004, 2005 R Schlicht +%% Copyright (c) 2004--2006 R Schlicht %% -%% This work may be distributed and/or modified under the conditions of +%% This work may be distributed and/or modified under the conditions of %% the LaTeX Project Public License, either version 1.3 of this license or %% (at your option) any later version. The latest version of this license %% is in: http://www.latex-project.org/lppl.txt, and version 1.3 or later @@ -23,16 +23,16 @@ %% derived file microtype.sty. %% %% ----------------------------------------------------------------------- -%% This file might be useful to test protrusion settings for a font. -%% You can do whatever you want with it. -%% ----------------------------------------------------------------------- -%% +%% This file might be useful to test protrusion settings for a font. +%% You can do whatever you want with it. +%% ----------------------------------------------------------------------- +%% \documentclass{article} -%% Here you can set the font you want to test, using +%% Here you can specify the font you want to test, using %% the commands \fontfamily, \fontseries, and \fontshape. %% Make sure to end all lines with a comment character! -\newcommand*{\TestFont}{% +\newcommand*\TestFont{% \fontfamily{ppl}% %% \fontseries{b}% %% \fontshape{it}% sc, sl @@ -40,13 +40,13 @@ \usepackage{ifthen} \usepackage[T1]{fontenc} -%%\usepackage[latin1]{inputenc} +\usepackage[latin1]{inputenc} \usepackage[verbose,expansion=alltext,stretch=50]{microtype} \pagestyle{empty} \setlength{\parindent}{0pt} -\newcommand*{\crulefill}{\cleaders\hbox{$\mkern-2mu\smash-\mkern-2mu$}\hfill} -\newcommand*{\testprotrusion}[2][]{% +\newcommand*\crulefill{\cleaders\hbox{$\mkern-2mu\smash-\mkern-2mu$}\hfill} +\newcommand*\testprotrusion[2][]{% \ifthenelse{\equal{#1}{r}}{}{#2}% lorem ipsum dolor sit amet, \ifthenelse{\equal{#1}{r}}{\crulefill}{\leftarrowfill} #2 @@ -60,7 +60,7 @@ \selectfont Here is the beginning of a line, \dotfill and here is its end}\linebreak } -\newcommand*{\showTestFont}{\expandafter\stripprefix\meaning\TestFont} +\newcommand*\showTestFont{\expandafter\stripprefix\meaning\TestFont} \def\stripprefix#1>{} \newcount\charcount \begin{document} @@ -117,21 +117,21 @@ \testprotrusion{\guillemotleft} \testprotrusion{\guillemotright} -\bigskip +\newpage The following displays the current font stretched by 5\%, normal, and shrunk by 5\%: -\microtypesetup{expansion=true} - \bigskip \newlength{\MTln} -\newcommand*{\teststring} +\newcommand*\teststring {ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789} \settowidth{\MTln}{\teststring} +\microtypesetup{expansion=true} \parbox{1.05\MTln}{\teststring\linebreak\\ \teststring}\par\bigskip \parbox{0.95\MTln}{\teststring} + \end{document} \endinput %% -- cgit v1.2.3