<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-38 on page I-319 in "Inline verbatim material in dangerous places".
%%
%% 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{195.0pt}

  \addtolength\textwidth{-50pt}
  \setlength\marginparwidth{20pt}
  \setlength\marginparsep{15pt}

  % small headings for the example
  \makeatletter
  \renewcommand\section{\@startsection{section}{1}{\z@}%
    {-1.25ex \@plus-1ex \@minus-.2ex}%
    {.5ex}%
    {\normalfont\large\bfseries}}
  \makeatother

%StartShownPreambleCommands
\usepackage{fancyvrb}
\SaveVerb{danger}=Real \danger=
%StopShownPreambleCommands

\begin{document}
\tableofcontents \medskip

\section{\UseVerb{danger}}
\UseVerb*{danger} is no longer dangerous
and can\marginpar{\UseVerb[fontsize=\tiny]
                          {danger}}
be reused as often as desired.
\end{document}
</pre></body></html>