Discussion:
left aligning captions with \table
(too old to reply)
Johan Lans
2007-03-26 16:38:06 UTC
Permalink
Hi
I wonder how to left align a caption in the \table environment.
Perhaps by using the caption2 package? I can't find any documentation on
this package tho.

/Johan
Alan Munn
2007-03-26 17:00:32 UTC
Permalink
Post by Johan Lans
Hi
I wonder how to left align a caption in the \table environment.
Perhaps by using the caption2 package? I can't find any documentation on
this package tho.
/Johan
Use the caption package (which has replaced the caption2 package in
functionality) You need to set the option singlelinecheck=false.

Alan
Johan Lans
2007-03-26 17:32:56 UTC
Permalink
Post by Alan Munn
Post by Johan Lans
Hi
I wonder how to left align a caption in the \table environment.
Perhaps by using the caption2 package? I can't find any documentation on
this package tho.
/Johan
Use the caption package (which has replaced the caption2 package in
functionality) You need to set the option singlelinecheck=false.
Alan
perfect! Thanks
lpm
2007-03-29 17:42:57 UTC
Permalink
Post by Johan Lans
Post by Alan Munn
Post by Johan Lans
Hi
I wonder how to left align a caption in the \table environment.
Perhaps by using the caption2 package? I can't find any documentation on
this package tho.
/Johan
Use the caption package (which has replaced the caption2 package in
functionality) You need to set the option singlelinecheck=false.
Alan
perfect! Thanks
Hi,

I was looking for a way to left align the caption with respect to the
table width and not the page. Do you know if this is possible with the
caption package? Something like how 3parttable allows you to align
footnotes with respect to the table dimensions.

Thanks,

LPM
Axel Sommerfeldt
2007-03-29 18:21:14 UTC
Permalink
Post by lpm
I was looking for a way to left align the caption with respect to the
table width and not the page. Do you know if this is possible with the
caption package?
No, but AFAIK the floatrow package and the threeparttable package offer
such feature.

HTH,
Axel
lpm
2007-03-29 20:38:35 UTC
Permalink
Post by Axel Sommerfeldt
Post by lpm
I was looking for a way to left align the caption with respect to the
table width and not the page. Do you know if this is possible with the
caption package?
No, but AFAIK the floatrow package and the threeparttable package offer
such feature.
HTH,
Axel
I see that threeparttable left aligns captions that run more than one
line, but if the caption is a single line it becomes centered. It
seems like this is the problem that the caption package addresses but
it left aligns everything with respect to the page width and not the
table. Looking at the floatrow documentation, it seems like it does
the same thing as 3parttable.
Donald Arseneau
2007-03-30 07:57:41 UTC
Permalink
Post by lpm
I see that threeparttable left aligns captions that run more than one
line, but if the caption is a single line it becomes centered.
The caption behaves as it does in regular tables, except using
the width of the table, not the width of the page. The default
LaTeX captions are centered when a single line, but you can
define them differently in your documentclass or use a package.
Axel Sommerfeldt
2007-03-30 12:05:27 UTC
Permalink
Post by lpm
Post by Axel Sommerfeldt
Post by lpm
I was looking for a way to left align the caption with respect to the
table width and not the page. Do you know if this is possible with the
caption package?
No, but AFAIK the floatrow package and the threeparttable package offer
such feature.
I see that threeparttable left aligns captions that run more than one
line, but if the caption is a single line it becomes centered. It
seems like this is the problem that the caption package addresses but
it left aligns everything with respect to the page width and not the
table.
And what about a combination of both, threeparttable and caption package?
(I haven't tried it yet myself, so I can't tell yet if they are compatible.
But at last the floatrow package should be compatible with the caption
package, so maybe a combination of those packages will give the desired
result!?)

Axel

Johan Lans
2007-03-27 17:52:30 UTC
Permalink
Post by Alan Munn
Post by Johan Lans
Hi
I wonder how to left align a caption in the \table environment.
Perhaps by using the caption2 package? I can't find any documentation on
this package tho.
/Johan
Use the caption package (which has replaced the caption2 package in
functionality) You need to set the option singlelinecheck=false.
Alan
Another question: I also want to use the package subfig, now I get an
error message if i use \usepackage[singlelinecheck=false]{caption}. How
do I combine these two packages to get the left aligned captions?
Alan Munn
2007-03-27 21:55:24 UTC
Permalink
Post by Johan Lans
Post by Alan Munn
Post by Johan Lans
Hi
I wonder how to left align a caption in the \table environment.
Perhaps by using the caption2 package? I can't find any documentation on
this package tho.
/Johan
Use the caption package (which has replaced the caption2 package in
functionality) You need to set the option singlelinecheck=false.
Alan
Another question: I also want to use the package subfig, now I get an
error message if i use \usepackage[singlelinecheck=false]{caption}. How
do I combine these two packages to get the left aligned captions?
Load caption before subfig. Subfig load caption with no options,
unless it has already been loads. The subfig documentation has some
comments about its interaction with caption.

Alan
Alan Munn
2007-03-27 21:58:05 UTC
Permalink
Post by Alan Munn
Post by Johan Lans
Post by Alan Munn
Post by Johan Lans
Hi
I wonder how to left align a caption in the \table environment.
Perhaps by using the caption2 package? I can't find any documentation on
this package tho.
/Johan
Use the caption package (which has replaced the caption2 package in
functionality) You need to set the option singlelinecheck=false.
Alan
Another question: I also want to use the package subfig, now I get an
error message if i use \usepackage[singlelinecheck=false]{caption}. How
do I combine these two packages to get the left aligned captions?
Load caption before subfig. Subfig load caption with no options,
unless it has already been loads. The subfig documentation has some
comments about its interaction with caption.
Alan
That should be "Subfig loads caption with no options unless it has
already been loaded."

Damn verbal morphology is acting up again...

Alan
Johan Lans
2007-03-28 17:32:08 UTC
Permalink
Post by Alan Munn
Post by Alan Munn
Post by Johan Lans
Post by Alan Munn
Post by Johan Lans
Hi
I wonder how to left align a caption in the \table environment.
Perhaps by using the caption2 package? I can't find any documentation on
this package tho.
/Johan
Use the caption package (which has replaced the caption2 package in
functionality) You need to set the option singlelinecheck=false.
Alan
Another question: I also want to use the package subfig, now I get an
error message if i use \usepackage[singlelinecheck=false]{caption}. How
do I combine these two packages to get the left aligned captions?
Load caption before subfig. Subfig load caption with no options,
unless it has already been loads. The subfig documentation has some
comments about its interaction with caption.
Alan
That should be "Subfig loads caption with no options unless it has
already been loaded."
Damn verbal morphology is acting up again...
Alan
ok, that solved it, thanks.
/Johan
Continue reading on narkive:
Loading...