Prosba (fwd)

Miroslav Balda mbalda at hera.zcu.cz
Thu Jan 14 16:24:04 CET 1999


Zdravim Vas,

i kdyz se jiz v konferenci objevila rada doporuceni, prispeji take
trochou do mlyna resenim, ktere je kratke s volitelnym vystupem:

\makeatletter
\def\nazev#1{\@ifnextchar[{\Nazev#1}{\Nazev#1[\large]}}
\def\Nazev#1[#2]%
{\stepcounter{section}
 \begin{center} #2\bf \thesection. \quad #1 \end{center}%
 \addcontentsline{toc}{section}{#1}%
}
\makeatother

\begin{document} % @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  \tableofcontents
  \nazev{Nazev pisne 1}[\footnotesize]
  \nazev{Nazev pisne 2}
\end{document}   % @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

Implicitni vystup je vetsi nez normalni text (\large}, ale lze ho
nastavit ve volitelnem 2. parametru.

M. Balda
**************************************************************
* Prof.Ing. Miroslav BALDA, DrSc.  | E-mail: mbalda at hera.zcu.cz
* Institute of Physical Engineering| Phone : ++42019 7236415-6
* Academy of Sciences              | Fax   : ++42019 7220787
* Veleslavinova 11                 |
* 301 14  Plzen                    | Home  : ++42019 227153
* Czech Republic                   |
**************************************************************



More information about the csTeX mailing list