%%
%% This is file `synthslant-gauge.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% synthslant.dtx  (with options: `gauge')
%% 
%% This is a generated file.
%% 
%% Copyright (C) 2024, 2025 by Ch. L. Spiel
%% 
%% 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
%%     https://www.latex-project.org/lppl.txt
%% and version 1.3c or later is part of all distributions of LaTeX
%% version 2003/12/01 or later.
%% 
%% This work has the LPPL maintenance status `maintained'.
%% 
%% The Current Maintainer of this work is Ch. L. Spiel.
%% 
%% This work consists of the files synthslant.dtx and synthslant.ins
%% and the derived files synthslant.sty, synthslant-gauge.tex,
%% shear-transform.mp, and title.mp.
%% 
%% 
\documentclass[a4paper]{article}

\usepackage{booktabs}
\usepackage[tracking=alltext, letterspace=0, verbose]{microtype}
\usepackage{multicol}
\usepackage{parskip}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%%  Setup SynthSlant and Load Font
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\usepackage[]{synthslant}% auto/disable; fontspec/l3draw/pdf/ps/tikz

%%
%%  All LaTeX Variants
%%
\usepackage[T1]{fontenc}
%%--\usepackage{ebgaramond}\def\synthslant{.3}\def\synthnegslant{-.27}
%%--\usepackage{librecaslon}\def\synthslant{.38}\def\synthnegslant{-.33}
%%--\usepackage{merriweather}\def\synthslant{.14}\def\synthnegslant{-.12}
\usepackage{mlmodern}\def\synthslant{.23}\def\synthnegslant{-.21}
%%--\usepackage{spectral}\def\synthslant{.18}\def\synthnegslant{-.15}

%%
%%  Requires e.g. LuaLaTeX
%%
%%--\usepackage{CharisSIL}% say: `make LATEX=lualatex gauge'

%%
%%  Preload a reasonable font (triple?) if we work with fontspec
%%  and have not already done so, e.g., by saying `\usepackage{...}'.
%%
\ExplSyntaxOn
\sys_if_engine_luatex:T
  {
    \cs_if_exist:NTF \l_fontspec_font
      {}
      {
        \setmainfont{TeX Gyre Pagella}
        \def\synthslant{.16}
        \def\synthnegslant{-.14}
      }
  }
\ExplSyntaxOff

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%%  End Setup/Load Font
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\renewcommand*{\arraystretch}{1.12}

\newcommand*{\code}[1]{\texttt{#1}}

\newcommand*{\cs}[1]{\texttt{\char`\\#1}}

\newcommand*{\doublealphabet}
            {ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789}
\newcommand*{\doublealphabethyp}
            {A\-B\-C\-D\-E\-F\-G\-H\-I\-J\-K\-L\-M\-N\-O\-P\-Q\-R\-S\-T\-U\-V\-W\-X\-Y\-Z\-%
              a\-b\-c\-d\-e\-f\-g\-h\-i\-j\-k\-l\-m\-n\-o\-p\-q\-r\-s\-t\-u\-v\-w\-x\-y\-z\-%
              0\-1\-2\-3\-4\-5\-6\-7\-8\-9}

