Ziva zahlavi v LaTeXu
Zdenek Wagner
wagner at beba.cesnet.cz
Fri Dec 4 17:11:29 CET 1998
On Fri, 4 Dec 1998, Jiri Rybicka wrote:
> >
> S dlouhymi texty do beznych zahlavi jsou vzdycky problemy, resil jsem to
> predefinovanim \chapter, \section na svoje prikazy typu:
> \def\sekce#1#2{\refstepcounter{section}%
> \section*{\thesection\ #1}%
> \addcontentsline{toc}{section}{\thesection\ #1}%
^^^^^^^^^^^^^^^^^
{\protect\numberline
{\thesection}#1}%
To pak zachova formatovani obsahu. Vice je ve Zpravodaji 3/1998,
ktery je jiz dostupny v PDF.
> \markright{#2}%
> }
>
> a pak muzu pouzit \sekce{dlouhy nazev}{zkraceny nazev}
>
> JR.
>
>
Zdenek Wagner
E. Hala Laboratory of Thermodynamics,
Institute of Chemical Process Fundamentals
of the Academy of Sciences of the Czech Republic
e-mail: wagner at mbox.cesnet.cz or wagner at icpf.cas.cz
Local editor of the Bulletin of the Czech and Slovak TeX Users Group,
member of the CSTUG board
e-mail: Zdenek.Wagner at cstug.cz or bulletin at cstug.cz or zpravodaj at cstug.cz
Member of Czech OS/2 Users Group (http://cs.felk.cvut.cz/~kunaa/)
see also http://www.icpf.cas.cz/wagner/
http://www.cstug.cz/
http://members.xoom.com/z_wagner/
More information about the csTeX
mailing list