I need to create table of content in a table format with text wrapping in the subject titles. The page number is currently at the top of each cell. In the rows where the title is wrapped, I need the page number aligned at the bottom. This is my code:
\begin{tabularx}{\linewidth}{ l X l }
Figure & & Page \\
1.1.1 & test text text text text text text text text text text text text text text text text text text \dotfill & 10 \\
1.1.2 & line \dotfill & 12 \\
\end{tabularx}
Best Answer
This may be the solution you are looking for, although it is a bit clumsy. You have to include
array
package to get optionb{}
for table alignement.The thing you have to do is compile the code above, and look for the lines, where the middle column is on multiple lines:
Then insert
\newline
after the Figure number, so it will move up a line. So in this case the table will look like:And the final result: