This happens when I use programming code and enumeration, how can I add a gap between the numbering and the line numbers of the code. (Attached this this post)
I'm using this in LaTeX Preamble: \usepackage{listings}
\lstset{language=java,numbers=left,tabsize=2,showstringspaces=false,showspaces ...
Search found 6 matches
- Thu Feb 23, 2012 10:57 pm
- Forum: LyX
- Topic: Numbers and programming code
- Replies: 2
- Views: 1672
- Thu Feb 23, 2012 10:46 pm
- Forum: LyX
- Topic: tables centring when using numbered list
- Replies: 9
- Views: 4763
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.
- Thu Feb 23, 2012 4:26 pm
- Forum: LyX
- Topic: tables centring when using numbered list
- Replies: 9
- Views: 4763
Re: tables centring when using numbered list
How do I insert the code into the lyx is what I'm currently stuck on. Thanks
- Thu Feb 23, 2012 4:20 pm
- Forum: LyX
- Topic: tables centring when using numbered list
- Replies: 9
- Views: 4763
tables centring when using numbered list
% 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}
I don't know how I can manually edit the source code to ...
\begin{enumerate}
\item %
\begin{tabular}{|c|c|}
\hline
& \tabularnewline
\hline
\hline
& \tabularnewline
\hline
& \tabularnewline
\hline
& \tabularnewline
\hline
\end{tabular}\end{enumerate}
I don't know how I can manually edit the source code to ...
- Thu Feb 23, 2012 4:15 pm
- Forum: LyX
- Topic: tables centring when using numbered list
- Replies: 9
- Views: 4763
Re: tables centring when using numbered list
Thank you but this how do I implement this?
- Thu Feb 23, 2012 3:55 pm
- Forum: LyX
- Topic: tables centring when using numbered list
- Replies: 9
- Views: 4763
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