Text FormattingEnumerations within enumerations.

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
srengam
Posts: 33
Joined: Fri May 20, 2011 12:55 am

Enumerations within enumerations.

Post by srengam »

Hi all,

I am trying to type up my solutions to my coursework, but the question is broken down into several sections.

The question has two parts; part (a), and part (b).

But part (b) is broken down further into 4 smaller parts; (i), (ii), (iii) and (iv).

I have successfully used the enumerate facility with a preamble to achieve the correct layout for parts (a) and (b). But how can I break down part (b) further into a "sub-enviroment" for the four lower case roman numerals.

Many thanks.
Last edited by srengam on Wed Jul 13, 2011 12:37 am, edited 1 time in total.

Recommended reading 2024:

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

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

mas
Posts: 226
Joined: Thu Dec 04, 2008 4:39 am

Enumerations within enumerations.

Post by mas »

Please check whether the following code works for you :

Code: Select all

\documentclass[11pt]{article}
%
  \usepackage{enumerate}

\begin{document}

\begin{enumerate}[(a)]
  \item First question.

  \item Second question :
  \begin{enumerate}[(i)]
    \item Sub query 1.
    \item Sub query 2.
    \item Sub query 3.
    \item Sub query 4.
  \end{enumerate}
  
\end{enumerate}

\end{document}
Regards.

OS: Debian/GNU Linux; LaTeX System : TeXLive; Editor : Vim
srengam
Posts: 33
Joined: Fri May 20, 2011 12:55 am

Re: Enumerations within enumerations.

Post by srengam »

Worked perfectly,

many thanks.
Post Reply