LyX ⇒ tables centring when using numbered list
tables centring when using numbered list
I have a table on my numbered lists but the number is appearing in the middle, I want it to be at the top like normal. This is what it looks like when using tables.
I've attached a picture, I want the number 6 to be the top no the middle.
How can I achieve this? I've googled and googled.
Thanks
I've attached a picture, I want the number 6 to be the top no the middle.
How can I achieve this? I've googled and googled.
Thanks
- Attachments
-
- Screen Shot 2012-02-23 at 01.54.17.png (7.15 KiB) Viewed 4793 times
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
tables centring when using numbered list
Hi John,
welcome to the board!
There's an optional alignment argument for
Stefan
welcome to the board!
There's an optional alignment argument for
tabular
environments. For top alignment use [t]
:Code: Select all
\item \begin{tabular}[t]{...}
LaTeX.org admin
Re: tables centring when using numbered list
Thank you but this how do I implement this?
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Re: tables centring when using numbered list
You can implement it like I wrote. Or how is your code now? Perhaps show the code of your numbered list with the table if you would like to see how to adjust your code.
Stefan
Stefan
LaTeX.org admin
tables centring when using numbered list
Code: Select all
Code, edit and compile here:
% Preview source code for paragraph 9\begin{enumerate}\item %\begin{tabular}{|c|c|}\hline& \tabularnewline\hline\hline& \tabularnewline\hline& \tabularnewline\hline& \tabularnewline\hline\end{tabular}\end{enumerate}
thanks.
Re: tables centring when using numbered list
How do I insert the code into the lyx is what I'm currently stuck on. Thanks
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Re: tables centring when using numbered list
Ah, it's LyX ... I don't have it installed. Perhaps something like right clicking on the table, opening tabular settings and looking for a top alignment option.
Stefan
Stefan
LaTeX.org admin
Re: tables centring when using numbered list
I still can't seem to fix this.
Anyone got a solution please.
Anyone got a solution please.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
tables centring when using numbered list
Just for information to other users to be aware of possibly already existing solutions. The question has also been posted to the {TeX} SE.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
tables centring when using numbered list
Werner posted a screenshot on the other (above linked site), which shows what I meant above with tabular settings and vertical top alignment:
Stefan
Stefan
LaTeX.org admin