Search found 6 matches

by cb2001
Thu Oct 02, 2008 4:29 pm
Forum: General
Topic: Listing env. skip line numbers
Replies: 1
Views: 2324

Listing env. skip line numbers

Hi,

I've question about the listing environment. I use it to add c source code to a technical paper. I've read that it is possible to show line numbering on left or right, which works pretty well. But because because the listing contains code fragments rather than the whole program I would like to ...
by cb2001
Wed Sep 17, 2008 11:06 am
Forum: General
Topic: enumerate group item
Replies: 4
Views: 3795

Re: enumerate group item

it's unbelievable that this works! i tried a different approach once where i packed \item into and mbox and got an error about missing \item environment!

this is really ingenious and IT WORKS!

gmedina, thanks you so much for the help!!
by cb2001
Tue Sep 16, 2008 11:55 am
Forum: General
Topic: enumerate group item
Replies: 4
Views: 3795

enumerate group item

thank you, that looks definitely better than the approach i tried, at least at the small scale.

the next problem i encountered regarding this is that list items are more or less filled. which makes the list look ugly using the purposed solution.
the question now is, is there a box that can be ...
by cb2001
Tue Sep 16, 2008 12:32 am
Forum: General
Topic: enumerate group item
Replies: 4
Views: 3795

enumerate group item

hi,

i've another question about the enumerate environment. as this is a little bit more advanced question i apologize beforehand if this is wrong thread to post this.

i've a list like this:


\begin{enumerate}
\item This is item 1
\item This is item 2
\item This is item 3
\end{enumerate ...
by cb2001
Mon Sep 15, 2008 11:57 pm
Forum: General
Topic: numberwithin
Replies: 2
Views: 6049

Re: numberwithin

wow, that was fast!
thanks for the quick reply, and thanks for the help ... works like a charm! :D
by cb2001
Mon Sep 15, 2008 10:53 pm
Forum: General
Topic: numberwithin
Replies: 2
Views: 6049

numberwithin

hi,

i have problem with the latex command \numberwithin. i use it in combination with the algorithm package to set the numbering of all algorithms to the chapter level:


usepackage{algorithmic}
\usepackage[boxed]{algorithm}
\numberwithin{algorithm}{chapter}

...

\begin{algorithm} % enter the ...