From 7e1e5a2f4a65fad2b4f6f8367897aeadb14b0cea Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 16 Jan 2007 11:45:23 +0000 Subject: microtype 2.0 git-svn-id: svn://tug.org/texlive/trunk@3526 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/microtype/letterspace.sty | 244 ++++++ .../texmf-dist/tex/latex/microtype/microtype.cfg | 155 +++- .../texmf-dist/tex/latex/microtype/microtype.sty | 919 +++++++++++++++++---- Master/texmf-dist/tex/latex/microtype/mt-bch.cfg | 8 +- Master/texmf-dist/tex/latex/microtype/mt-cmr.cfg | 8 +- Master/texmf-dist/tex/latex/microtype/mt-euf.cfg | 8 +- Master/texmf-dist/tex/latex/microtype/mt-eur.cfg | 8 +- .../texmf-dist/tex/latex/microtype/mt-euroitc.cfg | 8 +- Master/texmf-dist/tex/latex/microtype/mt-eus.cfg | 8 +- Master/texmf-dist/tex/latex/microtype/mt-msa.cfg | 8 +- Master/texmf-dist/tex/latex/microtype/mt-msb.cfg | 8 +- Master/texmf-dist/tex/latex/microtype/mt-mvs.cfg | 8 +- Master/texmf-dist/tex/latex/microtype/mt-pad.cfg | 8 +- Master/texmf-dist/tex/latex/microtype/mt-pmn.cfg | 8 +- Master/texmf-dist/tex/latex/microtype/mt-ppl.cfg | 8 +- Master/texmf-dist/tex/latex/microtype/mt-ptm.cfg | 8 +- Master/texmf-dist/tex/latex/microtype/mt-ugm.cfg | 8 +- Master/texmf-dist/tex/latex/microtype/mt-zpeu.cfg | 8 +- 18 files changed, 1225 insertions(+), 213 deletions(-) create mode 100644 Master/texmf-dist/tex/latex/microtype/letterspace.sty (limited to 'Master/texmf-dist/tex/latex/microtype') diff --git a/Master/texmf-dist/tex/latex/microtype/letterspace.sty b/Master/texmf-dist/tex/latex/microtype/letterspace.sty new file mode 100644 index 00000000000..4ce7fb30824 --- /dev/null +++ b/Master/texmf-dist/tex/latex/microtype/letterspace.sty @@ -0,0 +1,244 @@ +%% +%% This is file `letterspace.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% microtype.dtx (with options: `letterspace') +%% +%% ------------------------------------------------------------------------ +%% The `microtype' package +%% An interface to the micro-typographic extensions of pdfTeX +%% Copyright (c) 2004--2007 R Schlicht +%% +%% This work may be distributed and/or modified under the conditions of the +%% LaTeX Project Public License, either version 1.3c 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.3c or later is part +%% of all distributions of LaTeX version 2005/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 +%% derived files microtype.sty and letterspace.sty. +%% +%% ------------------------------------------------------------------------ +%% This is a stand-alone version that only provides the letterspacing +%% commands. Do not use this package together with the `microtype' package. +%% Please refer to section 7 of the `microtype' documentation. +%% ------------------------------------------------------------------------ +%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage + {letterspace} + [2007/01/14 v1.0 Robust letterspacing (RS)] +\newcommand*\lsstyle{} +\newcommand\textls[2][]{} +\def\textls#1#{\@firstofone} +\def\MT@warning{\PackageWarning{letterspace}} +\def\MT@warning@nl#1{\MT@warning{#1\@gobble}} +\def\MT@pdftex@no{0} +\ifx\normalpdftexversion\@undefined \else + \let\pdftexversion \normalpdftexversion + \let\pdftexrevision\normalpdftexrevision + \let\pdfoutput \normalpdfoutput +\fi +\ifx\pdftexversion\@undefined \else + \ifx\pdftexversion\relax \else + \def\MT@pdftex@no{6} + \ifnum\pdftexversion < 140 + \def\MT@pdftex@no{5} + \fi + \fi +\fi +\ifnum\MT@pdftex@no<6 + \AtEndOfPackage{\let\@unprocessedoptions\relax} + \let\CurrentOption\@empty + \MT@warning@nl{% + \ifcase\MT@pdftex@no + You don't seem to be using pdftex.\MessageBreak + \else + You are using a pdftex version older than 1.40.\MessageBreak + Sorry, but robust letterspacing doesn't work with\MessageBreak + this version. Please upgrade% + \fi + } +\endinput\fi +\let\MT@letterspace\m@ne +\def\MT@letterspace@default{100} +\def\MT@glet{\global\let} +\def\MT@edef@n#1{\expandafter\edef\csname #1\endcsname} +\def\MT@exp@one@n#1#2{\expandafter#1\expandafter{#2}} +\def\MT@exp@two@c#1{\expandafter\expandafter\expandafter#1\expandafter} + \def\MT@ifdefined@c@TF#1{\ifdefined#1% + \expandafter\@firstoftwo\else\expandafter\@secondoftwo\fi + } +\begingroup +\catcode`\%=12 +\catcode`\&=14 +\gdef\MT@ifempty#1{& + \if %#1%& + \expandafter\@firstoftwo + \else + \expandafter\@secondoftwo + \fi +} +\endgroup + \def\MT@ifint#1{% + \ifcase\pdfmatch{^-*[0-9]+ *$}{#1}\relax + \expandafter\@secondoftwo + \else + \expandafter\@firstoftwo + \fi + } +\def\MT@map@clist@n#1#2{% + \ifx\@empty#1\else + \def\MT@clist@function##1{#2}% + \MT@map@clist@#1,\@nil,\@nnil + \fi +} +\def\MT@map@clist@c#1{\MT@exp@one@n\MT@map@clist@n#1} +\def\MT@map@clist@#1,{% + \ifx\@nil#1% + \expandafter\MT@clist@break + \fi + \MT@clist@function{#1}% + \MT@map@clist@ +} +\let\MT@clist@function\@gobble +\def\MT@clist@break#1\@nnil{} +\let\MT@setup@\@empty +\def\MT@addto@setup{\g@addto@macro\MT@setup@} +\AtBeginDocument{\MT@setup@ \MT@glet\MT@setup@\@empty} +\def\MT@with@package#1{\@ifpackageloaded{#1}\@firstofone\@gobble} +\MT@addto@setup{% + \@ifpackageloaded{hyperref}{% + \pdfstringdefDisableCommands{% + \def\lsstyle{\pdfstringdefWarn\lsstyle}% + \def\textls#1#{\pdfstringdefWarn\textls}% + }% + }{% + }% + \MT@with@package{soul}{% + \soulregister\lsstyle 0% + \soulregister\textls 1% + }% +} +\DeclareRobustCommand\lsstyle{% + \let\MT@tracking\MT@tracking@ + \selectfont +} +\def\MT@tracking@{% + \MT@set@tr@codes +} +\let\MT@tracking\relax +\def\MT@set@tr@codes{% + \MT@ifdefined@c@TF\MT@letterspace@\relax{% + \let\MT@letterspace@\MT@letterspace + }% + \ifnum\MT@letterspace@=\z@\else + \xdef\MT@lsfont{% + \csname\curr@fontshape\f@size + /\number\MT@letterspace@ ls\endcsname}% + \expandafter\ifx\MT@lsfont\relax + \expandafter\MT@exp@two@c\expandafter\MT@is@letterspaced\expandafter + \meaning\expandafter\font@name\MT@lsstring+/\@nil + \global\expandafter\letterspacefont\MT@lsfont\font@name \MT@letterspace@ + \fontdimen2\MT@lsfont=\dimexpr\numexpr1000+\MT@letterspace@\relax + \fontdimen2\MT@lsfont/1000\relax + \fi + \MT@set@lsfont + \fi +} +\def\MT@set@lsfont{\MT@exp@two@c\let\font@name\MT@lsfont} +\begingroup + \@makeother{L}% + \@makeother{S}% + \lowercase{% + \def\x{% + \def\MT@lsstring{+LS}% + \def\MT@is@letterspaced##1 ##2 ##3+##4LS##5+##6/\@nil{% + \MT@ifempty{##4}{\MT@is@letterspaced@##3-LS-\@nil}{% + \global\expandafter\font\font@name ##3##5\relax + }% + }% + \def\MT@is@letterspaced@##1-##2LS##3-##4\@nil{% + \MT@ifempty{##2}\relax{% + \global\expandafter\font\font@name ##1##3\relax + }% + }% + }% + } +\expandafter\endgroup\x +\DeclareRobustCommand\textls{% + \@ifstar{\let\MT@ls@adjust@\MT@ls@adjust\MT@textls}% + {\let\MT@ls@adjust@\relax \MT@textls}% +} +\newcommand\MT@textls[2][]{% + {\MT@ifempty{#1}% + {\let\MT@letterspace@\@undefined}% + {\KV@@sp@def\MT@letterspace@{#1}}% + \MT@ls@adjust@ + \lsstyle #2% + \MT@ls@adjust@}% +} +\def\MT@ls@adjust{% + \@tempdima=\MT@ifdefined@c@TF\MT@letterspace@ + \MT@letterspace@ \MT@letterspace em + \divide\@tempdima 2000 + \kern-\@tempdima\relax +} +\MT@addto@setup{% + \def\MT@orig@pickupfont{\expandafter\ifx\font@name\relax\define@newfont\fi} + \ifx\pickup@font\MT@orig@pickupfont \else + \MT@warning@nl{% + Command \string\pickup@font\space is not defined as expected.% + } + \fi + \g@addto@macro\pickup@font{% + \MT@tracking + } +} +\def\MT@def@num@opt#1{% + \define@key{MT}{#1}[]{% + \MT@ifempty{##1}% + {\MT@let@cn\@tempa{MT@#1@default}}% + {\def\@tempa{##1 }}% + \MT@ifint\@tempa{% + \MT@edef@n{MT@#1}{\@tempa}% + }{\MT@warning@nl{% + Value `##1' for option `#1' is not a number.\MessageBreak + Using default value of \number\@nameuse{MT@#1@default}}% + }% + }% +} +\MT@def@num@opt{letterspace} +\def\MT@ProcessOptionsWithKV#1{% + \let\@tempc\relax + \let\MT@temp\@empty + \MT@map@clist@c\@classoptionslist{% + \def\CurrentOption{##1}% + \MT@ifdefined@n@T{KV@#1@\CurrentOption}{% + \edef\MT@temp{\MT@temp,\CurrentOption,}% + \@expandtwoargs\@removeelement\CurrentOption + \@unusedoptionlist\@unusedoptionlist + }% + }% + \edef\MT@temp{% + \noexpand\setkeys{#1}{% + \MT@temp\@ptionlist{\@currname.\@currext}% + }% + }% + \MT@temp + \AtEndOfPackage{\let\@unprocessedoptions\relax}% + \let\CurrentOption\@empty +} +\MT@ProcessOptionsWithKV{MT} +\MT@addto@setup{% + \ifnum\MT@letterspace=\m@ne + \let\MT@letterspace\MT@letterspace@default + \fi + } +\endinput +%% +%% End of file `letterspace.sty'. diff --git a/Master/texmf-dist/tex/latex/microtype/microtype.cfg b/Master/texmf-dist/tex/latex/microtype/microtype.cfg index 1ecd0090bef..d3dc6e480a9 100644 --- a/Master/texmf-dist/tex/latex/microtype/microtype.cfg +++ b/Master/texmf-dist/tex/latex/microtype/microtype.cfg @@ -9,7 +9,7 @@ %% ------------------------------------------------------------------------ %% The `microtype' package %% An interface to the micro-typographic extensions of pdfTeX -%% Copyright (c) 2004--2006 R Schlicht +%% Copyright (c) 2004--2007 R Schlicht %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3c of this license or (at @@ -20,12 +20,13 @@ %% This work has the LPPL maintenance status `author-maintained'. %% %% This work consists of the files microtype.dtx and microtype.ins and the -%% derived file microtype.sty. +%% derived files microtype.sty and letterspace.sty. %% %% ------------------------------------------------------------------------ %% This is the main configuration file for the `microtype' package. %% It contains settings for font expansion and character protrusion, -%% as well as character inheritance and font set declarations. +%% interword spacing and additional kerning, as well as character +%% inheritance and font set declarations. %% Please consult the documentation for details. %% %% You may customize these settings here, or in a different file. If @@ -36,7 +37,7 @@ %% ------------------------------------------------------------------------ %% \ProvidesFile - {microtype.cfg}[2006/04/20 v1.8 microtype main configuration file (RS)] + {microtype.cfg}[2007/01/14 v2.0 microtype main configuration file (RS)] %%% ----------------------------------------------------------------------- %%% FONT SETS @@ -64,6 +65,21 @@ size = {normalsize,footnotesize,small,large} } +\DeclareMicrotypeSet{smallcaps} + { encoding = {OT1,T1,LY1,OT4,QX,T5,TS1}, + shape = {sc} + } + +\DeclareMicrotypeSet{footnotesize} + { encoding = {OT1,T1,LY1,OT4,QX,T5,TS1}, + size = {-small} + } + +\DeclareMicrotypeSet{scriptsize} + { encoding = {OT1,T1,LY1,OT4,QX,T5,TS1}, + size = {-footnotesize} + } + \DeclareMicrotypeSet{normalfont} { font = */*/*/*/* } @@ -72,6 +88,9 @@ \DeclareMicrotypeSetDefault[protrusion]{alltext} \DeclareMicrotypeSetDefault[expansion] {basictext} +\DeclareMicrotypeSetDefault[spacing] {basictext} +\DeclareMicrotypeSetDefault[kerning] {alltext} +\DeclareMicrotypeSetDefault[tracking] {normalfont} %%% ----------------------------------------------------------------------- %%% FONT ALIASES @@ -93,6 +112,21 @@ \DeclareMicrotypeAlias{eurosans}{zpeu} % Adobe Euro sans -> serif \DeclareMicrotypeAlias{euroitcs}{euroitc} % ITC Euro sans -> serif +%%% ----------------------------------------------------------------------- +%%% INTERACTION WITH THE `babel' PACKAGE + +\DeclareMicrotypeBabelHook + {french,francais,acadian,canadien} + {kerning=french, spacing=} + +\DeclareMicrotypeBabelHook + {english,UKenglish,british,american,USenglish} + {kerning=, spacing=nonfrench} + +\DeclareMicrotypeBabelHook + {turkish} + {kerning=turkish, spacing=} + %%% ----------------------------------------------------------------------- %%% CHARACTER INHERITANCE @@ -513,6 +547,119 @@ \textdegree = {300,300}, } +%%% ----------------------------------------------------------------------- +%%% INTERWORD SPACING SETTINGS + +\SetExtraSpacing + [ name = default ] + { encoding = {OT1,T1,LY1,OT4,QX,T5} } + { + {,} = { ,-500,500}, + r = { ,-300,300}, + b = { ,-200,200}, + d = { ,-200,200}, + f = { ,-200,200}, + h = { ,-200,200}, + k = { ,-200,200}, + l = { ,-200,200}, + t = { ,-200,200}, + c = { ,-100,100}, + p = { ,-100,100}, + v = { ,-100,100}, + w = { ,-100,100}, + z = { ,-100,100}, + x = { ,-100,100}, + y = { ,-100,100}, % ? + i = { , 50, -50}, + m = { , 50, -50}, + n = { , 50, -50}, + u = { , 50, -50}, + : = { ,200,-200}, + ; = { ,200,-200}, + . = { ,250,-250}, + ! = { ,250,-250}, + ? = { ,250,-250}, + } + +\SetExtraSpacing + [ name = nonfrench-cmr, + load = default, + context = nonfrench ] + { encoding = {OT1,T1,LY1,OT4,QX,T5}, + family = cmr } + { + . = {333,2000,-667}, + ? = {333,2000,-667}, + ! = {333,2000,-667}, + : = {333,1000,-500}, + ; = { , 500,-333}, + {,}= { , 250,-200}, + } + +\SetExtraSpacing + [ name = nonfrench-default, + load = default, + context = nonfrench ] + { encoding = {OT1,T1,LY1,OT4,QX,T5} } + { + . = {240,2000,-667}, + ? = {240,2000,-667}, + ! = {240,2000,-667}, + : = {240,1000,-500}, + ; = { , 500,-333}, + {,}= { , 250,-200}, + } + +%%% ----------------------------------------------------------------------- +%%% ADDITIONAL KERNING + +\SetExtraKerning + [ name = empty ] + { encoding = {OT1,T1,LY1,OT4,QX,T5,TS1} } + { } + +\SetExtraKerning + [ name = french-default, + context = french, + unit = space ] + { encoding = {OT1,T1,LY1} } + { + : = {1000,}, % = \fontdimen2 + ; = {500, }, % ~ \thinspace + ! = {500, }, + ? = {500, }, + } + +\SetExtraKerning + [ name = french-guillemets, + context = french-guillemets, + load = french-default, + unit = space ] + { encoding = {T1,LY1} } + { + \guillemotleft = { ,800}, % = 0.8\fontdimen2 + \guillemotright = {800, }, + } + +\SetExtraKerning + [ name = french-guillemets-OT1, + context = french-guillemets, + load = french-default, + unit = space ] + { encoding = OT1 } + { } + +\SetExtraKerning + [ name = turkish, + context = turkish, + unit = space ] + { encoding = {OT1,T1,LY1} } + { + : = {500, }, % ~ \thinspace + ! = {500, }, + {=} = {500, }, + } + \endinput %% %% End of file `microtype.cfg'. diff --git a/Master/texmf-dist/tex/latex/microtype/microtype.sty b/Master/texmf-dist/tex/latex/microtype/microtype.sty index 0b80729f708..fee60b492e6 100644 --- a/Master/texmf-dist/tex/latex/microtype/microtype.sty +++ b/Master/texmf-dist/tex/latex/microtype/microtype.sty @@ -9,7 +9,7 @@ %% ------------------------------------------------------------------------ %% The `microtype' package %% An interface to the micro-typographic extensions of pdfTeX -%% Copyright (c) 2004--2006 R Schlicht +%% Copyright (c) 2004--2007 R Schlicht %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3c of this license or (at @@ -20,14 +20,14 @@ %% This work has the LPPL maintenance status `author-maintained'. %% %% This work consists of the files microtype.dtx and microtype.ins and the -%% derived file microtype.sty. +%% derived files microtype.sty and letterspace.sty. %% %% ------------------------------------------------------------------------ %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{microtype}[2006/09/09 - v1.9f - Micro-typography with pdfTeX (RS)] +\ProvidesPackage + {microtype} + [2007/01/14 v2.0 Micro-typography with pdfTeX (RS)] \newcommand*\DeclareMicrotypeSet[3][]{} \newcommand*\UseMicrotypeSet[2][]{} \newcommand*\DeclareMicrotypeSetDefault[2][]{} @@ -39,11 +39,21 @@ \newcommand*\LoadMicrotypeFile[1]{} \newcommand*\microtypesetup[1]{} \newcommand*\microtypecontext[1]{} +\newcommand*\SetExtraSpacing[3][]{} +\newcommand*\SetExtraKerning[3][]{} +\newcommand*\SetTracking[3][]{} +\newcommand*\DeclareMicrotypeBabelHook[2]{} +\@ifpackageloaded{letterspace}{\let\MT@textls\relax}{% +\newcommand*\lsstyle{} +\newcommand\textls[2][]{} +\def\textls#1#{\@firstofone} +} \def\DeclareMicrotypeSet#1#{\@gobbletwo} \@onlypreamble\DeclareMicrotypeSet \@onlypreamble\UseMicrotypeSet \@onlypreamble\DeclareMicrotypeSetDefault \@onlypreamble\DisableLigatures +\@onlypreamble\DeclareMicrotypeBabelHook \def\MT@old@cmd#1#2{% \newcommand*#1{\MT@warning{% \string#1 is deprecated. Please use\MessageBreak @@ -54,16 +64,16 @@ \MT@old@cmd\UseMicroTypeSet \UseMicrotypeSet \MT@old@cmd\LoadMicroTypeFile \LoadMicrotypeFile \def\MT@MT{microtype} -\def\MT@error{\PackageError\MT@MT} +\def\MT@info{\PackageInfo\MT@MT} +\def\MT@info@nl#1{\MT@info{#1\@gobble}} +\let\MT@vinfo\@gobble \def\MT@warning{\PackageWarning\MT@MT} \def\MT@warning@nl#1{\MT@warning{#1\@gobble}} \def\MT@warn@err#1{\MT@error{#1}{% This error message appears because you loaded the `\MT@MT'\MessageBreak package with the option `verbose=errors'. Consult the documentation\MessageBreak - in \MT@MT.(pdf,dvi) to find out what went wrong.}} -\def\MT@info{\PackageInfo\MT@MT} -\def\MT@info@nl#1{\MT@info{#1\@gobble}} -\let\MT@vinfo\@gobble + in \MT@MT.pdf to find out what went wrong.}} +\def\MT@error{\PackageError\MT@MT} \def\MT@pdftex@no{0} \ifx\normalpdftexversion\@undefined \else \let\pdftexversion \normalpdftexversion @@ -72,45 +82,50 @@ \fi \ifx\pdftexversion\@undefined \else \ifx\pdftexversion\relax \else - \def\MT@pdftex@no{5} - \ifnum\pdftexversion < 130 - \def\MT@pdftex@no{4} - \ifnum\pdftexversion < 120 - \def\MT@pdftex@no{3} - \ifnum\pdftexversion = 14 - \ifnum \expandafter`\pdftexrevision < `h - \def\MT@pdftex@no{2} - \ifnum \expandafter`\pdftexrevision < `f + \def\MT@pdftex@no{6} + \ifnum\pdftexversion < 140 + \def\MT@pdftex@no{5} + \ifnum\pdftexversion < 130 + \def\MT@pdftex@no{4} + \ifnum\pdftexversion < 120 + \def\MT@pdftex@no{3} + \ifnum\pdftexversion = 14 + \ifnum \expandafter`\pdftexrevision < `h + \def\MT@pdftex@no{2} + \ifnum \expandafter`\pdftexrevision < `f + \def\MT@pdftex@no{1} + \fi + \fi + \else + \ifnum\pdftexversion < 14 \def\MT@pdftex@no{1} \fi \fi - \else - \ifnum\pdftexversion < 14 - \def\MT@pdftex@no{1} - \fi \fi \fi \fi \fi \fi -\ifnum\MT@pdftex@no<\tw@ +\ifnum\MT@pdftex@no<2 \AtEndOfPackage{\let\@unprocessedoptions\relax} \let\CurrentOption\@empty \MT@warning@nl{% \ifcase\MT@pdftex@no You don't seem to be using pdftex.\MessageBreak - \or + \else You are using a pdftex version older than 0.14f.\MessageBreak `\MT@MT' won't work with such antiquated versions.\MessageBreak Please install a newer version of pdftex.\MessageBreak \fi - All micro-typographic features will be disabled} + All micro-typographic features will be disabled% + } \endinput\fi \def\MT@catcodes{% \catcode`\^7 % \@makeother\-% \@makeother\=% \@makeother\*% + \@makeother\+% \@makeother\,% \@makeother\/% \@makeother\`% @@ -124,7 +139,7 @@ \expandafter\MT@restore@catcodes \fi } -\edef\MT@restore@catcodes{\MT@restore@catcodes\^\-\=\*\,\/\`\'\"\!\relax} +\edef\MT@restore@catcodes{\MT@restore@catcodes\^\-\=\*\+\,\/\`\'\"\!\relax} \MT@catcodes \AtEndOfPackage{\MT@restore@catcodes} \RequirePackage{keyval}[1997/11/10] @@ -136,6 +151,10 @@ \newif\ifMT@selected \newif\ifMT@noligatures \newif\ifMT@draft +\newif\ifMT@spacing +\newif\ifMT@kerning +\newif\ifMT@tracking +\newif\ifMT@babel \let\MT@pr@level\tw@ \let\MT@pr@factor\@m \let\MT@pr@unit\@empty @@ -144,14 +163,26 @@ \let\MT@stretch\m@ne \let\MT@shrink \m@ne \let\MT@step \m@ne +\let\MT@sp@factor\@m +\let\MT@kn@factor\@m +\let\MT@sp@unit\m@ne +\def\MT@kn@unit{1em} \def\MT@pr@min{-\@m} \let\MT@pr@max\@m \let\MT@ex@min\z@ \let\MT@ex@max\@m +\def\MT@sp@min{-\@m} +\let\MT@sp@max\@m +\def\MT@kn@min{-\@m} +\let\MT@kn@max\@m +\def\MT@tr@min{-\@m} +\let\MT@tr@max\@m \def\MT@factor@default{1000 } \def\MT@stretch@default{20 } \def\MT@shrink@default{20 } \def\MT@step@default{4 } +\let\MT@letterspace\m@ne +\def\MT@letterspace@default{100} \newif\ifMT@document \expandafter\let\expandafter\MT@requires@etex \ifcase 0% @@ -165,7 +196,7 @@ \@secondoftwo \fi \def\MT@requires@pdftex#1{% - \ifnum\MT@pdftex@no<#1\relax + \ifnum\MT@pdftex@no<#1 \expandafter\@secondoftwo \else \expandafter\@firstoftwo @@ -236,7 +267,7 @@ \endgroup \MT@requires@pdftex6{ \def\MT@ifint#1{% - \ifcase\pdfmatch{^[0-9]+ *$}{#1}\relax + \ifcase\pdfmatch{^-*[0-9]+ *$}{#1}\relax \expandafter\@secondoftwo \else \expandafter\@firstoftwo @@ -434,12 +465,21 @@ \def\MT@abbr@pr@inh{protrusion inheritance} \def\MT@abbr@ex@inh{expansion inheritance} \def\MT@abbr@nl{noligatures} +\def\MT@abbr@sp{spacing} +\def\MT@abbr@sp@c{interword spacing codes} +\def\MT@abbr@sp@inh{interword spacing inheritance} +\def\MT@abbr@kn{kerning} +\def\MT@abbr@kn@c{kerning codes} +\def\MT@abbr@kn@inh{kerning inheritance} +\def\MT@abbr@tr{tracking} +\def\MT@abbr@tr@c{tracking amount} \def\MT@rbba@protrusion{pr} \def\MT@rbba@expansion{ex} -\def\MT@features{pr,ex% -} -\def\MT@features@long{protrusion,expansion% -} +\def\MT@rbba@spacing{sp} +\def\MT@rbba@kerning{kn} +\def\MT@rbba@tracking{tr} +\def\MT@features{pr,ex,sp,kn,tr} +\def\MT@features@long{protrusion,expansion,spacing,kerning,tracking} \def\MT@is@feature#1{% \MT@exp@one@n\MT@in@clist\@tempa\MT@features@long \ifMT@inlist@ @@ -454,6 +494,7 @@ \def\MT@addto@setup{\g@addto@macro\MT@setup@} \AtBeginDocument{\MT@setup@ \MT@glet\MT@setup@\@empty} \def\MT@with@package#1{\@ifpackageloaded{#1}\@firstofone\@gobble} +\def\MT@with@babel@and#1{\@ifpackagewith{babel}{#1}\@firstofone\@gobble} \def\MT@pdfcprot@error{% \MT@error{Detected the `pdfcprot' package!\MessageBreak `\MT@MT' and `pdfcprot' may not be used together}{% @@ -463,6 +504,7 @@ time will almost certainly lead to undesired results. Have your choice!}% \let\MT@pdfcprot@error\relax } \MT@with@package{pdfcprot}\MT@pdfcprot@error +\MT@let@nc{ver@letterspace.sty}\@empty \MT@requires@pdftex5{ \def\MT@ledmac@setup{% \ifMT@protrusion @@ -498,24 +540,20 @@ time will almost certainly lead to undesired results. Have your choice!}% } \def\MT@restore@p@h{\chardef\%`\% \chardef\#`\# } \def\MT@setupfont@hook{% - \@ifpackagewith{babel}{spanish}{% - \MT@ifdefined@c@T\percentsign{\let\%\percentsign}% - }\relax + \MT@with@babel@and{spanish}{\MT@ifdefined@c@T\percentsign{\let\%\percentsign}}% \MT@with@package{csquotes}{% - \@ifpackagelater{csquotes}{2005/05/11}\@disablequotes\relax - }% + \@ifpackagelater{csquotes}{2005/05/11}\@disablequotes\relax}% \@ifpackageloaded{hyperref}\MT@restore@p@h{% - \MT@with@package{tex4ht}\MT@restore@p@h - }% + \MT@with@package{tex4ht}\MT@restore@p@h}% } \MT@addto@setup{% \MT@with@package{pdfcprot}\MT@pdfcprot@error \MT@with@package{ledmac}\MT@ledmac@setup \let\MT@setupfont@hook\@empty - \@ifpackagewith{babel}{spanish}{% + \MT@with@babel@and{spanish}{% \g@addto@macro\MT@setupfont@hook{% \MT@ifdefined@c@T\percentsign{\let\%\percentsign}}% - }\relax + }% \MT@with@package{csquotes}{% \@ifpackagelater{csquotes}{2005/05/11}{% \g@addto@macro\MT@setupfont@hook\@disablequotes @@ -529,6 +567,8 @@ time will almost certainly lead to undesired results. Have your choice!}% \g@addto@macro\MT@setupfont@hook\MT@restore@p@h \pdfstringdefDisableCommands{% \let\pickup@font\MT@orig@pickupfont + \def\lsstyle{\pdfstringdefWarn\lsstyle}% + \def\textls#1#{\pdfstringdefWarn\textls}% }% }{% \MT@with@package{tex4ht}{% @@ -536,36 +576,49 @@ time will almost certainly lead to undesired results. Have your choice!}% }% }% \MT@with@package{listings}{% - \g@addto@macro\MT@begin@catcodes{% + \g@addto@macro\MT@normal@catcodes{% \MT@while@num{"30}{"3A}{\catcode\@tempcnta 12\relax}% \MT@while@num{"41}{"5B}{\catcode\@tempcnta 11\relax}% \MT@while@num{"61}{"7B}{\catcode\@tempcnta 11\relax}% }% \g@addto@macro\MT@setupfont@hook{% + \catcode`\\\z@ \let\lst@ProcessLetter\@empty }% }% + \MT@with@package{soul}{% + \soulregister\lsstyle 0% + \soulregister\textls 1% + }% } \expandafter\ifx\the\font\nullfont\normalfont\fi \def\MT@setupfont{% - \ifx\MT@vinfo\MT@info@nl - \MT@info{Setting up font `\MT@@font'}\fi \MT@setupfont@hook - \MT@exp@two@c\MT@split@name\string\MT@font\@nil + \MT@exp@two@c\MT@split@name\string\MT@font/\@nil \MT@exp@one@n\MT@find@file\MT@family \ifx\MT@familyalias\@empty \else \MT@exp@one@n\MT@find@file\MT@familyalias\fi \ifx\f@encoding\cf@encoding\else\@@enc@update\fi - \MT@protrusion - \MT@expansion - \MT@noligatures + \MT@tracking + \MT@check@font + \ifMT@inlist@ + \else + \MT@vinfo{Setting up font `\MT@@font'\on@line}% + \MT@protrusion + \MT@expansion + \MT@spacing + \MT@kerning + \MT@noligatures + \MT@register@font + \fi + \MT@glet\MT@font\@empty } -\def\MT@split@name#1/#2/#3/#4/#5\@nil{% +\def\MT@split@name#1/#2/#3/#4/#5/#6\@nil{% \def\MT@encoding{#1}% - \def\MT@family{#2}% - \def\MT@series{#3}% - \def\MT@shape{#4}% - \def\MT@size{#5}% + \def\MT@family {#2}% + \def\MT@series {#3}% + \def\MT@shape {#4}% + \def\MT@size {#5}% \MT@ifdefined@n@TF{MT@\MT@family @alias}% {\MT@let@cn\MT@familyalias{MT@\MT@family @alias}}% {\let\MT@familyalias\@empty}% @@ -662,7 +715,7 @@ time will almost certainly lead to undesired results. Have your choice!}% \def\MT@protrusion{\MT@maybe@do{pr}} \def\MT@set@pr@codes{% \MT@if@list@exists{% - \MT@get@dimen@six + \MT@get@font@dimen@six \MT@get@opt \MT@reset@pr@codes \MT@get@inh@list @@ -681,7 +734,7 @@ time will almost certainly lead to undesired results. Have your choice!}% } \def\MT@reset@pr@codes@{\MT@set@all@pr\z@\z@} \let\MT@reset@pr@codes\relax -\def\MT@get@dimen@six{% +\def\MT@get@font@dimen@six{% \ifnum\fontdimen6\MT@font=\z@ \MT@warning@nl{% Font `\MT@@font' does not specify its\MessageBreak @@ -759,8 +812,8 @@ time will almost certainly lead to undesired results. Have your choice!}% } \def\MT@get@font@dimen#1{% \ifnum\fontdimen#1\MT@font=\z@ - \MT@warning@nl{Font \font@name does not specify its\MessageBreak - \@backslashchar fontdimen \number#1 (it's zero).\MessageBreak + \MT@warning@nl{Font `\MT@@font' does not specify its\MessageBreak + \@backslashchar fontdimen \number#1 (it's zero)!\MessageBreak You should use a different `unit' for \MT@curr@list@name}% \else \MT@count=\fontdimen#1\MT@font @@ -783,8 +836,8 @@ time will almost certainly lead to undesired results. Have your choice!}% } \def\MT@scale@factor{% \ifnum\csname MT@\MT@feat @factor@\endcsname=\@m \else - \expandafter\MT@scale\expandafter - \@tempcntb \csname MT@\MT@feat @factor@\endcsname \@m + \expandafter\MT@scale\expandafter \@tempcntb + \csname MT@\MT@feat @factor@\endcsname \@m \fi \ifnum\@tempcntb>\csname MT@\MT@feat @max\endcsname\relax \expandafter\MT@warn@code@too@large\csname MT@\MT@feat @max\endcsname @@ -797,8 +850,8 @@ time will almost certainly lead to undesired results. Have your choice!}% \def\MT@warn@code@too@large#1{% \@tempcnta=#1\relax \ifnum\csname MT@\MT@feat @factor@\endcsname=\@m \else - \expandafter\MT@scale\expandafter\@tempcnta\expandafter\@m - \csname MT@\MT@feat @factor@\endcsname + \expandafter\MT@scale\expandafter\@tempcnta\expandafter + \@m \csname MT@\MT@feat @factor@\endcsname \fi \MT@scale\@tempcnta \MT@dimen@six \MT@count \MT@warning@nl{The \@nameuse{MT@abbr@\MT@feat} code \@tempb\space @@ -881,6 +934,7 @@ time will almost certainly lead to undesired results. Have your choice!}% \MT@ifdefined@n@T{% MT@\MT@feat @#1@\csname MT@\MT@feat @#1@name\endcsname @inputenc}{% \MT@ifdefined@c@TF\inputencoding{% + \MT@normal@catcodes \inputencoding{\@nameuse{% MT@\MT@feat @#1@\csname MT@\MT@feat @#1@name\endcsname @inputenc}}% }{% @@ -1043,19 +1097,290 @@ time will almost certainly lead to undesired results. Have your choice!}% \MT@scale@factor \MT@set@all@ex\@tempcntb } -\MT@requires@pdftex5{ - \def\MT@noligatures{% - \ifMT@noligatures - \MT@dotrue - \MT@map@clist@n{font,encoding,family,series,shape,size}{% - \MT@ifdefined@n@TF{MT@checklist@##1}% - {\csname MT@checklist@##1\endcsname}% - {\MT@checklist@{##1}}% - {nl}% +\MT@requires@pdftex6{ +\def\MT@spacing{\MT@maybe@do{sp}} +\def\MT@set@sp@codes{% + \MT@if@list@exists{% + \MT@get@font@dimen@six + \MT@get@opt + \MT@reset@sp@codes + \MT@get@inh@list + \MT@set@inputenc{c}% + \MT@load@list\MT@sp@c@name + \MT@set@listname + \MT@let@cn\@tempc{MT@sp@c@\MT@sp@c@name}% + \expandafter\MT@sp@do\@tempc,\relax,% + }\MT@reset@sp@codes +} +\def\MT@sp@do#1,{% + \ifx\relax#1\@empty \else + \MT@sp@split #1==\relax + \expandafter\MT@sp@do + \fi +} +\def\MT@sp@split#1=#2=#3\relax{% + \def\@tempa{#1}% + \ifx\@tempa\@empty \else + \MT@get@slot + \ifnum\MT@char > \m@ne + \MT@get@char@unit + \MT@sp@split@val#2\relax + \fi + \fi +} +\def\MT@sp@split@val#1,#2,#3\relax{% + \def\@tempb{#1}% + \MT@ifempty\@tempb\relax{% + \MT@get@space@unit\tw@ + \MT@scale@to@em + \knbscode\MT@font\MT@char=\@tempcntb + }% + \def\@tempb{#2}% + \MT@ifempty\@tempb\relax{% + \MT@get@space@unit\thr@@ + \MT@scale@to@em + \stbscode\MT@font\MT@char=\@tempcntb + }% + \def\@tempb{#3}% + \MT@ifempty\@tempb\relax{% + \MT@get@space@unit4% + \MT@scale@to@em + \shbscode\MT@font\MT@char=\@tempcntb + }% + \MT@ifdefined@c@T\MT@sp@inh@name{% + \MT@ifdefined@n@T{MT@inh@\MT@sp@inh@name @\MT@char @}{% + \expandafter\MT@map@tlist@c + \csname MT@inh@\MT@sp@inh@name @\MT@char @\endcsname + \MT@set@sp@heirs + }% + }% +} +\def\MT@set@sp@heirs#1{% + \knbscode\MT@font#1=\knbscode\MT@font\MT@char + \stbscode\MT@font#1=\stbscode\MT@font\MT@char + \shbscode\MT@font#1=\shbscode\MT@font\MT@char +} +\def\MT@set@all@sp#1#2#3{% + \MT@do@font{% + \knbscode\MT@font\@tempcnta=#1\relax + \stbscode\MT@font\@tempcnta=#2\relax + \shbscode\MT@font\@tempcnta=#3\relax + }% +} +\def\MT@reset@sp@codes@{\MT@set@all@sp\z@\z@\z@} +\let\MT@reset@sp@codes\relax +\def\MT@preset@sp{% + \expandafter\expandafter\expandafter\MT@preset@sp@ + \csname MT@sp@c@\MT@sp@c@name @preset\endcsname\@nil +} +\def\MT@preset@sp@#1,#2,#3\@nil{% + \ifx\MT@sp@unit@\@empty + \MT@warn@preset@towidth{sp}% + \MT@preset@aux@factor{#1}\@tempa + \MT@preset@aux@factor{#2}\@tempc + \MT@preset@aux@factor{#3}\@tempb + \else + \MT@preset@aux@space{#1}\@tempa + \def\@tempb{#2}% + \MT@get@space@unit\thr@@ + \MT@scale@to@em + \edef\@tempc{\number\@tempcntb}% + \def\@tempb{#3}% + \MT@get@space@unit4% + \MT@scale@to@em + \edef\@tempb{\number\@tempcntb}% + \fi + \MT@set@all@sp\@tempa\@tempc\@tempb +} +}{ + \let\MT@spacing\relax +} +\MT@requires@pdftex6{ +\def\MT@kerning{\MT@maybe@do{kn}} +\def\MT@set@kn@codes{% + \MT@if@list@exists{% + \MT@get@font@dimen@six + \MT@get@opt + \MT@reset@kn@codes + \MT@get@inh@list + \MT@set@inputenc{c}% + \MT@load@list\MT@kn@c@name + \MT@set@listname + \MT@let@cn\@tempc{MT@kn@c@\MT@kn@c@name}% + \expandafter\MT@kn@do\@tempc,\relax,% + }\MT@reset@kn@codes +} +\def\MT@kn@do#1,{% + \ifx\relax#1\@empty \else + \MT@kn@split #1==\relax + \expandafter\MT@kn@do + \fi +} +\def\MT@kn@split#1=#2=#3\relax{% + \def\@tempa{#1}% + \ifx\@tempa\@empty \else + \MT@get@slot + \ifnum\MT@char > \m@ne + \MT@get@char@unit + \MT@kn@split@val#2\relax + \fi + \fi +} +\def\MT@kn@split@val#1,#2\relax{% + \def\@tempb{#1}% + \MT@ifempty\@tempb\relax{% + \MT@get@space@unit\tw@ + \MT@scale@to@em + \knbccode\MT@font\MT@char=\@tempcntb + }% + \def\@tempb{#2}% + \MT@ifempty\@tempb\relax{% + \MT@get@space@unit\tw@ + \MT@scale@to@em + \knaccode\MT@font\MT@char=\@tempcntb + }% + \MT@ifdefined@c@T\MT@kn@inh@name{% + \MT@ifdefined@n@T{MT@inh@\MT@kn@inh@name @\MT@char @}{% + \expandafter\MT@map@tlist@c + \csname MT@inh@\MT@kn@inh@name @\MT@char @\endcsname + \MT@set@kn@heirs + }% + }% +} +\def\MT@set@kn@heirs#1{% + \knbccode\MT@font#1=\knbccode\MT@font\MT@char + \knaccode\MT@font#1=\knaccode\MT@font\MT@char +} +\def\MT@set@all@kn#1#2{% + \MT@do@font{% + \knbccode\MT@font\@tempcnta=#1\relax + \knaccode\MT@font\@tempcnta=#2\relax + }% +} +\def\MT@reset@kn@codes@{\MT@set@all@kn\z@\z@} +\let\MT@reset@kn@codes\relax +\def\MT@preset@kn{% + \expandafter\expandafter\expandafter\MT@preset@kn@ + \csname MT@kn@c@\MT@kn@c@name @preset\endcsname\@nil +} +\def\MT@preset@kn@#1,#2\@nil{% + \ifx\MT@kn@unit@\@empty + \MT@warn@preset@towidth{kn}% + \let\MT@preset@aux\MT@preset@aux@factor + \else + \let\MT@preset@aux\MT@preset@aux@space + \fi + \MT@preset@aux{#1}\@tempa + \MT@preset@aux{#2}\@tempb + \MT@set@all@kn\@tempa\@tempb +} +}{ + \let\MT@kerning\relax +} +\MT@requires@pdftex6{ +\DeclareRobustCommand\lsstyle{% + \MT@trackingtrue + \def\MT@tr@setname{all}% + \let\MT@tracking\MT@tracking@ + \selectfont +} +\def\MT@tracking@{% + \ifMT@tracking\MT@maybe@do{tr}\fi +} +\let\MT@tracking\MT@tracking@ +\def\MT@set@tr@codes{% + \MT@ifdefined@c@TF\MT@letterspace@\relax{% + \let\MT@letterspace@\MT@letterspace + \MT@if@list@exists{% + \MT@set@listname + \MT@let@cn\MT@letterspace@{MT@tr@c@\MT@tr@c@name}% + \MT@ifdefined@n@T{MT@tr@c@\MT@tr@c@name @unit}{% + \MT@let@cn\MT@tr@unit@{MT@tr@c@\MT@tr@c@name @unit}% + \ifdim\MT@tr@unit@=1em\else + \MT@get@font@dimen@six + \MT@let@cn\@tempb{MT@tr@c@\MT@tr@c@name}% + \MT@get@unit\MT@tr@unit@ + \let\MT@tr@factor@\@m + \MT@scale@to@em + \edef\MT@letterspace@{\number\@tempcntb}% + \fi }% - \else - \MT@dofalse + }\relax + }% + \ifnum\MT@letterspace@=\z@\else + \xdef\MT@lsfont{% + \expandafter\csname\expandafter\string\MT@font + /\number\MT@letterspace@ ls\endcsname}% + \expandafter\ifx\MT@lsfont\relax + \expandafter\MT@exp@two@c\expandafter\MT@is@letterspaced\expandafter + \meaning\expandafter\font@name\MT@lsstring+/\@nil + \global\expandafter\letterspacefont\MT@lsfont\font@name \MT@letterspace@ + \fontdimen2\MT@lsfont=\dimexpr\numexpr1000+\MT@letterspace@\relax + \fontdimen2\MT@lsfont/1000\relax \fi + \MT@vinfo{Tracking font `\MT@@font' by \number\MT@letterspace@ + \space\on@line}% + \let\MT@font\MT@lsfont + \aftergroup + \MT@set@lsfont + \fi +} +\def\MT@set@lsfont{\MT@exp@two@c\let\font@name\MT@lsfont} +}{ + \let\MT@tracking\relax + \DeclareRobustCommand\lsstyle{% + \MT@warning{Letterspacing only works with pdftex version 1.40\MessageBreak + or newer. You might want to use the `soul' package\MessageBreak + instead}% + \MT@glet\lsstyle\relax + } +} +\begingroup + \@makeother{L}% + \@makeother{S}% + \lowercase{% + \def\x{% + \def\MT@lsstring{+LS}% + \def\MT@is@letterspaced##1 ##2 ##3+##4LS##5+##6/\@nil{% + \MT@ifempty{##4}{\MT@is@letterspaced@##3-LS-\@nil}{% + \global\expandafter\font\font@name ##3##5\relax + }% + }% + \def\MT@is@letterspaced@##1-##2LS##3-##4\@nil{% + \MT@ifempty{##2}\relax{% + \global\expandafter\font\font@name ##1##3\relax + }% + }% + }% + } +\expandafter\endgroup\x +\DeclareRobustCommand\textls{% + \@ifstar{\let\MT@ls@adjust@\MT@ls@adjust\MT@textls}% + {\let\MT@ls@adjust@\relax \MT@textls}% +} +\newcommand\MT@textls[2][]{% + {\MT@ifempty{#1}% + {\let\MT@letterspace@\@undefined}% + {\KV@@sp@def\MT@letterspace@{#1}}% + \MT@ls@adjust@ + \lsstyle #2% + \MT@ls@adjust@}% +} +\def\MT@ls@adjust{% + \@tempdima=\MT@ifdefined@c@TF\MT@letterspace@ + \MT@letterspace@ \MT@letterspace em + \divide\@tempdima 2000 + \kern-\@tempdima\relax +} +\MT@requires@pdftex5{ + \def\MT@noligatures{% + \MT@dotrue + \MT@map@clist@n{font,encoding,family,series,shape,size}{% + \MT@ifdefined@n@TF{MT@checklist@##1}% + {\csname MT@checklist@##1\endcsname}% + {\MT@checklist@{##1}}% + {nl}% + }% \ifMT@do \pdfnoligatures\MT@font \MT@vinfo{... Disabling ligatures}% @@ -1090,7 +1415,7 @@ time will almost certainly lead to undesired results. Have your choice!}% \let\MT@file@list\@empty \def\MT@find@file#1{% \MT@in@clist{#1}\MT@file@list - \ifMT@inlist@\else + \ifMT@inlist@ \else \MT@begin@catcodes \let\MT@begin@catcodes\relax \let\MT@end@catcodes\relax @@ -1115,8 +1440,7 @@ time will almost certainly lead to undesired results. Have your choice!}% \endgroup \fi } -\def\MT@begin@catcodes{% - \begingroup +\def\MT@normal@catcodes{% \makeatletter \catcode`\^7% \catcode`\ 9% @@ -1130,6 +1454,10 @@ time will almost certainly lead to undesired results. Have your choice!}% \MT@map@tlist@n {\!\"\$\&\'\(\)\*\+\,\-\.\/\:\;\<\=\>\?\[\]\_\`\|\~}% \@makeother +} +\def\MT@begin@catcodes{% + \begingroup + \MT@normal@catcodes \let\KV@@sp@def\def } \let\MT@end@catcodes\endgroup @@ -1208,12 +1536,14 @@ time will almost certainly lead to undesired results. Have your choice!}% }{% \MT@let@nc{MT@\MT@feat @c@name}\@empty \ifMT@nonselected - \MT@vinfo{... Applying non-selected expansion}% + \MT@vinfo{... Applying non-selected expansion (no list)}% \else - \MT@warning{I cannot find a \@nameuse{MT@abbr@\MT@feat} list - for font\MessageBreak`\MT@@font'% - \ifx\MT@context\@empty\else\space(context: `\MT@context')\fi. - Switching off\MessageBreak\@nameuse{MT@abbr@\MT@feat} for this font}% + \MT@ifstreq\MT@feat{tr}\relax{% + \MT@warning{I cannot find a \@nameuse{MT@abbr@\MT@feat} list + for font\MessageBreak`\MT@@font'% + \ifx\MT@context\@empty\else\space(context: `\MT@context')\fi. + Switching off\MessageBreak\@nameuse{MT@abbr@\MT@feat} for this font}% + }% \fi \@secondoftwo }% @@ -1276,7 +1606,7 @@ time will almost certainly lead to undesired results. Have your choice!}% \ifcat !\noexpand#1\relax \edef\MT@char@{\number`#1}% \ifx\\#2\\% - \ifnum\MT@char@>127 \MT@warn@ascii \fi + \ifnum\MT@char@ > 127 \MT@warn@ascii \fi \else \MT@norestfalse \expandafter\MT@is@number#1#2\relax\relax @@ -1323,7 +1653,8 @@ time will almost certainly lead to undesired results. Have your choice!}% } \def\MT@undefined@char#1{undefined in input encoding ``#1''} \def\MT@is@symbol{% - \edef\MT@char{\csname\MT@encoding\MT@detokenize@c\@tempa\endcsname}% + \expandafter\def\expandafter\MT@char\expandafter + {\csname\MT@encoding\MT@detokenize@c\@tempa\endcsname}% \expandafter\MT@exp@two@c\expandafter\MT@is@char\expandafter \meaning\expandafter\MT@char\MT@charstring\relax\relax\relax \ifnum\MT@char@ < \z@ @@ -1332,7 +1663,7 @@ time will almost certainly lead to undesired results. Have your choice!}% } \begingroup \catcode`\/=0 - /MT@map@tlist@n{/\/C/H/A/R}/@makeother + /MT@map@tlist@n{/\CHAR}/@makeother /lowercase{% /def/x{% /def/MT@charstring{\CHAR"}% @@ -1352,12 +1683,11 @@ time will almost certainly lead to undesired results. Have your choice!}% /expandafter/endgroup/x \def\MT@is@composite#1#2\relax{% \ifx\\#2\\\else - \edef\MT@char{\expandafter - \csname\expandafter - \string\csname\MT@encoding\endcsname - \MT@detokenize@n{#1}-% - \MT@detokenize@n{#2}% - \endcsname}% + \edef\MT@char{\expandafter\csname\expandafter + \string\csname\MT@encoding\endcsname + \MT@detokenize@n{#1}-% + \MT@detokenize@n{#2}% + \endcsname}% \expandafter\MT@is@letter\MT@char\relax\relax \fi } @@ -1405,8 +1735,8 @@ time will almost certainly lead to undesired results. Have your choice!}% \def\MT@orig@pickupfont{\expandafter\ifx\font@name\relax\define@newfont\fi} \ifx\pickup@font\MT@orig@pickupfont \else \MT@warning@nl{% - Command \string\pickup@font\space is not defined as expected.\MessageBreak - Double-check whether micro-typography is indeed\MessageBreak + Command \string\pickup@font\space is not defined as expected.% + \MessageBreak Double-check whether micro-typography is indeed\MessageBreak applied to the document.\MessageBreak (Hint: Turn on `verbose' mode)% } \fi @@ -1421,12 +1751,7 @@ time will almost certainly lead to undesired results. Have your choice!}% \MT@register@subst@font \fi \fi - \MT@check@font - \ifMT@inlist@ \else - \MT@setupfont - \MT@register@font - \fi - \MT@glet\MT@font\@empty + \MT@setupfont \endgroup } \let\MT@pickupfont\pickup@font @@ -1444,8 +1769,8 @@ time will almost certainly lead to undesired results. Have your choice!}% \def\MT@check@font@cx{% \MT@if@true \MT@map@clist@c\MT@active@features{% - \expandafter\MT@exp@one@n\expandafter\MT@in@clist\expandafter\MT@font - \csname MT@##1@\csname MT@##1@context\endcsname font@list\endcsname + \expandafter\MT@exp@one@n\expandafter\MT@in@clist\expandafter + \MT@font \csname MT@##1@\csname MT@##1@context\endcsname font@list\endcsname \ifMT@inlist@ \MT@let@nc{MT@\@nameuse{MT@abbr@##1}}\relax \else @@ -1476,8 +1801,8 @@ time will almost certainly lead to undesired results. Have your choice!}% } \def\MT@rem@from@lists#1{% \MT@ifstreq{\@tempa/#1}{\@tempa/\csname MT@\@tempa @context\endcsname}\relax{% - \expandafter\MT@exp@one@n\expandafter\MT@rem@from@clist - \expandafter\MT@font\csname MT@\@tempa @#1font@list\endcsname + \expandafter\MT@exp@one@n\expandafter\MT@rem@from@clist\expandafter + \MT@font \csname MT@\@tempa @#1font@list\endcsname }% } \def\microtypecontext#1{\MT@addto@setup{\microtypecontext{#1}}} @@ -1516,8 +1841,8 @@ time will almost certainly lead to undesired results. Have your choice!}% }% \def\MT@reset@context{\aftergroup\MT@reset@context@}% \global\MT@let@nn{MT@reset@\@tempb @codes}{MT@reset@\@tempb @codes@}% - \expandafter\MT@exp@one@n\expandafter\MT@in@tlist - \expandafter\MT@val\csname MT@\@tempb @doc@contexts\endcsname + \expandafter\MT@exp@one@n\expandafter\MT@in@tlist\expandafter + \MT@val \csname MT@\@tempb @doc@contexts\endcsname \ifMT@inlist@ \else \expandafter\MT@xadd\csname MT@\@tempb @doc@contexts\endcsname{{\MT@val}}% \fi @@ -1566,7 +1891,8 @@ time will almost certainly lead to undesired results. Have your choice!}% \def\MT@declare@sets#1#2#3{% \KV@@sp@def\MT@curr@set@name{#2}% \MT@ifdefined@n@T{MT@#1@set@@\MT@curr@set@name}{% - \MT@warning{Redefining set `\MT@curr@set@name'}% + \MT@warning{Redefining \@nameuse{MT@abbr@#1} set `\MT@curr@set@name'}% + \global\MT@let@nc{MT@#1list@size@\MT@curr@set@name}\@empty }% \global\MT@let@nc{MT@#1@set@@\MT@curr@set@name}\@empty \setkeys{MT@#1@set}{#3}% @@ -1589,11 +1915,8 @@ time will almost certainly lead to undesired results. Have your choice!}% {\csname MT@#2list@#1@\MT@curr@set@name\expandafter\endcsname}% {\MT@val,}% }% - \edef\x{% - \expandafter\noexpand\expandafter\MT@fix@font@spec - \expandafter\noexpand\csname MT@#2list@#1@\MT@curr@set@name\endcsname - }% - \MT@exp@one@n\MT@addto@setup\x + \expandafter\g@addto@macro\expandafter\MT@font@sets + \csname MT@#2list@#1@\MT@curr@set@name\endcsname }% } \def\MT@get@highlevel#1{% @@ -1606,9 +1929,10 @@ time will almost certainly lead to undesired results. Have your choice!}% \def\@tempa{#1}% \MT@ifempty{#2}\@gobble\@firstofone } -\def\MT@fix@font@spec#1{% - \xdef#1{#1}% - \global\MT@make@string#1% +\let\MT@font@sets\@empty +\def\MT@fix@font@set#1{% + \xdef#1{#1}% + \global\MT@make@string#1% } \def\MT@define@set@key@size#1{% \define@key{MT@#1@set}{size}[]{% @@ -1694,11 +2018,8 @@ time will almost certainly lead to undesired results. Have your choice!}% {\csname MT@#1list@font@\MT@curr@set@name\expandafter\endcsname}% {\MT@val,}% }% - \edef\x{% - \expandafter\noexpand\expandafter\MT@fix@font@spec - \expandafter\noexpand\csname MT@#1list@font@\MT@curr@set@name\endcsname - }% - \MT@exp@one@n\MT@addto@setup\x + \expandafter\g@addto@macro\expandafter\MT@font@sets + \csname MT@#1list@font@\MT@curr@set@name\endcsname }% } \def\MT@get@font#1/#2/#3/#4/#5/#6\@nil{% @@ -1840,6 +2161,12 @@ time will almost certainly lead to undesired results. Have your choice!}% \MT@end@catcodes \fi } +\def\DeclareMicrotypeBabelHook#1#2{% + \MT@map@clist@n{#1}{% + \KV@@sp@def\@tempa{##1}% + \MT@gdef@n{MT@babel@\@tempa}{#2}% + }% +} \def\SetProtrusion{% \MT@begin@catcodes \MT@SetProtrusion @@ -1861,7 +2188,7 @@ time will almost certainly lead to undesired results. Have your choice!}% \let\MT@extra@context\@empty \MT@set@named@keys{MT@ex@c}{#1}% \MT@ifdefined@n@T{MT@ex@c@\MT@ex@c@name @factor}{% - \ifnum\csname MT@ex@c@\MT@ex@c@name @factor\endcsname>\@m + \ifnum\csname MT@ex@c@\MT@ex@c@name @factor\endcsname > \@m \MT@warning@nl{Expansion factor \number\@nameuse{MT@ex@c@\MT@ex@c@name @factor} too large in list\MessageBreak `\MT@ex@c@name'. Setting it to the maximum of 1000}% @@ -1874,6 +2201,45 @@ time will almost certainly lead to undesired results. Have your choice!}% \MT@gdef@n{MT@ex@c@\MT@ex@c@name}{#3}% \MT@end@catcodes } +\def\SetTracking{% + \MT@begin@catcodes + \MT@SetTracking +} +\newcommand*\MT@SetTracking[3][]{% + \let\MT@extra@context\@empty + \MT@set@named@keys{MT@tr@c}{#1}% + \def\MT@permutelist{tr@c}% + \setkeys{MT@cfg}{#2}% + \MT@permute + \MT@gdef@n{MT@tr@c@\MT@tr@c@name}{#3}% + \MT@end@catcodes +} +\def\SetExtraSpacing{% + \MT@begin@catcodes + \MT@SetExtraSpacing +} +\newcommand*\MT@SetExtraSpacing[3][]{% + \let\MT@extra@context\@empty + \MT@set@named@keys{MT@sp@c}{#1}% + \def\MT@permutelist{sp@c}% + \setkeys{MT@cfg}{#2}% + \MT@permute + \MT@gdef@n{MT@sp@c@\MT@sp@c@name}{#3}% + \MT@end@catcodes +} +\def\SetExtraKerning{% + \MT@begin@catcodes + \MT@SetExtraKerning +} +\newcommand*\MT@SetExtraKerning[3][]{% + \let\MT@extra@context\@empty + \MT@set@named@keys{MT@kn@c}{#1}% + \def\MT@permutelist{kn@c}% + \setkeys{MT@cfg}{#2}% + \MT@permute + \MT@gdef@n{MT@kn@c@\MT@kn@c@name}{#3}% + \MT@end@catcodes +} \def\MT@set@named@keys#1#2{% \def\x##1name=##2,##3\@nil{% \setkeys{#1}{name=##2}% @@ -1950,7 +2316,7 @@ time will almost certainly lead to undesired results. Have your choice!}% }{% \MT@edef@n{MT@#1@c@name}{##1}% \MT@ifdefined@n@T{MT@#1@c@\csname MT@#1@c@name\endcsname}{% - \MT@warning{Redefining list `\@nameuse{MT@#1@c@name}'}% + \MT@warning{Redefining \@nameuse{MT@abbr@#1} list `\@nameuse{MT@#1@c@name}'}% }% }% \MT@let@cn\MT@curr@set@name{MT@#1@c@name}% @@ -1969,12 +2335,6 @@ time will almost certainly lead to undesired results. Have your choice!}% \define@key{MT@pr@c}{unit}[character]{% \global\MT@let@nc{MT@pr@c@\MT@curr@set@name @unit}\@empty \def\@tempa{#1}% - \MT@ifstreq\@tempa{relative}{% - \MT@warning{Value `relative' for key `unit' is deprecated.\MessageBreak - Use `unit=character' instead. For now, I'll do it\MessageBreak - for you}% - \def\@tempa{character}% - }\relax \MT@ifstreq\@tempa{character}\relax{% \MT@ifdimen\@tempa{% \global\MT@let@nc{MT@pr@c@\MT@curr@set@name @unit}\@tempa @@ -1985,6 +2345,38 @@ time will almost certainly lead to undesired results. Have your choice!}% }% }% } +\define@key{MT@tr@c}{unit}[1em]{% + \global\MT@let@nc{MT@tr@c@\MT@curr@set@name @unit}\@empty + \def\@tempa{#1}% + \MT@ifdimen\@tempa{% + \global\MT@let@nc{MT@tr@c@\MT@curr@set@name @unit}\@tempa + }{% + \MT@warning{`\@tempa' is not a dimension.\MessageBreak + Ignoring it and setting values relative to\MessageBreak + 1em}% + \MT@gdef@n{MT@tr@c@\MT@curr@set@name @unit}{1em}% + }% +} +\def\MT@define@key@unit#1{% + \define@key{MT@#1@c}{unit}[space]{% + \global\MT@let@nc{MT@#1@c@\MT@curr@set@name @unit}\@empty + \def\@tempa{##1}% + \MT@ifstreq\@tempa{character}\relax{% + \global\MT@let@nc{MT@#1@c@\MT@curr@set@name @unit}\m@ne + \MT@ifstreq\@tempa{space}\relax{% + \MT@ifdimen\@tempa{% + \global\MT@let@nc{MT@#1@c@\MT@curr@set@name @unit}\@tempa + }{% + \MT@warning{`\@tempa' is not a dimension.\MessageBreak + Ignoring it and setting values relative to\MessageBreak + width of space}% + }% + }% + }% + }% +} +\MT@define@key@unit{sp} +\MT@define@key@unit{kn} \def\MT@define@ex@opt@key#1{% \define@key{MT@ex@c}{#1}[]{% \MT@ifempty{##1}\relax{% @@ -2098,7 +2490,8 @@ time will almost certainly lead to undesired results. Have your choice!}% \def\MT@permute{% \let\MT@cnt@encoding\@ne \MT@permute@ - \MT@permute@reset + \MT@map@tlist@n{{encoding}{family}{series}{shape}}\MT@permute@reset + \MT@glet\MT@tempsize\@undefined } \def\MT@permute@{% \let\MT@cnt@family\@ne @@ -2183,14 +2576,7 @@ time will almost certainly lead to undesired results. Have your choice!}% {\MT@edef@n{MT@temp#1}{\csname MT@temp#1\the\@tempcnta\endcsname}}% {\MT@let@nc{MT@temp#1}\@empty}% } -\def\MT@permute@reset{% - \MT@permute@reset@{encoding}% - \MT@permute@reset@{family}% - \MT@permute@reset@{series}% - \MT@permute@reset@{shape}% - \MT@glet\MT@tempsize\@undefined -} -\def\MT@permute@reset@#1{% +\def\MT@permute@reset#1{% \@tempcnta=\@ne \MT@loop \MT@let@nc{MT@temp#1\the\@tempcnta}\@undefined @@ -2288,6 +2674,37 @@ time will almost certainly lead to undesired results. Have your choice!}% \setkeys{MT}{protrusion={#1}}% \setkeys{MT}{expansion={#1}}% } +\def\MT@define@option@#1{% + \define@key{MT}{#1}[true]{% + \csname MT@opt@#1true\endcsname + \MT@map@clist@n{##1}{% + \KV@@sp@def\MT@val{####1}% + \MT@ifempty\MT@val\relax{% + \csname MT@#1true\endcsname + \edef\@tempb{\csname MT@rbba@#1\endcsname}% + \MT@ifstreq\MT@val{true}\relax + {% + \MT@ifstreq\MT@val{false}{% + \csname MT@#1false\endcsname + }{% + \MT@ifdefined@n@TF{MT@\@tempb @set@@\MT@val}{% + \MT@xdef@n{MT@\@tempb @setname}{\MT@val}% + }{% + \MT@xdef@n{MT@\@tempb @setname}% + {\@nameuse{MT@default@\@tempb @set}}% + \MT@warning@nl{% + The #1 set `\MT@val' is undeclared.\MessageBreak + Using set `\@nameuse{MT@\@tempb @setname}' instead}% + }% + }% + }% + }% + }% + }% +} +\MT@define@option@{spacing} +\MT@define@option@{kerning} +\MT@define@option@{tracking} \def\MT@def@bool@opt#1#2{% \define@key{MT}{#1}[]{% \MT@ifempty{##1}% @@ -2305,8 +2722,7 @@ time will almost certainly lead to undesired results. Have your choice!}% }% } \def\MT@def@simple@bool@opt#1{\MT@def@bool@opt{#1}{\csname MT@#1\@tempa\endcsname}} -\MT@map@tlist@n{{draft}{auto}{selected}% -}\MT@def@simple@bool@opt +\MT@map@tlist@n{{draft}{auto}{selected}{babel}}\MT@def@simple@bool@opt \MT@def@bool@opt{DVIoutput}{% \csname if\@tempa\endcsname \ifnum\pdfoutput>\z@ \MT@opt@DVItrue \fi @@ -2364,8 +2780,7 @@ time will almost certainly lead to undesired results. Have your choice!}% }% }% } -\MT@map@tlist@n{{stretch}{shrink}{step}% -}\MT@def@num@opt +\MT@map@tlist@n{{stretch}{shrink}{step}{letterspace}}\MT@def@num@opt \define@key{MT}{factor}[]{% \MT@ifempty{#1}% {\let\@tempa\MT@factor@default}% @@ -2381,12 +2796,6 @@ time will almost certainly lead to undesired results. Have your choice!}% \MT@ifempty{#1}% {\def\@tempa{character}}% {\KV@@sp@def\@tempa{#1}}% - \MT@ifstreq\@tempa{relative}{% - \MT@warning{Value `relative' for option `unit' is deprecated.\MessageBreak - Use `unit=character' instead. For now, I'll do it\MessageBreak - for you}% - \def\@tempa{character}% - }\relax \MT@ifstreq\@tempa{character}\relax{% \MT@ifdimen\@tempa{% \let\MT@pr@unit\@tempa @@ -2428,6 +2837,14 @@ time will almost certainly lead to undesired results. Have your choice!}% \MT@ifdefined@n@TF{MT@default@#1@set}\relax {\MT@gdef@n{MT@default@#1@set}{all}}% } +\def\MT@check@active@set#1{% + \MT@ifdefined@n@TF{MT@#1@setname}{% + \MT@info@nl{Using \@nameuse{MT@abbr@#1} set `\@nameuse{MT@#1@setname}'}% + }{% + \global\MT@let@nn{MT@#1@setname}{MT@default@#1@set}% + \MT@info@nl{Using default \@nameuse{MT@abbr@#1} set `\@nameuse{MT@#1@setname}'}% + } +} \MT@ifdefined@c@T\MicroType@Hook{\MT@warning{% Command \string\MicroType@Hook\space is deprecated.\MessageBreak Use \string\Microtype@Hook\space instead}\MicroType@Hook} @@ -2468,7 +2885,7 @@ time will almost certainly lead to undesired results. Have your choice!}% }% }{% \MT@warning{% - Value `\MT@val' for key `#1' not recognized.\MessageBreak + Value `\MT@val' for key `#1' not recognised.\MessageBreak Use any of `true', `false', `compatibility' or\MessageBreak `nocompatibility'}% }% @@ -2494,6 +2911,47 @@ time will almost certainly lead to undesired results. Have your choice!}% } \MT@define@optionX{protrusion}\pdfprotrudechars \MT@define@optionX{expansion}\pdfadjustspacing +\MT@requires@pdftex6{ + \def\MT@define@optionX@#1#2{% + \define@key{MTX}{#1}[true]{% + \KV@@sp@def\@tempb{#1}% + \MT@map@clist@n{##1}{% + \KV@@sp@def\MT@val{####1}% + \edef\@tempb{\csname MT@rbba@\@tempb\endcsname}% + \MT@ifempty\MT@val\relax{% + \@tempcnta=\m@ne + \MT@ifstreq\MT@val{true}{% + \MT@checksetup\@tempb{% + \@tempcnta=\@ne + \MT@info{Enabling #1}% + }% + }{% + \MT@ifstreq\MT@val{false}{% + \@tempcnta=\z@ + \MT@info{Disabling #1}% + }{% + \MT@warning{% + Value `\MT@val' for key `#1' not recognised.\MessageBreak + Use either `true' or `false'}% + }% + }% + \ifnum\@tempcnta>\m@ne + #2\relax + \fi + }% + }% + }% + } + \MT@define@optionX@{tracking}{\ifnum\@tempcnta=\z@ + \MT@trackingfalse\else\MT@trackingtrue\fi} + \MT@define@optionX@{spacing}{\pdfadjustinterwordglue\@tempcnta} + \MT@define@optionX@{kerning}{\pdfprependkern\@tempcnta + \pdfappendkern \@tempcnta} +}{ + \define@key{MTX}{tracking}[true]{\MT@warning{Ignoring tracking setup}} + \define@key{MTX}{kerning}[true]{\MT@warning{Ignoring kerning setup}} + \define@key{MTX}{spacing}[true]{\MT@warning{Ignoring spacing setup}} +} \define@key{MTX}{activate}[true]{% \setkeys{MTX}{protrusion={#1}}% \setkeys{MTX}{expansion={#1}}% @@ -2509,21 +2967,21 @@ time will almost certainly lead to undesired results. Have your choice!}% } \def\MT@ProcessOptionsWithKV#1{% \let\@tempc\relax - \let\KVo@tempa\@empty + \let\MT@temp\@empty \MT@map@clist@c\@classoptionslist{% \def\CurrentOption{##1}% \MT@ifdefined@n@T{KV@#1@\CurrentOption}{% - \edef\KVo@tempa{\KVo@tempa,\CurrentOption,}% + \edef\MT@temp{\MT@temp,\CurrentOption,}% \@expandtwoargs\@removeelement\CurrentOption \@unusedoptionlist\@unusedoptionlist }% }% - \edef\KVo@tempa{% + \edef\MT@temp{% \noexpand\setkeys{#1}{% - \KVo@tempa\@ptionlist{\@currname.\@currext}% + \MT@temp\@ptionlist{\@currname.\@currext}% }% }% - \KVo@tempa + \MT@temp \AtEndOfPackage{\let\@unprocessedoptions\relax}% \let\CurrentOption\@empty } @@ -2535,11 +2993,18 @@ time will almost certainly lead to undesired results. Have your choice!}% This might lead to different line and page breaks} \MT@protrusionfalse \MT@expansionfalse + \MT@trackingfalse + \MT@spacingfalse + \MT@kerningfalse + \MT@babelfalse \let\MT@setupfont\relax \def\DeclareMicrotypeSet#1#{\@gobbletwo} \renewcommand*\UseMicrotypeSet[2][]{} \renewcommand*\SetProtrusion[3][]{} \renewcommand*\SetExpansion[3][]{} + \renewcommand*\SetTracking[3][]{} + \renewcommand*\SetExtraSpacing[3][]{} + \renewcommand*\SetExtraKerning[3][]{} \renewcommand*\DeclareCharacterInheritance[3][]{} \renewcommand*\DeclareMicrotypeAlias[2]{} \renewcommand*\LoadMicrotypeFile[1]{} @@ -2553,6 +3018,7 @@ time will almost certainly lead to undesired results. Have your choice!}% \fi \MT@info@nl{Generating \ifnum\pdfoutput<\@ne DVI \else PDF \fi output% \ifMT@opt@DVI\space (changed by \MT@MT)\fi}% + \MT@map@tlist@c\MT@font@sets\MT@fix@font@set \ifMT@protrusion \edef\MT@active@features{\MT@active@features,pr} \pdfprotrudechars\MT@pr@level @@ -2560,12 +3026,7 @@ time will almost certainly lead to undesired results. Have your choice!}% \ifnum\MT@pr@factor=\MT@factor@default \else,\MessageBreak factor: \number\MT@pr@factor\fi \ifx\MT@pr@unit\@empty \else,\MessageBreak unit: \MT@pr@unit\fi} - \MT@ifdefined@c@TF\MT@pr@setname{% - \MT@info@nl{Using protrusion set `\MT@pr@setname'}% - }{% - \MT@glet\MT@pr@setname\MT@default@pr@set - \MT@info@nl{Using default protrusion set `\MT@pr@setname'}% - } + \MT@check@active@set{pr} \else \let\MT@protrusion\relax \MT@info@nl{No character protrusion} @@ -2655,12 +3116,7 @@ time will almost certainly lead to undesired results. Have your choice!}% (level \number\MT@ex@level),\MessageBreak stretch: \number\MT@stretch, shrink: \number\MT@shrink, step: \number\MT@step, \ifMT@selected\else non-\fi selected} - \MT@ifdefined@c@TF\MT@ex@setname{% - \MT@info@nl{Using expansion set `\MT@ex@setname'}% - }{% - \MT@glet\MT@ex@setname\MT@default@ex@set - \MT@info@nl{Using default expansion set `\MT@ex@setname'}% - } + \MT@check@active@set{ex} \CheckCommand*\showhyphens[1]{\setbox0\vbox{% \color@begingroup\everypar{}\parfillskip\z@skip \hsize\maxdimen\normalfont\pretolerance\m@ne\tolerance\m@ne @@ -2673,14 +3129,149 @@ time will almost certainly lead to undesired results. Have your choice!}% \let\MT@expansion\relax \MT@info@nl{No font expansion} \fi -\fi } +\MT@requires@pdftex6{ +\MT@addto@setup{% + \ifMT@tracking + \edef\MT@active@features{\MT@active@features,tr} + \MT@info@nl{Tracking enabled} + \MT@check@active@set{tr} + \else + \let\MT@tracking\relax + \MT@info@nl{No tracking} + \fi + \ifMT@spacing + \edef\MT@active@features{\MT@active@features,sp} + \pdfadjustinterwordglue\@ne + \MT@info@nl{Adjustment of interword spacing enabled} + \MT@check@active@set{sp} + \else + \let\MT@spacing\relax + \MT@info@nl{No adjustment of interword spacing} + \fi + \ifMT@kerning + \edef\MT@active@features{\MT@active@features,kn} + \pdfprependkern\@ne + \pdfappendkern\@ne + \MT@info@nl{Adjustment of character kerning enabled} + \MT@check@active@set{kn} + \else + \let\MT@kerning\relax + \MT@info@nl{No adjustment of character kerning} + \fi + \ifnum\MT@letterspace=\m@ne + \let\MT@letterspace\MT@letterspace@default + \fi + } +}{ + \MT@addto@setup{% + \ifMT@tracking + \MT@warning@nl{Tracking only works with pdftex version 1.40\MessageBreak + or newer. Switching it off}% + \else + \MT@info@nl{No tracking (pdftex too old)} + \fi + \MT@trackingfalse + \let\MT@tracking\relax + \ifMT@spacing + \MT@warning@nl{Adjustment of interword spacing only works with\MessageBreak + pdftex version 1.40 or newer. Switching it off}% + \else + \MT@info@nl{No adjustment of interword spacing (pdftex too old)} + \fi + \MT@spacingfalse + \let\MT@spacing\relax + \ifMT@kerning + \MT@warning@nl{Character kerning only works with\MessageBreak + pdftex version 1.40 or newer. Switching it off}% + \else + \MT@info@nl{No adjustment of character kerning (pdftex too old)} + \fi + \MT@kerningfalse + \let\MT@kerning\relax + } +} +\MT@requires@pdftex6{ + \AtBeginDocument{% + \ifMT@spacing + \ifMT@babel \else + \ifnum\sfcode`\. > 1500 + \MT@ifstreq\MT@sp@context{nonfrench}\relax{% + \MT@warning@nl{% + \string\nonfrenchspacing\space is active. Adjustment of\MessageBreak + interword spacing will disable it. You might want\MessageBreak + to add `\@backslashchar\MT@MT context{spacing=nonfrench}'\MessageBreak + to your preamble}% + }% + \fi + \fi + \fi + } +}\relax +\MT@requires@pdftex5{ + \MT@addto@setup{% + \ifMT@noligatures \else + \let\MT@noligatures\relax + \fi + } +}\relax \MT@addto@setup{% \ifx\MT@active@features\@empty \else \edef\MT@active@features{\expandafter\@gobble\MT@active@features} \fi \MT@documenttrue } +\def\MT@set@babel@context#1{% + \MT@ifdefined@n@TF{MT@babel@#1}{% + \MT@vinfo{*** Changing to language context `#1'\MessageBreak\on@line}% + \expandafter\MT@exp@one@n\expandafter\microtypecontext + \csname MT@babel@#1\endcsname + }{% + \microtypecontext{protrusion=,expansion=,spacing=,kerning=}% + }% +} +\@ifpackageloaded{babel}{ + \def\MT@shorthandoff#1#2{% + \MT@info@nl{Switching off #1 babel's active characters}% + \shorthandoff{#2}} +}{ + \def\MT@shorthandoff#1#2{% + \MT@error{You must load the `babel' package before microtype} + {Otherwise, I cannot switch off the active characters + for #1 babel.}} +} +\MT@addto@setup{% + \ifMT@babel + \@ifpackageloaded{babel}{% + \MT@info@nl{Redefining babel's language switching commands} + \let\MT@orig@select@language\select@language + \def\select@language#1{% + \MT@orig@select@language{#1}% + \MT@set@babel@context{#1}% + } + \let\MT@orig@foreign@language\foreign@language + \def\foreign@language#1{% + \MT@orig@foreign@language{#1}% + \MT@set@babel@context{#1}% + } + \ifMT@kerning + \MT@if@false + \MT@with@babel@and{french} \MT@if@true + \MT@with@babel@and{frenchb} \MT@if@true + \MT@with@babel@and{francais}\MT@if@true + \MT@with@babel@and{acadian} \MT@if@true + \MT@with@babel@and{canadien}\MT@if@true + \ifMT@if@\MT@shorthandoff{French}{;:!?}\fi + \MT@with@babel@and{turkish}{\MT@shorthandoff{Turkish}{:!=}} + \fi + \MT@set@babel@context\languagename + }{% + \MT@warning@nl{You did not load the babel package.\MessageBreak + The `babel' option won't have any effect} + } + \fi +} +\MT@addto@setup\fi \AtBeginDocument\selectfont \edef\MT@curr@file{\jobname.tex} \endinput diff --git a/Master/texmf-dist/tex/latex/microtype/mt-bch.cfg b/Master/texmf-dist/tex/latex/microtype/mt-bch.cfg index bfa9e97a582..059ef4e1d17 100644 --- a/Master/texmf-dist/tex/latex/microtype/mt-bch.cfg +++ b/Master/texmf-dist/tex/latex/microtype/mt-bch.cfg @@ -9,7 +9,7 @@ %% ------------------------------------------------------------------------ %% The `microtype' package %% An interface to the micro-typographic extensions of pdfTeX -%% Copyright (c) 2004--2006 R Schlicht +%% Copyright (c) 2004--2007 R Schlicht %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3c of this license or (at @@ -20,12 +20,14 @@ %% This work has the LPPL maintenance status `author-maintained'. %% %% This work consists of the files microtype.dtx and microtype.ins and the -%% derived file microtype.sty. +%% derived files microtype.sty and letterspace.sty. %% %% ------------------------------------------------------------------------ %% This is a font-specific configuration file for the `microtype' %% package. It may contain settings for font expansion and character -%% protrusion. Please consult the documentation for details. +%% protrusion, interword spacing and additional kerning, as well as +%% character inheritance declarations. +%% Please consult the documentation for details. %% %% If you think you have found improvements to these settings, please %% let me know. diff --git a/Master/texmf-dist/tex/latex/microtype/mt-cmr.cfg b/Master/texmf-dist/tex/latex/microtype/mt-cmr.cfg index 1e5279f839c..90271984441 100644 --- a/Master/texmf-dist/tex/latex/microtype/mt-cmr.cfg +++ b/Master/texmf-dist/tex/latex/microtype/mt-cmr.cfg @@ -9,7 +9,7 @@ %% ------------------------------------------------------------------------ %% The `microtype' package %% An interface to the micro-typographic extensions of pdfTeX -%% Copyright (c) 2004--2006 R Schlicht +%% Copyright (c) 2004--2007 R Schlicht %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3c of this license or (at @@ -20,12 +20,14 @@ %% This work has the LPPL maintenance status `author-maintained'. %% %% This work consists of the files microtype.dtx and microtype.ins and the -%% derived file microtype.sty. +%% derived files microtype.sty and letterspace.sty. %% %% ------------------------------------------------------------------------ %% This is a font-specific configuration file for the `microtype' %% package. It may contain settings for font expansion and character -%% protrusion. Please consult the documentation for details. +%% protrusion, interword spacing and additional kerning, as well as +%% character inheritance declarations. +%% Please consult the documentation for details. %% %% If you think you have found improvements to these settings, please %% let me know. diff --git a/Master/texmf-dist/tex/latex/microtype/mt-euf.cfg b/Master/texmf-dist/tex/latex/microtype/mt-euf.cfg index 6f2e5c972e0..2d5b241cc24 100644 --- a/Master/texmf-dist/tex/latex/microtype/mt-euf.cfg +++ b/Master/texmf-dist/tex/latex/microtype/mt-euf.cfg @@ -9,7 +9,7 @@ %% ------------------------------------------------------------------------ %% The `microtype' package %% An interface to the micro-typographic extensions of pdfTeX -%% Copyright (c) 2004--2006 R Schlicht +%% Copyright (c) 2004--2007 R Schlicht %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3c of this license or (at @@ -20,12 +20,14 @@ %% This work has the LPPL maintenance status `author-maintained'. %% %% This work consists of the files microtype.dtx and microtype.ins and the -%% derived file microtype.sty. +%% derived files microtype.sty and letterspace.sty. %% %% ------------------------------------------------------------------------ %% This is a font-specific configuration file for the `microtype' %% package. It may contain settings for font expansion and character -%% protrusion. Please consult the documentation for details. +%% protrusion, interword spacing and additional kerning, as well as +%% character inheritance declarations. +%% Please consult the documentation for details. %% %% If you think you have found improvements to these settings, please %% let me know. diff --git a/Master/texmf-dist/tex/latex/microtype/mt-eur.cfg b/Master/texmf-dist/tex/latex/microtype/mt-eur.cfg index b01eb32268b..dfc2f150fc5 100644 --- a/Master/texmf-dist/tex/latex/microtype/mt-eur.cfg +++ b/Master/texmf-dist/tex/latex/microtype/mt-eur.cfg @@ -9,7 +9,7 @@ %% ------------------------------------------------------------------------ %% The `microtype' package %% An interface to the micro-typographic extensions of pdfTeX -%% Copyright (c) 2004--2006 R Schlicht +%% Copyright (c) 2004--2007 R Schlicht %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3c of this license or (at @@ -20,12 +20,14 @@ %% This work has the LPPL maintenance status `author-maintained'. %% %% This work consists of the files microtype.dtx and microtype.ins and the -%% derived file microtype.sty. +%% derived files microtype.sty and letterspace.sty. %% %% ------------------------------------------------------------------------ %% This is a font-specific configuration file for the `microtype' %% package. It may contain settings for font expansion and character -%% protrusion. Please consult the documentation for details. +%% protrusion, interword spacing and additional kerning, as well as +%% character inheritance declarations. +%% Please consult the documentation for details. %% %% If you think you have found improvements to these settings, please %% let me know. diff --git a/Master/texmf-dist/tex/latex/microtype/mt-euroitc.cfg b/Master/texmf-dist/tex/latex/microtype/mt-euroitc.cfg index 84f596aee23..97c8f2549cd 100644 --- a/Master/texmf-dist/tex/latex/microtype/mt-euroitc.cfg +++ b/Master/texmf-dist/tex/latex/microtype/mt-euroitc.cfg @@ -9,7 +9,7 @@ %% ------------------------------------------------------------------------ %% The `microtype' package %% An interface to the micro-typographic extensions of pdfTeX -%% Copyright (c) 2004--2006 R Schlicht +%% Copyright (c) 2004--2007 R Schlicht %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3c of this license or (at @@ -20,12 +20,14 @@ %% This work has the LPPL maintenance status `author-maintained'. %% %% This work consists of the files microtype.dtx and microtype.ins and the -%% derived file microtype.sty. +%% derived files microtype.sty and letterspace.sty. %% %% ------------------------------------------------------------------------ %% This is a font-specific configuration file for the `microtype' %% package. It may contain settings for font expansion and character -%% protrusion. Please consult the documentation for details. +%% protrusion, interword spacing and additional kerning, as well as +%% character inheritance declarations. +%% Please consult the documentation for details. %% %% If you think you have found improvements to these settings, please %% let me know. diff --git a/Master/texmf-dist/tex/latex/microtype/mt-eus.cfg b/Master/texmf-dist/tex/latex/microtype/mt-eus.cfg index 6badc694ebb..a74239ec386 100644 --- a/Master/texmf-dist/tex/latex/microtype/mt-eus.cfg +++ b/Master/texmf-dist/tex/latex/microtype/mt-eus.cfg @@ -9,7 +9,7 @@ %% ------------------------------------------------------------------------ %% The `microtype' package %% An interface to the micro-typographic extensions of pdfTeX -%% Copyright (c) 2004--2006 R Schlicht +%% Copyright (c) 2004--2007 R Schlicht %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3c of this license or (at @@ -20,12 +20,14 @@ %% This work has the LPPL maintenance status `author-maintained'. %% %% This work consists of the files microtype.dtx and microtype.ins and the -%% derived file microtype.sty. +%% derived files microtype.sty and letterspace.sty. %% %% ------------------------------------------------------------------------ %% This is a font-specific configuration file for the `microtype' %% package. It may contain settings for font expansion and character -%% protrusion. Please consult the documentation for details. +%% protrusion, interword spacing and additional kerning, as well as +%% character inheritance declarations. +%% Please consult the documentation for details. %% %% If you think you have found improvements to these settings, please %% let me know. diff --git a/Master/texmf-dist/tex/latex/microtype/mt-msa.cfg b/Master/texmf-dist/tex/latex/microtype/mt-msa.cfg index 309abf253cb..0df962c4575 100644 --- a/Master/texmf-dist/tex/latex/microtype/mt-msa.cfg +++ b/Master/texmf-dist/tex/latex/microtype/mt-msa.cfg @@ -9,7 +9,7 @@ %% ------------------------------------------------------------------------ %% The `microtype' package %% An interface to the micro-typographic extensions of pdfTeX -%% Copyright (c) 2004--2006 R Schlicht +%% Copyright (c) 2004--2007 R Schlicht %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3c of this license or (at @@ -20,12 +20,14 @@ %% This work has the LPPL maintenance status `author-maintained'. %% %% This work consists of the files microtype.dtx and microtype.ins and the -%% derived file microtype.sty. +%% derived files microtype.sty and letterspace.sty. %% %% ------------------------------------------------------------------------ %% This is a font-specific configuration file for the `microtype' %% package. It may contain settings for font expansion and character -%% protrusion. Please consult the documentation for details. +%% protrusion, interword spacing and additional kerning, as well as +%% character inheritance declarations. +%% Please consult the documentation for details. %% %% If you think you have found improvements to these settings, please %% let me know. diff --git a/Master/texmf-dist/tex/latex/microtype/mt-msb.cfg b/Master/texmf-dist/tex/latex/microtype/mt-msb.cfg index 2d3aabd41f0..c67596f523e 100644 --- a/Master/texmf-dist/tex/latex/microtype/mt-msb.cfg +++ b/Master/texmf-dist/tex/latex/microtype/mt-msb.cfg @@ -9,7 +9,7 @@ %% ------------------------------------------------------------------------ %% The `microtype' package %% An interface to the micro-typographic extensions of pdfTeX -%% Copyright (c) 2004--2006 R Schlicht +%% Copyright (c) 2004--2007 R Schlicht %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3c of this license or (at @@ -20,12 +20,14 @@ %% This work has the LPPL maintenance status `author-maintained'. %% %% This work consists of the files microtype.dtx and microtype.ins and the -%% derived file microtype.sty. +%% derived files microtype.sty and letterspace.sty. %% %% ------------------------------------------------------------------------ %% This is a font-specific configuration file for the `microtype' %% package. It may contain settings for font expansion and character -%% protrusion. Please consult the documentation for details. +%% protrusion, interword spacing and additional kerning, as well as +%% character inheritance declarations. +%% Please consult the documentation for details. %% %% If you think you have found improvements to these settings, please %% let me know. diff --git a/Master/texmf-dist/tex/latex/microtype/mt-mvs.cfg b/Master/texmf-dist/tex/latex/microtype/mt-mvs.cfg index f2198f8dad0..cfe2441bc22 100644 --- a/Master/texmf-dist/tex/latex/microtype/mt-mvs.cfg +++ b/Master/texmf-dist/tex/latex/microtype/mt-mvs.cfg @@ -9,7 +9,7 @@ %% ------------------------------------------------------------------------ %% The `microtype' package %% An interface to the micro-typographic extensions of pdfTeX -%% Copyright (c) 2004--2006 R Schlicht +%% Copyright (c) 2004--2007 R Schlicht %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3c of this license or (at @@ -20,12 +20,14 @@ %% This work has the LPPL maintenance status `author-maintained'. %% %% This work consists of the files microtype.dtx and microtype.ins and the -%% derived file microtype.sty. +%% derived files microtype.sty and letterspace.sty. %% %% ------------------------------------------------------------------------ %% This is a font-specific configuration file for the `microtype' %% package. It may contain settings for font expansion and character -%% protrusion. Please consult the documentation for details. +%% protrusion, interword spacing and additional kerning, as well as +%% character inheritance declarations. +%% Please consult the documentation for details. %% %% If you think you have found improvements to these settings, please %% let me know. diff --git a/Master/texmf-dist/tex/latex/microtype/mt-pad.cfg b/Master/texmf-dist/tex/latex/microtype/mt-pad.cfg index 06caa1d0c6d..2941faff471 100644 --- a/Master/texmf-dist/tex/latex/microtype/mt-pad.cfg +++ b/Master/texmf-dist/tex/latex/microtype/mt-pad.cfg @@ -9,7 +9,7 @@ %% ------------------------------------------------------------------------ %% The `microtype' package %% An interface to the micro-typographic extensions of pdfTeX -%% Copyright (c) 2004--2006 R Schlicht +%% Copyright (c) 2004--2007 R Schlicht %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3c of this license or (at @@ -20,12 +20,14 @@ %% This work has the LPPL maintenance status `author-maintained'. %% %% This work consists of the files microtype.dtx and microtype.ins and the -%% derived file microtype.sty. +%% derived files microtype.sty and letterspace.sty. %% %% ------------------------------------------------------------------------ %% This is a font-specific configuration file for the `microtype' %% package. It may contain settings for font expansion and character -%% protrusion. Please consult the documentation for details. +%% protrusion, interword spacing and additional kerning, as well as +%% character inheritance declarations. +%% Please consult the documentation for details. %% %% If you think you have found improvements to these settings, please %% let me know. diff --git a/Master/texmf-dist/tex/latex/microtype/mt-pmn.cfg b/Master/texmf-dist/tex/latex/microtype/mt-pmn.cfg index 419284da9dc..80b643d3c3b 100644 --- a/Master/texmf-dist/tex/latex/microtype/mt-pmn.cfg +++ b/Master/texmf-dist/tex/latex/microtype/mt-pmn.cfg @@ -9,7 +9,7 @@ %% ------------------------------------------------------------------------ %% The `microtype' package %% An interface to the micro-typographic extensions of pdfTeX -%% Copyright (c) 2004--2006 R Schlicht +%% Copyright (c) 2004--2007 R Schlicht %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3c of this license or (at @@ -20,12 +20,14 @@ %% This work has the LPPL maintenance status `author-maintained'. %% %% This work consists of the files microtype.dtx and microtype.ins and the -%% derived file microtype.sty. +%% derived files microtype.sty and letterspace.sty. %% %% ------------------------------------------------------------------------ %% This is a font-specific configuration file for the `microtype' %% package. It may contain settings for font expansion and character -%% protrusion. Please consult the documentation for details. +%% protrusion, interword spacing and additional kerning, as well as +%% character inheritance declarations. +%% Please consult the documentation for details. %% %% If you think you have found improvements to these settings, please %% let me know. diff --git a/Master/texmf-dist/tex/latex/microtype/mt-ppl.cfg b/Master/texmf-dist/tex/latex/microtype/mt-ppl.cfg index f0f5faead00..2a50f6584f9 100644 --- a/Master/texmf-dist/tex/latex/microtype/mt-ppl.cfg +++ b/Master/texmf-dist/tex/latex/microtype/mt-ppl.cfg @@ -9,7 +9,7 @@ %% ------------------------------------------------------------------------ %% The `microtype' package %% An interface to the micro-typographic extensions of pdfTeX -%% Copyright (c) 2004--2006 R Schlicht +%% Copyright (c) 2004--2007 R Schlicht %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3c of this license or (at @@ -20,12 +20,14 @@ %% This work has the LPPL maintenance status `author-maintained'. %% %% This work consists of the files microtype.dtx and microtype.ins and the -%% derived file microtype.sty. +%% derived files microtype.sty and letterspace.sty. %% %% ------------------------------------------------------------------------ %% This is a font-specific configuration file for the `microtype' %% package. It may contain settings for font expansion and character -%% protrusion. Please consult the documentation for details. +%% protrusion, interword spacing and additional kerning, as well as +%% character inheritance declarations. +%% Please consult the documentation for details. %% %% If you think you have found improvements to these settings, please %% let me know. diff --git a/Master/texmf-dist/tex/latex/microtype/mt-ptm.cfg b/Master/texmf-dist/tex/latex/microtype/mt-ptm.cfg index d6a4941e096..a824e87d911 100644 --- a/Master/texmf-dist/tex/latex/microtype/mt-ptm.cfg +++ b/Master/texmf-dist/tex/latex/microtype/mt-ptm.cfg @@ -9,7 +9,7 @@ %% ------------------------------------------------------------------------ %% The `microtype' package %% An interface to the micro-typographic extensions of pdfTeX -%% Copyright (c) 2004--2006 R Schlicht +%% Copyright (c) 2004--2007 R Schlicht %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3c of this license or (at @@ -20,12 +20,14 @@ %% This work has the LPPL maintenance status `author-maintained'. %% %% This work consists of the files microtype.dtx and microtype.ins and the -%% derived file microtype.sty. +%% derived files microtype.sty and letterspace.sty. %% %% ------------------------------------------------------------------------ %% This is a font-specific configuration file for the `microtype' %% package. It may contain settings for font expansion and character -%% protrusion. Please consult the documentation for details. +%% protrusion, interword spacing and additional kerning, as well as +%% character inheritance declarations. +%% Please consult the documentation for details. %% %% If you think you have found improvements to these settings, please %% let me know. diff --git a/Master/texmf-dist/tex/latex/microtype/mt-ugm.cfg b/Master/texmf-dist/tex/latex/microtype/mt-ugm.cfg index c5e34a8c8b1..8066b5a1492 100644 --- a/Master/texmf-dist/tex/latex/microtype/mt-ugm.cfg +++ b/Master/texmf-dist/tex/latex/microtype/mt-ugm.cfg @@ -9,7 +9,7 @@ %% ------------------------------------------------------------------------ %% The `microtype' package %% An interface to the micro-typographic extensions of pdfTeX -%% Copyright (c) 2004--2006 R Schlicht +%% Copyright (c) 2004--2007 R Schlicht %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3c of this license or (at @@ -20,12 +20,14 @@ %% This work has the LPPL maintenance status `author-maintained'. %% %% This work consists of the files microtype.dtx and microtype.ins and the -%% derived file microtype.sty. +%% derived files microtype.sty and letterspace.sty. %% %% ------------------------------------------------------------------------ %% This is a font-specific configuration file for the `microtype' %% package. It may contain settings for font expansion and character -%% protrusion. Please consult the documentation for details. +%% protrusion, interword spacing and additional kerning, as well as +%% character inheritance declarations. +%% Please consult the documentation for details. %% %% If you think you have found improvements to these settings, please %% let me know. diff --git a/Master/texmf-dist/tex/latex/microtype/mt-zpeu.cfg b/Master/texmf-dist/tex/latex/microtype/mt-zpeu.cfg index 2d0634b3292..c9cc997b20c 100644 --- a/Master/texmf-dist/tex/latex/microtype/mt-zpeu.cfg +++ b/Master/texmf-dist/tex/latex/microtype/mt-zpeu.cfg @@ -9,7 +9,7 @@ %% ------------------------------------------------------------------------ %% The `microtype' package %% An interface to the micro-typographic extensions of pdfTeX -%% Copyright (c) 2004--2006 R Schlicht +%% Copyright (c) 2004--2007 R Schlicht %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3c of this license or (at @@ -20,12 +20,14 @@ %% This work has the LPPL maintenance status `author-maintained'. %% %% This work consists of the files microtype.dtx and microtype.ins and the -%% derived file microtype.sty. +%% derived files microtype.sty and letterspace.sty. %% %% ------------------------------------------------------------------------ %% This is a font-specific configuration file for the `microtype' %% package. It may contain settings for font expansion and character -%% protrusion. Please consult the documentation for details. +%% protrusion, interword spacing and additional kerning, as well as +%% character inheritance declarations. +%% Please consult the documentation for details. %% %% If you think you have found improvements to these settings, please %% let me know. -- cgit v1.2.3