LyX ⇒ Place table caption in the upper left corner
Place table caption in the upper left corner
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!
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Place table caption in the upper left corner
You could also give
Code: Select all
\usepackage[singlelinecheck=off]{caption}HTH,
Axel
Place table caption in the upper left corner
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
Thanks for that tip!