\newcommand*{\fontsample}{aefgiv}
\newcommand*{\FontSample}{White Handgloves}
\newcommand*{\FONTSAMPLE}{H\AA{}MB\"URG\'EF\O{}\~N\v{S}}

\newcommand*{\generictextfraction}[2]
            {\mbox{\raisebox{.4em}[0pt]{\scriptsize #1}%
                   \hspace*{-.1em}\textfractionsolidus\hspace*{-.1em}%
                   \raisebox{-.1em}[0pt][0pt]{\scriptsize #2}}}

\makeatletter
\newcommand*{\getpackagefullinfo}[1]{\csname ver@#1.sty\endcsname}

\def\@synthslant@getpackagedate#1/#2/#3 v#4\@nil{#1/#2/#3}
\newcommand*{\getpackagedate}[1]
            {\edef\@tempa{\getpackagefullinfo{#1}}%
             \expandafter\@synthslant@getpackagedate\@tempa\@nil}

\def\@synthslant@getpackageversion#1/#2/#3 v#4 #5\@nil{#4}
\newcommand*{\getpackageversion}[1]
            {\edef\@tempa{\getpackagefullinfo{#1}}%
             \expandafter\@synthslant@getpackageversion\@tempa\@nil}

\def\@synthslant@getpackageinfo#1/#2/#3 v#4 #5\@nil{#5}
\newcommand*{\getpackageinfo}[1]
            {\edef\@tempa{\getpackagefullinfo{#1}}%
             \expandafter\@synthslant@getpackageinfo\@tempa\@nil}
\makeatother

\newcommand*{\longfontsample}{The quick brown fox jumps over the lazy dog.}

\newcommand*{\measurewidth}[1]{\setbox0=\hbox{#1}\the\wd0\space}

\newcommand*{\packagename}[1]{\mbox{\textsf{#1}}}

\newcommand*{\showbaseline}{\space\rule{.5em}{.4pt}\space}

\newcommand*{\showboundingbox}[1]{
  {\setlength{\fboxsep}{0pt}
   \setlength{\fboxrule}{.4pt}
   \framebox{#1}}
}

\let\slbox=\synthslantbox

\makeatletter
\newcommand*{\thewidthdiffof}[2]
            {\setbox0=\hbox{#2}
             \dimen0=\dimexpr\wd0 - #1\relax
             \strip@pt\dimen0}
\newcommand*{\thewidthof}[1]
            {\setbox0=\hbox{#1}
             \dimen0=\dimexpr\numexpr\dimexpr\wd0 * 10\relax/65536\relax pt / 10\relax
             \strip@pt\dimen0}
\makeatother

\addtolength{\textheight}{\headheight}
\addtolength{\textheight}{\headsep}
\setlength{\headheight}{0pt}
\setlength{\headsep}{0pt}

\setlength{\overfullrule}{0pt}

\pagestyle{plain}

\begin{document}
\begin{center}
  \sf
  {\huge\bfseries SynthSlant Calibration Sheet}

  for \packagename{synthslant} version~\getpackageversion{synthslant} as of
  \getpackagedate{synthslant}
\end{center}

Selected slant engine: {\tt\makeatletter\synthslant@engine@name\makeatother}.
Font name: {\makeatletter\edef\@tempa{\fontname\font}\tt\@tempa\makeatother}.

\begin{center}
  \begin{tabular}{@{}lllll@{}}
    \toprule
    Shape  &  Code Seq.  &  L.case  &  Mixed Case   &  Uppercase  \\
    \midrule
    Normal  &
    \cs{normalfont}  &  {\normalfont\fontsample}  &  {\normalfont\FontSample}  &  {\normalfont\FONTSAMPLE}  \\
    Italic  &
    \cs{itshape}  &  {\itshape\fontsample}  &  {\itshape\FontSample}  &  {\itshape\FONTSAMPLE}  \\
    \bottomrule
  \end{tabular}
\end{center}

\section{Slanted Samples}

\begin{center}
  \renewcommand*{\arraystretch}{.85}
  \begin{tabular}{@{}llll@{}}
    \toprule
    Slant  &  L.case  &  Mixed Case  &  Uppercase  \\
    \midrule
    .05  &  \slbox{.05}{\fontsample}  &  \slbox{.05}{\FontSample}  &  \slbox{.05}{\FONTSAMPLE}  \\
    .06  &  \slbox{.06}{\fontsample}  &  \slbox{.06}{\FontSample}  &  \slbox{.06}{\FONTSAMPLE}  \\
    .07  &  \slbox{.07}{\fontsample}  &  \slbox{.07}{\FontSample}  &  \slbox{.07}{\FONTSAMPLE}  \\
    .08  &  \slbox{.08}{\fontsample}  &  \slbox{.08}{\FontSample}  &  \slbox{.08}{\FONTSAMPLE}  \\
    .09  &  \slbox{.09}{\fontsample}  &  \slbox{.09}{\FontSample}  &  \slbox{.09}{\FONTSAMPLE}  \\[.2em]
    .10  &  \slbox{.10}{\fontsample}  &  \slbox{.10}{\FontSample}  &  \slbox{.10}{\FONTSAMPLE}  \\
    .11  &  \slbox{.11}{\fontsample}  &  \slbox{.11}{\FontSample}  &  \slbox{.11}{\FONTSAMPLE}  \\
    .12  &  \slbox{.12}{\fontsample}  &  \slbox{.12}{\FontSample}  &  \slbox{.12}{\FONTSAMPLE}  \\
    .13  &  \slbox{.13}{\fontsample}  &  \slbox{.13}{\FontSample}  &  \slbox{.13}{\FONTSAMPLE}  \\
    .14  &  \slbox{.14}{\fontsample}  &  \slbox{.14}{\FontSample}  &  \slbox{.14}{\FONTSAMPLE}  \\
    .15  &  \slbox{.15}{\fontsample}  &  \slbox{.15}{\FontSample}  &  \slbox{.15}{\FONTSAMPLE}  \\
    .16  &  \slbox{.16}{\fontsample}  &  \slbox{.16}{\FontSample}  &  \slbox{.16}{\FONTSAMPLE}  \\
    .17  &  \slbox{.17}{\fontsample}  &  \slbox{.17}{\FontSample}  &  \slbox{.17}{\FONTSAMPLE}  \\
    .18  &  \slbox{.18}{\fontsample}  &  \slbox{.18}{\FontSample}  &  \slbox{.18}{\FONTSAMPLE}  \\
    .19  &  \slbox{.19}{\fontsample}  &  \slbox{.19}{\FontSample}  &  \slbox{.19}{\FONTSAMPLE}  \\[.2em]
    .20  &  \slbox{.20}{\fontsample}  &  \slbox{.20}{\FontSample}  &  \slbox{.20}{\FONTSAMPLE}  \\
    .21  &  \slbox{.21}{\fontsample}  &  \slbox{.21}{\FontSample}  &  \slbox{.21}{\FONTSAMPLE}  \\
    .22  &  \slbox{.22}{\fontsample}  &  \slbox{.22}{\FontSample}  &  \slbox{.22}{\FONTSAMPLE}  \\
    .23  &  \slbox{.23}{\fontsample}  &  \slbox{.23}{\FontSample}  &  \slbox{.23}{\FONTSAMPLE}  \\
    .24  &  \slbox{.24}{\fontsample}  &  \slbox{.24}{\FontSample}  &  \slbox{.24}{\FONTSAMPLE}  \\
    .25  &  \slbox{.25}{\fontsample}  &  \slbox{.25}{\FontSample}  &  \slbox{.25}{\FONTSAMPLE}  \\
    .26  &  \slbox{.26}{\fontsample}  &  \slbox{.26}{\FontSample}  &  \slbox{.26}{\FONTSAMPLE}  \\
    .27  &  \slbox{.27}{\fontsample}  &  \slbox{.27}{\FontSample}  &  \slbox{.27}{\FONTSAMPLE}  \\
    .28  &  \slbox{.28}{\fontsample}  &  \slbox{.28}{\FontSample}  &  \slbox{.28}{\FONTSAMPLE}  \\
    .29  &  \slbox{.29}{\fontsample}  &  \slbox{.29}{\FontSample}  &  \slbox{.29}{\FONTSAMPLE}  \\[.2em]
    .30  &  \slbox{.30}{\fontsample}  &  \slbox{.30}{\FontSample}  &  \slbox{.30}{\FONTSAMPLE}  \\
    .31  &  \slbox{.31}{\fontsample}  &  \slbox{.31}{\FontSample}  &  \slbox{.31}{\FONTSAMPLE}  \\
    .32  &  \slbox{.32}{\fontsample}  &  \slbox{.32}{\FontSample}  &  \slbox{.32}{\FONTSAMPLE}  \\
    .33  &  \slbox{.33}{\fontsample}  &  \slbox{.33}{\FontSample}  &  \slbox{.33}{\FONTSAMPLE}  \\
    .34  &  \slbox{.34}{\fontsample}  &  \slbox{.34}{\FontSample}  &  \slbox{.34}{\FONTSAMPLE}  \\
    .35  &  \slbox{.35}{\fontsample}  &  \slbox{.35}{\FontSample}  &  \slbox{.35}{\FONTSAMPLE}  \\
    .36  &  \slbox{.36}{\fontsample}  &  \slbox{.36}{\FontSample}  &  \slbox{.36}{\FONTSAMPLE}  \\
    .37  &  \slbox{.37}{\fontsample}  &  \slbox{.37}{\FontSample}  &  \slbox{.37}{\FONTSAMPLE}  \\
    .38  &  \slbox{.38}{\fontsample}  &  \slbox{.38}{\FontSample}  &  \slbox{.38}{\FONTSAMPLE}  \\
    .39  &  \slbox{.39}{\fontsample}  &  \slbox{.39}{\FontSample}  &  \slbox{.39}{\FONTSAMPLE}  \\
    \bottomrule
  \end{tabular}
\end{center}

\clearpage
\section{Upright Italic Samples}

\begin{center}
  \renewcommand*{\arraystretch}{.85}
  \begin{tabular}{@{}llll@{}}
    \toprule
    Slant  &  L.case  &  Mixed Case  &  Uppercase  \\
    \midrule
    \textminus.05  &  \slbox{-.05}{\itshape\fontsample}  &  \slbox{-.05}{\itshape\FontSample}  &  \slbox{-.05}{\itshape\FONTSAMPLE}  \\
    \textminus.06  &  \slbox{-.06}{\itshape\fontsample}  &  \slbox{-.06}{\itshape\FontSample}  &  \slbox{-.06}{\itshape\FONTSAMPLE}  \\
    \textminus.07  &  \slbox{-.07}{\itshape\fontsample}  &  \slbox{-.07}{\itshape\FontSample}  &  \slbox{-.07}{\itshape\FONTSAMPLE}  \\
    \textminus.08  &  \slbox{-.08}{\itshape\fontsample}  &  \slbox{-.08}{\itshape\FontSample}  &  \slbox{-.08}{\itshape\FONTSAMPLE}  \\
    \textminus.09  &  \slbox{-.09}{\itshape\fontsample}  &  \slbox{-.09}{\itshape\FontSample}  &  \slbox{-.09}{\itshape\FONTSAMPLE}  \\[.2em]
    \textminus.10  &  \slbox{-.10}{\itshape\fontsample}  &  \slbox{-.10}{\itshape\FontSample}  &  \slbox{-.10}{\itshape\FONTSAMPLE}  \\
    \textminus.11  &  \slbox{-.11}{\itshape\fontsample}  &  \slbox{-.11}{\itshape\FontSample}  &  \slbox{-.11}{\itshape\FONTSAMPLE}  \\
    \textminus.12  &  \slbox{-.12}{\itshape\fontsample}  &  \slbox{-.12}{\itshape\FontSample}  &  \slbox{-.12}{\itshape\FONTSAMPLE}  \\
    \textminus.13  &  \slbox{-.13}{\itshape\fontsample}  &  \slbox{-.13}{\itshape\FontSample}  &  \slbox{-.13}{\itshape\FONTSAMPLE}  \\
    \textminus.14  &  \slbox{-.14}{\itshape\fontsample}  &  \slbox{-.14}{\itshape\FontSample}  &  \slbox{-.14}{\itshape\FONTSAMPLE}  \\
    \textminus.15  &  \slbox{-.15}{\itshape\fontsample}  &  \slbox{-.15}{\itshape\FontSample}  &  \slbox{-.15}{\itshape\FONTSAMPLE}  \\
    \textminus.16  &  \slbox{-.16}{\itshape\fontsample}  &  \slbox{-.16}{\itshape\FontSample}  &  \slbox{-.16}{\itshape\FONTSAMPLE}  \\
    \textminus.17  &  \slbox{-.17}{\itshape\fontsample}  &  \slbox{-.17}{\itshape\FontSample}  &  \slbox{-.17}{\itshape\FONTSAMPLE}  \\
    \textminus.18  &  \slbox{-.18}{\itshape\fontsample}  &  \slbox{-.18}{\itshape\FontSample}  &  \slbox{-.18}{\itshape\FONTSAMPLE}  \\
    \textminus.19  &  \slbox{-.19}{\itshape\fontsample}  &  \slbox{-.19}{\itshape\FontSample}  &  \slbox{-.19}{\itshape\FONTSAMPLE}  \\[.2em]
    \textminus.20  &  \slbox{-.20}{\itshape\fontsample}  &  \slbox{-.20}{\itshape\FontSample}  &  \slbox{-.20}{\itshape\FONTSAMPLE}  \\
    \textminus.21  &  \slbox{-.21}{\itshape\fontsample}  &  \slbox{-.21}{\itshape\FontSample}  &  \slbox{-.21}{\itshape\FONTSAMPLE}  \\
    \textminus.22  &  \slbox{-.22}{\itshape\fontsample}  &  \slbox{-.22}{\itshape\FontSample}  &  \slbox{-.22}{\itshape\FONTSAMPLE}  \\
    \textminus.23  &  \slbox{-.23}{\itshape\fontsample}  &  \slbox{-.23}{\itshape\FontSample}  &  \slbox{-.23}{\itshape\FONTSAMPLE}  \\
    \textminus.24  &  \slbox{-.24}{\itshape\fontsample}  &  \slbox{-.24}{\itshape\FontSample}  &  \slbox{-.24}{\itshape\FONTSAMPLE}  \\
    \textminus.25  &  \slbox{-.25}{\itshape\fontsample}  &  \slbox{-.25}{\itshape\FontSample}  &  \slbox{-.25}{\itshape\FONTSAMPLE}  \\
    \textminus.26  &  \slbox{-.26}{\itshape\fontsample}  &  \slbox{-.26}{\itshape\FontSample}  &  \slbox{-.26}{\itshape\FONTSAMPLE}  \\
    \textminus.27  &  \slbox{-.27}{\itshape\fontsample}  &  \slbox{-.27}{\itshape\FontSample}  &  \slbox{-.27}{\itshape\FONTSAMPLE}  \\
    \textminus.28  &  \slbox{-.28}{\itshape\fontsample}  &  \slbox{-.28}{\itshape\FontSample}  &  \slbox{-.28}{\itshape\FONTSAMPLE}  \\
    \textminus.29  &  \slbox{-.29}{\itshape\fontsample}  &  \slbox{-.29}{\itshape\FontSample}  &  \slbox{-.29}{\itshape\FONTSAMPLE}  \\[.2em]
    \textminus.30  &  \slbox{-.30}{\itshape\fontsample}  &  \slbox{-.30}{\itshape\FontSample}  &  \slbox{-.30}{\itshape\FONTSAMPLE}  \\
    \textminus.31  &  \slbox{-.31}{\itshape\fontsample}  &  \slbox{-.31}{\itshape\FontSample}  &  \slbox{-.31}{\itshape\FONTSAMPLE}  \\
    \textminus.32  &  \slbox{-.32}{\itshape\fontsample}  &  \slbox{-.32}{\itshape\FontSample}  &  \slbox{-.32}{\itshape\FONTSAMPLE}  \\
    \textminus.33  &  \slbox{-.33}{\itshape\fontsample}  &  \slbox{-.33}{\itshape\FontSample}  &  \slbox{-.33}{\itshape\FONTSAMPLE}  \\
    \textminus.34  &  \slbox{-.34}{\itshape\fontsample}  &  \slbox{-.34}{\itshape\FontSample}  &  \slbox{-.34}{\itshape\FONTSAMPLE}  \\
    \textminus.35  &  \slbox{-.35}{\itshape\fontsample}  &  \slbox{-.35}{\itshape\FontSample}  &  \slbox{-.35}{\itshape\FONTSAMPLE}  \\
    \textminus.36  &  \slbox{-.36}{\itshape\fontsample}  &  \slbox{-.36}{\itshape\FontSample}  &  \slbox{-.36}{\itshape\FONTSAMPLE}  \\
    \textminus.37  &  \slbox{-.37}{\itshape\fontsample}  &  \slbox{-.37}{\itshape\FontSample}  &  \slbox{-.37}{\itshape\FONTSAMPLE}  \\
    \textminus.38  &  \slbox{-.38}{\itshape\fontsample}  &  \slbox{-.38}{\itshape\FontSample}  &  \slbox{-.38}{\itshape\FONTSAMPLE}  \\
    \textminus.39  &  \slbox{-.39}{\itshape\fontsample}  &  \slbox{-.39}{\itshape\FontSample}  &  \slbox{-.39}{\itshape\FONTSAMPLE}  \\
    \bottomrule
  \end{tabular}
\end{center}

\clearpage
\section{Examples}

\let\r=\textrm
\let\i=\textit
\let\u=\textsynthuprightitalic
\let\y=\textsynthslant

The current slant values are
\mbox{\cs{synthslant}\:=\:\synthslant} and
\mbox{\cs{synthnegslant}\:=\:\synthnegslant}.

\subsection{Copy}

We mix different shapes to gauge the homogeneity of slant angles and
overall gray values.  Some overfull horizontal boxes are possible even with
package~\packagename{microtype} being active.

\setlength{\columnsep}{20pt}
\begin{multicols}{2}\fussy
  \setlength{\overfullrule}{0pt}
  \paragraph{Roman/Italic.}\leavevmode

  \r{Grumpy} \i{wizards} \r{make} \i{toxic} \r{brew} \i{for} \r{the} \i{evil} \r{Queen} \i{and} \r{Jack.}
  \r{One} \i{morning,} \r{when} \i{Gregor} \r{Samsa} \i{woke} \r{from} \i{troubled} \r{dreams,}
  \r{he} \i{found} \r{himself} \i{transformed} \r{in} \i{his} \r{bed} \i{into} \r{a} \i{horrible} \r{vermin.}
  \r{He} \i{lay} \r{on} \i{his} \r{armour-like} \i{back,}
  \r{and} \i{if} \r{he} \i{lifted} \i{his} \r{head}
  \r{a} \i{little} \r{he} \i{could} \r{see} \i{his} \r{brown} \i{belly,}
  \r{slightly} \i{domed} \r{and} \i{divided} \r{by} \i{arches} \r{into} \i{stiff} \r{sections.}
  \r{The} \i{bedding} \r{was} \i{hardly} \r{able} \i{to}
  \r{cover} \i{it} \r{and} \i{seemed} \r{ready} \i{to} \r{slide} \i{off} \r{any} \i{moment.}
  \r{His} \i{many} \r{legs,}
  \r{pitifully} \i{thin} \r{compared} \i{with} \r{the} \i{size} \r{of} \i{the} \r{rest} \i{of} \r{him,}
  \r{waved} \i{about} \r{helplessly} \i{as} \r{he} \i{looked.}

  \paragraph{Roman/Slanted Roman.}\leavevmode

  \r{Grumpy} \y{wizards} \r{make} \y{toxic} \r{brew} \y{for} \r{the} \y{evil} \r{Queen} \y{and} \r{Jack.}
  \r{One} \y{morn\-ing,} \r{when} \y{Gregor} \r{Samsa} \y{woke} \r{from} \y{trou\-bled} \r{dreams,}
  \r{he} \y{found} \r{himself} \y{trans\-formed} \r{in} \y{his} \r{bed} \y{into} \r{a} \y{hor\-ri\-ble} \r{vermin.}
  \r{He} \y{lay} \r{on} \y{his} \r{armour-like} \y{back,}
  \r{and} \y{if} \r{he} \y{lifted} \y{his} \r{head}
  \r{a} \y{little} \r{he} \y{could} \r{see} \y{his} \r{brown} \y{belly,}
  \r{slightly} \y{domed} \r{and} \y{divided} \r{by} \y{arches} \r{into} \y{stiff} \r{sections.}
  \r{The} \y{bedding} \r{was} \y{hardly} \r{able} \y{to}
  \r{cover} \y{it} \r{and} \y{seemed} \r{ready} \y{to} \r{slide} \y{off} \r{any} \y{mo\-ment.}
  \r{His} \y{many} \r{legs,}
  \r{pitifully} \y{thin} \r{compared} \y{with} \r{the} \y{size} \r{of} \y{the} \r{rest} \y{of} \r{him,}
  \r{waved} \y{about} \r{helplessly} \y{as} \r{he} \y{looked.}

  \paragraph{Italic/Slanted Roman.}\leavevmode

  \i{Grumpy} \y{wizards} \i{make} \y{toxic} \i{brew} \y{for} \i{the} \y{evil} \i{Queen} \y{and} \i{Jack.}
  \i{One} \y{morn\-ing,} \i{when} \y{Gregor} \i{Samsa} \y{woke} \i{from} \y{trou\-bled} \i{dreams,}
  \i{he} \y{found} \i{himself} \y{trans\-formed} \i{in} \y{his} \i{bed} \y{into} \i{a} \y{hor\-ri\-ble} \i{vermin.}
  \i{He} \y{lay} \i{on} \y{his} \i{armour-like} \y{back,}
  \i{and} \y{if} \i{he} \y{lifted} \y{his} \i{head}
  \i{a} \y{little} \i{he} \y{could} \i{see} \y{his} \i{brown} \y{belly,}
  \i{slightly} \y{domed} \i{and} \y{divided} \i{by} \y{arches} \i{into} \y{stiff} \i{sections.}
  \i{The} \y{bedding} \i{was} \y{hardly} \i{able} \y{to}
  \i{cover} \y{it} \i{and} \y{seemed} \i{ready} \y{to} \i{slide} \y{off} \i{any} \y{mo\-ment.}
  \i{His} \y{many} \i{legs,}
  \i{pitifully} \y{thin} \i{compared} \y{with} \i{the} \y{size} \i{of} \y{the} \i{rest} \y{of} \i{him,}
  \i{waved} \y{about} \i{helplessly} \y{as} \i{he} \y{looked.}

  \paragraph{Roman/Italic/Slanted Roman.}\leavevmode

  \r{Grumpy} \i{wizards} \y{make} \r{toxic} \i{brew} \y{for} \r{the} \i{evil} \y{Queen} \r{and} \i{Jack.}
  \r{One} \i{morning,} \y{when} \r{Gregor} \i{Samsa} \y{woke} \r{from} \i{troubled} \y{dreams,}
  \r{he} \i{found} \y{him\-self} \r{transformed} \i{in} \y{his} \r{bed} \i{into} \r{a} \i{horrible} \y{ver\-min.}
  \r{He} \i{lay} \y{on} \r{his} \i{armour-like} \y{back,}
  \r{and} \i{if} \y{he} \r{lifted} \i{his} \y{head}
  \r{a} \i{little} \y{he} \r{could} \i{see} \y{his} \r{brown} \i{belly,}
  \r{slightly} \i{domed} \y{and} \r{divided} \i{by} \y{arches} \r{into} \i{stiff} \y{sec\-tions.}
  \r{The} \i{bedding} \y{was} \r{hardly} \i{able} \y{to}
  \r{cover} \i{it} \y{and} \r{seemed} \i{ready} \y{to} \r{slide} \i{off} \y{any} \r{moment.}
  \r{His} \i{many} \y{legs,}
  \r{pitifully} \i{thin} \y{compared} \r{with} \i{the} \y{size} \r{of} \i{the} \y{rest} \r{of} \i{him,}
  \r{waved} \i{about} \y{helplessly} \r{as} \r{he} \y{looked.}

  \paragraph{Roman/Upright Italic.}\leavevmode

  \r{Grumpy} \u{wizards} \r{make} \u{toxic} \r{brew} \u{for} \r{the} \u{evil} \r{Queen} \u{and} \r{Jack.}
  \r{One} \u{morn\-ing,} \r{when} \u{Gregor} \r{Samsa} \u{woke} \r{from} \u{trou\-bled} \r{dreams,}
  \r{he} \u{found} \r{himself} \u{trans\-formed} \r{in} \u{his} \r{bed} \u{into} \r{a} \u{hor\-ri\-ble} \r{vermin.}
  \r{He} \u{lay} \r{on} \u{his} \r{armour-like} \u{back,}
  \r{and} \u{if} \r{he} \u{lifted} \u{his} \r{head}
  \r{a} \u{little} \r{he} \u{could} \r{see} \u{his} \r{brown} \u{belly,}
  \r{slightly} \u{domed} \r{and} \u{divided} \r{by} \u{arches} \r{into} \u{stiff} \r{sections.}
  \r{The} \u{bedding} \r{was} \u{hardly} \r{able} \u{to}
  \r{cover} \u{it} \r{and} \u{seemed} \r{ready} \u{to} \r{slide} \u{off} \r{any} \u{mo\-ment.}
  \r{His} \u{many} \r{legs,}
  \r{pitifully} \u{thin} \r{compared} \u{with} \r{the} \u{size} \r{of} \u{the} \r{rest} \u{of} \r{him,}
  \r{waved} \u{about} \r{helplessly} \u{as} \r{he} \u{looked.}
\end{multicols}

\clearpage
\subsection{Bounding Box}

Thin lines indicate the baseline.  All bounding boxes should be very tight.  A little piercing
into the box in the direction of the slant operation is acceptable.

\begin{center}
  \begin{tabular}{@{}l@{\showbaseline}l@{\showbaseline}l@{\showbaseline}}
    \cs{textrm}  &
    \showboundingbox{\textrm{\fontsample}}  &
    \showboundingbox{\textrm{\FONTSAMPLE}}  \\
    \cs{textit}  &
    \showboundingbox{\textit{\fontsample}}  &
    \showboundingbox{\textit{\FONTSAMPLE}}  \\
    \cs{synthslantbox}\code{\{\synthslant\}}  &
    \showboundingbox{\synthslantbox{\synthslant}{\fontsample}}  &
    \showboundingbox{\synthslantbox{\synthslant}{\FONTSAMPLE}}  \\
    \cs{synthslantbox}\code{\{\synthnegslant\}}  &
    \showboundingbox{\synthslantbox{\synthnegslant}{\itshape\fontsample}}  &
    \showboundingbox{\synthslantbox{\synthnegslant}{\itshape\FONTSAMPLE}}  \\
    \cs{textsynthslant}  &
    \showboundingbox{\textsynthslant{\fontsample}}  &
    \showboundingbox{\textsynthslant{\FONTSAMPLE}}  \\
    \cs{textsynthuprightitalic}  &
    \showboundingbox{\textsynthuprightitalic{\fontsample}}  &
    \showboundingbox{\textsynthuprightitalic{\FONTSAMPLE}}
  \end{tabular}
\end{center}

\subsection{Width Change with \cs{synthslantbox}?}

Widths of the alphabet in uppercase and lowercase letter plus the digits.  The ``hyp''~version
contains discretionary hyphens (\cs{-}) between each of the letters or digits.  The absolute
value of all deltas should be much less than 3pt.

\begin{center}
  \newlength{\abcplain}\settowidth{\abcplain}{\doublealphabet}
  \newlength{\abchyp}\settowidth{\abchyp}{\doublealphabethyp}
  \begin{tabular}[t]{@{}lrll@{}}
    \toprule
    \cs{upshape}  &  Slant  &  Width  &  Delta  \\
    {}  &  &  pt  &  pt  \\
    \midrule
    ABC  &  ---  &  \thewidthof{\doublealphabet}  &  ---  \\
    ABC hyp  &  ---  &  \thewidthof{\doublealphabethyp}  &  ---  \\
    %
    ABC  &  0  &
    \thewidthof{\synthslantbox{0}{\doublealphabet}}  &
    \thewidthdiffof{\abcplain}{\synthslantbox{0}{\doublealphabet}}  \\
    ABC hyp  &  0
    &  \thewidthof{\synthslantbox{0}{\doublealphabethyp}}  &
    \thewidthdiffof{\abchyp}{\synthslantbox{0}{\doublealphabethyp}}  \\
    %
    ABC  &  .1  &
    \thewidthof{\synthslantbox{.1}{\doublealphabet}}  &
    \thewidthdiffof{\abcplain}{\synthslantbox{.1}{\doublealphabet}}  \\
    ABC hyp  &  .1  &
    \thewidthof{\synthslantbox{.1}{\doublealphabethyp}}  &
    \thewidthdiffof{\abchyp}{\synthslantbox{.1}{\doublealphabethyp}}  \\
    %
    ABC  &  .2  &
    \thewidthof{\synthslantbox{.2}{\doublealphabet}}  &
    \thewidthdiffof{\abcplain}{\synthslantbox{.2}{\doublealphabet}}  \\
    ABC hyp  &  .2  &
    \thewidthof{\synthslantbox{.2}{\doublealphabethyp}}  &
    \thewidthdiffof{\abchyp}{\synthslantbox{.2}{\doublealphabethyp}}  \\
    %
    ABC  &  .3  &
    \thewidthof{\synthslantbox{.3}{\doublealphabet}}  &
    \thewidthdiffof{\abcplain}{\synthslantbox{.3}{\doublealphabet}}  \\
    ABC hyp  &  .3  &
    \thewidthof{\synthslantbox{.3}{\doublealphabethyp}}  &
    \thewidthdiffof{\abchyp}{\synthslantbox{.3}{\doublealphabethyp}}  \\
    \bottomrule
  \end{tabular}
  \qquad
  \newlength{\abcplainitalic}\settowidth{\abcplainitalic}{\itshape\doublealphabet}
  \newlength{\abchypitalic}\settowidth{\abchypitalic}{\itshape\doublealphabethyp}
  \begin{tabular}[t]{@{}lrll@{}}
    \toprule
    \cs{itshape}  &  Slant  &  Width  &  Delta  \\
    {}  &  &  pt  &  pt  \\
    \midrule
    ABC  &  ---  &  \thewidthof{\itshape\doublealphabet}  &  ---  \\
    ABC hyp  &  ---  &  \thewidthof{\itshape\doublealphabethyp}  &  ---  \\
    %
    ABC  &  0  &
    \thewidthof{\synthslantbox{0}{\itshape\doublealphabet}}  &
    \thewidthdiffof{\abcplainitalic}{\synthslantbox{0}{\itshape\doublealphabet}}  \\
    ABC hyp  &  0  &
    \thewidthof{\synthslantbox{0}{\itshape\doublealphabethyp}}  &
    \thewidthdiffof{\abchypitalic}{\synthslantbox{0}{\itshape\doublealphabethyp}}  \\
    %
    ABC  &  -.1  &
    \thewidthof{\synthslantbox{-.1}{\itshape\doublealphabet}}  &
    \thewidthdiffof{\abcplainitalic}{\synthslantbox{-.1}{\itshape\doublealphabet}}  \\
    ABC hyp  &  -.1  &
    \thewidthof{\synthslantbox{-.1}{\itshape\doublealphabethyp}}  &
    \thewidthdiffof{\abchypitalic}{\synthslantbox{-.1}{\itshape\doublealphabethyp}}  \\
    %
    ABC  &  -.2  &
    \thewidthof{\synthslantbox{-.2}{\itshape\doublealphabet}}  &
    \thewidthdiffof{\abcplainitalic}{\synthslantbox{-.2}{\itshape\doublealphabet}}  \\
    ABC hyp  &  -.2  &
    \thewidthof{\synthslantbox{-.2}{\itshape\doublealphabethyp}}  &
    \thewidthdiffof{\abchypitalic}{\synthslantbox{-.2}{\itshape\doublealphabethyp}}  \\
    %
    ABC  &  -.3  &
    \thewidthof{\synthslantbox{-.3}{\itshape\doublealphabet}}  &
    \thewidthdiffof{\abcplainitalic}{\synthslantbox{-.3}{\itshape\doublealphabet}}  \\
    ABC hyp  &  -.3  &
    \thewidthof{\synthslantbox{-.3}{\itshape\doublealphabethyp}}  &
    \thewidthdiffof{\abchypitalic}{\synthslantbox{-.3}{\itshape\doublealphabethyp}}  \\
    \bottomrule
  \end{tabular}
\end{center}

\subsection{Line Breaking}

Left: plain text,  \\
right: \code{\cs{textsynthslant}\{Show line break\cs{-}ing with a sen\cs{-}tence.\}}

\begin{center}
  \setlength{\overfullrule}{0pt}
  \begin{minipage}[t]{0pt}Show line breaking with a sentence.\end{minipage}%
  \hspace*{100pt}%
  \begin{minipage}[t]{0pt}\textsynthslant{Show line break\-ing with a sen\-tence.}\end{minipage}
\end{center}

\noindent
Left: \code{Schi\cs{discretionary}\{ff-\}\{f\}\{ff\}ahrt},  \\
right: \code{\cs{textsynthslant}\{Schi\cs{discretionary}\{ff-\}\{f\}\{ff\}ahrt\}}

\begin{center}
  \setlength{\overfullrule}{0pt}
  \begin{minipage}[t]{0pt}Schi\discretionary{ff-}{f}{ff}ahrt\end{minipage}%
  \hspace*{100pt}%
  \begin{minipage}[t]{0pt}\textsynthslant{Schi\discretionary{ff-}{f}{ff}ahrt}\end{minipage}
\end{center}

\subsection{Microtype Enhancements}

\ifdefined\SetTracking
  Package \packagename{microtype} loaded.

  Test different trackings in the \code{synthnegslant}~context.

  \begin{center}
    \setlength{\overfullrule}{0pt}
    \newcommand*{\thinvrule}{\rule{.4pt}{.7em}}
    \newcommand{\settracking}[2]
               {\SetTracking[context=synthnegslant,
                             no ligatures={f},
                             outer kerning={0,0},
                             spacing={#2*,,}]
                            {encoding=*, shape=it}
                            {#1}}
    \newcommand*{\smallextratracking}{20}
    \newcommand*{\smallextraspacing}{150}
    \newcommand*{\bigextratracking}{250}
    \newcommand*{\bigextraspacing}{300}
    \begin{tabular}{@{}rrll@{}}
      \toprule
      Tracking  &
      Spacing  &
      \raisebox{-.5\normalbaselineskip}[0pt][0pt]{Sample}  &
      \raisebox{-.5\normalbaselineskip}[0pt][0pt]{Example sentence}  \\
      {\small\generictextfraction{1}{1000}}\:em  &  {\small\generictextfraction{dim}{1000}}  &  &  \\
      \midrule
      0  &  0  &
      \settracking{0}{0}\thinvrule\textsynthuprightitalic{\fontsample}\thinvrule  &
      \settracking{0}{0}\thinvrule\textsynthuprightitalic{\longfontsample}\thinvrule  \\
      \smallextratracking  &  \smallextraspacing  &
      \settracking{\smallextratracking}{\smallextraspacing}%
      \thinvrule\textsynthuprightitalic{\fontsample}\thinvrule  &
      \settracking{\smallextratracking}{\smallextraspacing}%
      \thinvrule\textsynthuprightitalic{\longfontsample}\thinvrule  \\
      \bigextratracking  &  \bigextraspacing  &
      \settracking{\bigextratracking}{\bigextraspacing}%
      \thinvrule\textsynthuprightitalic{\fontsample}\thinvrule  &
      \settracking{\bigextratracking}{\bigextraspacing}%
      \thinvrule\textsynthuprightitalic{\longfontsample}\thinvrule  \\
      \bottomrule
    \end{tabular}
    \settracking{0}{0}% reset extra tracking
  \end{center}

  \noindent All samples are tightly bracketed by thin horizontal rules
  to reveal possible outer spacing problems.
\else
  Package \packagename{microtype} not loaded.
  No Microtype effects to show.
\fi
\end{document}
\endinput
%%
%% End of file `synthslant-gauge.tex'.
