10.07.2015 Views

The microtype package

The microtype package

The microtype package

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

IMPLEMENTATION: Package options 129\MT@check@step\showhyphens4282 \MT@requires@pdftex4\relax{%4283 \def\MT@auto{1000 }%4284 }%4285 4286 \fiChoose the appropriate macro for selected expansion.4287 \ifMT@selected4288 \let\MT@set@ex@codes\MT@set@ex@codes@s4289 \else4290 \let\MT@set@ex@codes\MT@set@ex@codes@n4291 \fiFilter out stretch=0,shrink=0, since it would result in a pdfTEX error.4292 \ifnum\MT@stretch=\z@4293 \ifnum\MT@shrink=\z@4294 \MT@warning@nl{%4295 Both the stretch and shrink limit are set to zero.\MessageBreak4296 Disabling font expansion}%4297 \MT@expansionfalse4298 \fi4299 \fi4300 \fi4301 \ifMT@expansion4302 \edef\MT@active@features{\MT@active@features,ex}%4303 \MT@adjustspacing\MT@ex@level4304 \MT@info@nl{\ifMT@auto A\else Non-a\fi utomatic font expansion enabled4305 (level \number\MT@ex@level),\MessageBreak4306 stretch: \number\MT@stretch, shrink: \number\MT@shrink,4307 step: \number\MT@step, \ifMT@selected\else non-\fi selected}%Check whether stretch and shrink are multiples of step.4308 \def\MT@check@step##1{%4309 \@tempcnta=\csname MT@##1\endcsname4310 \divide\@tempcnta \MT@step4311 \multiply\@tempcnta \MT@step4312 \ifnum\@tempcnta=\csname MT@##1\endcsname\else4313 \MT@warning@nl{<strong>The</strong> ##1 amount is not a multiple of step.\MessageBreak4314 <strong>The</strong> effective maximum ##1 is \the\@tempcnta\space4315 (step \number\MT@step)}%4316 \fi4317 }%4318 \MT@check@step{stretch}%4319 \MT@check@step{shrink}%4320 \MT@check@active@set{ex}%Inside \showhyphens, font expansion should be disabled.4321 \CheckCommand*\showhyphens[1]{\setbox0\vbox{%4322 \color@begingroup\everypar{}\parfillskip\z@skip4323 \hsize\maxdimen\normalfont\pretolerance\m@ne\tolerance\m@ne4324 \hbadness\z@\showboxdepth\z@\ ##1\color@endgroup}}%I wonder why it’s defined globally (in ltfssbas.dtx)?4325 \gdef\showhyphens##1{\setbox0\vbox{%4326 \color@begingroup\pdfadjustspacing\z@\everypar{}\parfillskip\z@skip4327 \hsize\maxdimen\normalfont\pretolerance\m@ne\tolerance\m@ne4328 \hbadness\z@\showboxdepth\z@\ ##1\color@endgroup}}%4329 \else4330 \let\MT@expansion\relax4331 \MT@info@nl{No font expansion}%4332 \fi4333 }4334 4335 4336 \def\MT@setup@expansion{%

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!