%%
%% This is file `typog-without-microtype-test.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% typog.dtx  (with options: `without-microtype')
%% 
%% 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 typog.dtx and typog.ins
%% and the derived files typog.sty, slant-angle.mp, invertedmarks.mp,
%% crooked-paragraphs.mp, smooth-parshapes.mp, title.mp,
%% typog-example.tex, typog-minimal-test.tex,
%% typog-without-microtype-test.tex
%% typog-grep.pl.in, typog-grep.pl,
%% typog-grep.pod, and teximan2latex.sed.
%% 
%% 
\documentclass[]{article}

\usepackage[english]{babel}

\usepackage{csquotes}
\DeclareQuoteStyle{typog-guillemets}
                  {\doubleguillemetright}
                  {\doubleguillemetleft}
                  {\singleguillemetright}
                  {\singleguillemetleft}

\usepackage[uppercaselabelitemadjustments={.1em, .075em, .1em, .1em},
            lowercaselabelitemadjustments={-.025em, -.05em, -.025em, -.025em}]
           {typog}

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

\begin{document}
\begin{center}
  \Huge\bf\sf
  TypoG Examples  \\
  without Package~\packagename{microtype}
\end{center}

\bigskip

\section*{No Microtype}

This example \LaTeX-document uses package~\packagename{typog}
\emph{without} package~\packagename{microtype}.

We want \packagename{typog} to be as usable as possible even without
the nice features that \packagename{microtype} offers.
After all \packagename{typog} is just a front end for it.

\section*{No EnumItem}

We intentionally do not load package~\packagename{enumitem}, either.
So, we can test whether \packagename{typog} correctly patches the
plain \LaTeX{} definition if environment~\texttt{itemize}.

The vertical alignment of the label items was setup for
uppercase (ABC\typoguppercaseadjustcheck{ABCXYZ}XYZ) and for
lowercase (ace\typoglowercaseadjustcheck{acexyz}xyz), though
this is not necessary for the test.

\uppercaseadjustlabelitems{*}
\begin{itemize}
\item Level i
\item Sublist \dots
  \begin{itemize}
  \item Level ii
  \item Sublist \dots
    \begin{itemize}
    \item Level iii
    \item Sublist \dots
      \begin{itemize}
      \item Level iv
      \end{itemize}
    \end{itemize}
  \end{itemize}
\end{itemize}

\section*{CSQuotes}

As we are testing a special configuration here anyhow,
we hook up our quotes with package~csquotes
to check whether they interact ok.
{\setquotestyle{typog-guillemets}%
  \enquote{This is the outer part of the phrase
    which contains the \enquote{inner part}.}}
\end{document}
\endinput
%%
%% End of file `typog-without-microtype-test.tex'.
