Debian Codegraph @

texmf-dist/tex/generic/tex4ht/microtype.4ht

raw
1 % microtype.4ht (2024-04-24-15:10), generated from tex4ht-4ht.tex
2 % Copyright 2007-2009 Eitan M. Gurari
3 % Copyright 2009-2024 TeX Users Group
4 %
5 % This work may be distributed and/or modified under the
6 % conditions of the LaTeX Project Public License, either
7 % version 1.3c of this license or (at your option) any
8 % later version. The latest version of this license is in
9 % http://www.latex-project.org/lppl.txt
10 % and version 1.3c or later is part of all distributions
11 % of LaTeX version 2005/12/01 or later.
12 %
13 % This work has the LPPL maintenance status "maintained".
14 %
15 % The Current Maintainer of this work
16 % is the TeX4ht Project <http://tug.org/tex4ht>.
17 %
18 % If you modify this program, changing the
19 % version identification would be appreciated.
20 \immediate\write-1{version 2024-04-24-15:10}
21
22 \MT@protrusionfalse
23 \MT@expansionfalse
24 \let\MT@setupfont\relax
25 \let\microtypesetup\@gobble
26 \renewcommand{\UseMicroTypeSet}[2][]{}
27 \renewcommand{\SetProtrusion}[3][]{}
28 \renewcommand{\SetExpansion}[3][]{}
29
30 \NewConfigure{textls}{2}
31 \ExplSyntaxOn
32 \ifx\MT@letterspace\m@ne
33 \edef\:letterspacedefault{\fp_eval:n{\MT@letterspace@default/1000}}
34 \else
35 \edef\:letterspacedefault{\fp_eval:n{\MT@letterspace/1000}}
36 \fi
37 \providecommand\:textls[2][]{%
38 \begingroup%
39 \ifx\relax#1\relax\else%
40 \edef\:letterspacing{\fp_eval:n{#1/1000}}%
41 \fi%
42 \a:textls%
43 #2%
44 \b:textls%
45 \endgroup%
46 }
47 \ExplSyntaxOff
48 \HLet\MT@textls\:textls
49
50 \Hinput{microtype}
51 \endinput
52