Janardhan <[EMAIL PROTECTED]> writes:

> Hello tetex subscribers,

The teTeX list is about details of the teTeX distribution, not about
individual LaTeX programming details.

> I have modified standard class file to format the captions in
> bold. This is fine

No, prohibited by its license.

> and I can get it. But when the caption runs in two lines the
> caption remains normal and the alignment also change to left can any
> one solve the problem. Here i am giving the code:
> 
> \long\def\@makecaption#1#2{%
>   \vskip\abovecaptionskip
>   \sbox\@tempboxa{{#1:} #2}%
>   \ifdim \wd\@tempboxa >\hsize
>     #1: #2\par
>   \else
>     \global \@minipagefalse
>     \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
>   \fi
>   \vskip\belowcaptionskip}

Just take a look at the caption2 package.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Email: [EMAIL PROTECTED]

Reply via email to