List of Figures

jan grym grym at ure.cas.cz
Fri Nov 30 13:47:40 CET 2001


Dne po 26. listopad 2001 10:37 jste napsal(a):
> Jan Grym píše:
> > Hezky den,
> > resim problem se zmenou velikosti pisma v List of Figures, List of
> > Tables, ktere jsou automaticky generovane pomoci \listoffigures a
> > \listoftables. Automaticky se sazi stejnym fontem jako nazvy kapitol.
> > Chci ho zmensit.
> >
> > Jan Grym
>
> Vytahnete si z report.csl (nebo jaky class pouzivate) definice
> \listoffigures a \listoftables a upravte je (musite to obalit
> \makeatletter
> a \makeatother, protoze @ musi byt v tu chvili pismeno).
> Takze budete mit:
>
> \makeatletter
> \renewcommand\listoffigures{...}
> \renewcommand\listoftables{...}
> \makeatother
>
> V definici prikazu vidite, ze je pouzit prikaz \chapter*.
> 1. Bud si muzete udelat uplne vlastni vzhled.
> 2. Nebo pouzijte \section* a pod.
> 3. Nebo si tam dejte \mychapter*, vytahnete si z report.cls (resp. co
> pouzivate)
>    jeste definici \chapter, nadefinujte
>    \newcommand\mychapter{jako chapter, misto \@schapter dat
> \@myschapter}.
>    Podobne si musite udelat "sve" \@schapter a \@makeschapterhead. A
> prave v tom
>    poslednim muzete zmenit \Huge, ktere tam je.
>
> Zdravi

Dekuji za navod.
RESENI pro class article:
%%%%%%%%%%%%%%%%%%%%%%%
%vlastni definice nadpisu na \Large\sc
\makeatletter
\newcommand\mysection{\@startsection {mysection}{1}{\z@}%
{-3.5ex \@plus -1ex \@minus -.2ex}%
{3ex \@plus.2ex}
{\normalfont\Large\sc}}
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%
%predefinovani nadpisu list of figures na mysection
\makeatletter
\renewcommand\listoffigures{
    \mysection*{\listfigurename
      \@mkboth{\MakeUppercase\listfigurename}%
              {\MakeUppercase\listfigurename}}%
    \@starttoc{lof}%
    }
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%
%predefinovani nadpisu list of tables na mysection
\makeatletter
\renewcommand\listoftables{%
    \mysection*{\listtablename
      \@mkboth{%
          \MakeUppercase\listtablename}{\MakeUppercase\listtablename}}%
    \@starttoc{lot}%
    }
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%

Jan Grym




More information about the csTeX mailing list