sjednoceni cislovani obrazku \mycaption a \piccaption - vyreseno
Tonar Zbyněk
Zbynek.Tonar at lfp.cuni.cz
Wed May 5 17:19:51 CEST 2004
Udelal jsem, jak jste napsal a funguje to.
S diky
Zbynek Tonar
------------------
Nejjednodussi je asi vytahnout si z latex.ltx definice \caption a
\@caption, ty vypadaji takto:
\def\caption{\refstepcounter\@captype \@dblarg{\@caption\@captype}}
\long\def\@caption#1[#2]#3{%
\par
\addcontentsline{\csname ext@#1\endcsname}{#1}%
{\protect\numberline{\csname the#1\endcsname}{\ignorespaces #2}}%
\begingroup
\@parboxrestore
\if at minipage
\@setminipage
\fi
\normalsize
\@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
\endgroup}
Pak udelat identicke verze \mycaption, \my at caption a taky
\my at makecaption s odlisnym mezerovanim,
ktere se budou navzajem volat.
A nezapomenout obalit \makeatletter a \makeatother.
Zdravi
Jaromir kuben
More information about the csTeX
mailing list