% makes a comment.

Diff between \bf and \bfseries: 
 \bf 'toggles' bold, until such time as you issue, say, \rm.
 \bfseries scopes over bracketed text only.

Try http://www.astro.ku.dk/help/LaTeX/ltx-2.html for a good list of commands.

On Monday 30 July 2001 10:18 am, you wrote:
> On Mon, 30 Jul 2001, Herbert Voss wrote:
> > \renewcommand\section{\@startsection {section}{1}{\z@}%
> >      {-3.5ex \@plus -1ex \@minus -.2ex}%
> >      {2.3ex \@plus.2ex}%
> >      {\normalfont\Large\bfseries\uppercase}%
> > }
>
> Thank you! Extending your idea into
> \renewcommand\section{
>     \ifx \aftercontents \undefined%
>            { }
>     \else
>         \pagebreak
>     \fi
>      \@startsection {section}{1}{\z@}%
>      {-3.5ex \@plus -1ex \@minus -.2ex}%
>      {2.3ex \@plus.2ex}%
>      {\normalfont\centering\large\bfseries\uppercase}%
> }
>
> and putting
>    \newcommand{\aftercontents}{true}
> after TOC, I get exactly what I want: both pagebreak and uppercase for
> topmost section headers, neither for subsection headers (and not an empty
> page before TOC)
>
> btw: is there a LaTeX construct to comment several lines, something like
> /* ... */ or #if 0 ... #endif in C? (If there's online reference, I'd be
> happy for just an URL/pathname)

Reply via email to