Re: Caption alignment in figure/table floats

2012-10-16 Thread Maria Gouskova
On Tue, Oct 16, 2012 at 11:19 AM, Jürgen Spitzmüller  wrote:
> Maria Gouskova wrote:
>> I used the caption package and put
>> \usepackage[justification=raggedright]{caption} in the preamble. This
>> correctly aligns captions that take more than one line, but It has no
>> effect on shorter captions--those remain centered. Is this a bug in
>> the caption package or LyX or is it how the package is supposed to
>> work? Is there any way around this?
>
> Try
> \usepackage[singlelinecheck=false,justification=raggedright]{caption}
>
> The caption manual explains the behavior.
>
> HTH
> Jürgen

That fixed it! Thanks, Jürgen.

Maria


Re: Caption alignment in figure/table floats

2012-10-16 Thread Jürgen Spitzmüller
Maria Gouskova wrote:
> I used the caption package and put
> \usepackage[justification=raggedright]{caption} in the preamble. This
> correctly aligns captions that take more than one line, but It has no
> effect on shorter captions--those remain centered. Is this a bug in
> the caption package or LyX or is it how the package is supposed to
> work? Is there any way around this?

Try
\usepackage[singlelinecheck=false,justification=raggedright]{caption}

The caption manual explains the behavior.

HTH
Jürgen