<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%%
%% The LaTeX Companion, 3ed
%%
%% Example 4-2-59 on page I-332 in "listings --- Pretty-printing program code".
%%
%% 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{183.0pt}

\addtolength\textwidth{-30pt}
%StartShownPreambleCommands
\usepackage{color,listings}
\lstdefinestyle{tlc}{rulesepcolor=\color{blue},
  keywordstyle=\underbar,framexleftmargin=20pt,
  frame=shadowbox,backgroundcolor=\color{yellow}}
\lstset{language=[LaTeX]TeX,numbers=left}
%StopShownPreambleCommands

\begin{document}
\begin{lstlisting}
\textbf{Note:} \textit{#1}
\end{lstlisting}
\begin{lstlisting}[style=tlc,firstnumber=last]
\textbf{Note:} \textit{#1}
\end{lstlisting}
\end{document}
</pre></body></html>