I'm trying to write my math homework in LaTeX. I have problems (ex. Exercise 3.1) and then subproblems (a, b, c, d), so I'm using {description} and {enumerate} to create the problems and subproblems.
Some of the subproblems require tables to be created, but I can't figure out how to cleanly associate a table with a subproblem, just like the sentences are. Attached are pictures showing what I have so far.
I've included \usepackage{float} , \usepackage[singlelinecheck=false]{caption}, and \restylefloat{table} in the preamble based on other forum comments/replies, but they haven't worked exactly like I'd like them to.
Graphics, Figures & Tables ⇒ Associating tables with items in lists
Associating tables with items in lists
- Attachments
-
- HW 3 tex screenshot.png (16.83 KiB) Viewed 19597 times
-
- HW 3 pdf screenshot.png (73.29 KiB) Viewed 19597 times
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Associating tables with items in lists
Welcome to the forum!
Don't use a
Stefan
Don't use a
table
environment here, because that's for floating (moving) environments with captions. Just use the tabular
environment.Stefan
LaTeX.org admin
Associating tables with items in lists
Worked perfectly. Thanks!Stefan Kottwitz wrote:Welcome to the forum!
Don't use atable
environment here, because that's for floating (moving) environments with captions. Just use thetabular
environment.
Stefan