Download The microtype package
Transcript
IMPLEMENTATION: Package options
117
\MT@ifdim\@tempb={#1}\MT@if@true\relax
}{%
• Item in list is a simple size, new item is a range.
\MT@ifdim\@tempb>{#1}\relax{%
\MT@ifdim\@tempc>{#1}{%
\MT@if@true
\edef\@tempb{#1 (with range: \@tempb\space to \@tempc)}%
}\relax
}%
}%
}{%
\MT@ifdim\@tempc=\m@ne{%
• Item in list is a range, new item is a simple size.
\MT@ifdim\@tempb<{#2}{%
\MT@ifdim\@tempb<{#1}\relax\MT@if@true
}\relax
}{%
• Both items are ranges.
\MT@ifdim\@tempb<{#2}{%
\MT@ifdim\@tempc>{#1}{%
\MT@if@true
\edef\@tempb{#1 to #2 (with range: \@tempb\space to \@tempc)}%
}\relax
}\relax
}%
}%
\ifMT@if@
\MT@warning{\@nameuse{MT@abbr@\MT@permutelist} list
‘\@nameuse{MT@\MT@permutelist @name}’ will override\MessageBreak
list ‘#3’ for font \@tempa,\MessageBreak size \@tempb}%
If we’ve already found a conflict with this item, we can skip the rest of the list.
}
\expandafter\MT@tlist@break
\fi
14.4 Package options
14.4.1
\ifMT@opt@expansion
\ifMT@opt@auto
\ifMT@opt@DVI
\MT@optwarn@admissible
Declaring the options
Keep track of whether the user explicitly set these options.
\newif\ifMT@opt@expansion
\newif\ifMT@opt@auto
\newif\ifMT@opt@DVI
Some warnings.
\def\MT@optwarn@admissible#1#2{%
\MT@warning@nl{‘#1’ is not an admissible value for option\MessageBreak
‘#2’. Assuming ‘false’}%
}
\MT@optwarn@nan
h/packagei