%%
%% The LaTeX Companion, 3ed
%%
%% Example 10-13-9 on page II-118 in "adforn --- Adding ornaments to your document".
%%
%% Copyright (C) 2022 Frank Mittelbach
%%
%% It 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.
%%
%% See https://www.latex-project.org/lppl.txt for details.
%%

\documentclass{tlc3exa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{135.0pt}

  \setlength\textheight  {8\baselineskip}
  \addtolength\textheight{10pt}
  \addtolength\footskip{-12pt}  % make shorter for the book example

%StartShownPreambleCommands
\usepackage{fancyhdr,adforn}
\pagestyle{fancy} \fancyhf{} \renewcommand\headrulewidth{0pt}
\fancyfoot[C]{\adfdoubleflourishleft\ \thepage\
                                  \adfdoubleflourishright}
\newcommand\paraA{\par\noindent\adfhangingflatleafright\ }
\newcommand\paraB{\par\noindent\adfflatleafsolidright  \ }
%StopShownPreambleCommands

\begin{document}
\paraA In this example we start most paragraphs with an
ornament instead of an indentation.  \par   But we do not
always use the same one---most of the time we use a solid
leaf, shown next.  \paraB Also note the fancy page number
below, set up with the help of \texttt{fancyhdr}.
\end{document}