GeneralEnumerate Item on same line

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
metric
Posts: 61
Joined: Mon Mar 24, 2008 8:34 am

Enumerate Item on same line

Post by metric »

Hi,

First let me thanks all the forum member who always are very helpful in solving my queries.

Thank you to all of them.

I want enumerate itme to appear next to next, something similary to the below eg.

1) we have the following equations.
i) equation one ii) equation two iii) equation three.

2) Every set has many solution, some of them are
i) solution one ii) solution two iii) solutio three

...
...
In exam though there is an option for multile choice question which can give me similary output, however here is it feasible to use that. (I'm writing an article). which need something like above.

Please guide,

and yes, thanks, thanks a lot for your support.

Arif.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Enumerate Item on same line

Post by gmedina »

Hi,

you could use the inparaenum environment provided by the paralist package. Take a look at the following example:

Code: Select all

\documentclass{article}
\usepackage{paralist}

\begin{document}

\begin{enumerate}
  \item First item.

  \begin{inparaenum}[i)]
    \item Subitem one one.
    \item Subitem one two.
    \item Subitem one three.
  \end{inparaenum}
  \item Second item.

  \begin{inparaenum}[i)]
    \item Subitem two one.
    \item Subitem two two.
    \item Subitem two three.
  \end{inparaenum}
\end{enumerate}

\end{document} 
1,1,2,3,5,8,13,21,34,55,89,144,233,...
metric
Posts: 61
Joined: Mon Mar 24, 2008 8:34 am

Re: Enumerate Item on same line

Post by metric »

Thanks gmedina, I was looking for a similar output with enumerate command.

Thanks a lot.
Arif
Post Reply