Hi,
I'm new to latex and I'm using lyx right now. Apparently it's not possible to create captions for longtables the "normal way" because it's not a "float" or something like that, so I have to use this dirty workaround and make a new line in each table and place an ERT line in there. Now I actually get a caption, but it's centered.
See this Screenshot
How can I get the caption to the left?
Same goes for picture captions, I need them in the lower left corner...
Thanks a lot!
LyX ⇒ Place table caption in the upper left corner
NEW: TikZ book now 40% off at Amazon.com for a short time.
Place table caption in the upper left corner
This depends on the document class you use. Many document classes have build-in possibilities to change the look & feel of the captions.
You could also give a try.
HTH,
Axel
You could also give
Code: Select all
\usepackage[singlelinecheck=off]{caption}
HTH,
Axel
Place table caption in the upper left corner
o.ô
it actually worked quite well! It's not perfect as the caption now sticks to the left side of the page instead of the table, which means that if the table isn't as wide as the text area the caption will be too much to the left (as the table is centered and has some space on both sides).
But it's pretty much ok now!
Thanks!
I use the article document style btw.
it actually worked quite well! It's not perfect as the caption now sticks to the left side of the page instead of the table, which means that if the table isn't as wide as the text area the caption will be too much to the left (as the table is centered and has some space on both sides).
But it's pretty much ok now!
Thanks!
I use the article document style btw.
Place table caption in the upper left corner
TB2 wrote: It's not perfect as the caption now sticks to the left side of the page instead of the table, which means that if the table isn't as wide as the text area the caption will be too much to the left (as the table is centered and has some space on both sides).
You could combine this option with the floatrow package, which offers commands to typeset the caption as wide as the table itself.
Axel
Re: Place table caption in the upper left corner
Huh... Latex sure goes deep. I took a quick look at the manual for floatrow (72 pages) and it seems like it will do the job as you say, I'll try to figure out how to use it tomorrow... 
Thanks for that tip!

Thanks for that tip!