<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-3-27 on page I-352 in "multicol --- A flexible way to handle multiple columns".
%%
%% 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{207.0pt}

  \usepackage{microtype} % to improve h&amp;j a bit

  % To help with narrow measure in the book:
  \addtolength\columnsep{6pt}

  % 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{multicol}
%StopShownPreambleCommands

\begin{document}
\begin{multicols}{2}
      [\section*{Some useful advice}]
 Here is some text to be distributed over
 several columns. If the columns are very
 narrow try typesetting ragged right.
\end{multicols}
\end{document}
</pre></body></html>