Flat Earth Catalogue

2018-04-18

hard-won LaTeX tabular knowledge
No, you can't put your \label{tbl:whatever} after the table contents. If it's inside the tabular environment, it'll cock up the rendering of the bottom of your table, and if it's outside tabular (still inside table) you'll get refs to the section it's in, not its own table number. You have to put it right at the start of the tabular. And also, you have to put \centering right after your \begin{table} if you caption, because captions are centered and you'll look like a dope. LaTeX is user-hostile like that.

Still beats Microsoft Word by a country mile, though.
01:03

Powered by Blogger

 

(K) 2002-present. All rights reversed, except as noted.

Hard-won technical knowledge, old rants, and broken links from 10 years ago. I should not have to explain this in the 21st century, but no, I do not actually believe the world is flat.

Past
current