Suppose I want to write in latex just the following way:

  1. Prove that,



    (iii) p+q=r

how to do that? I tried enumerate or itemize but can't do that exactly, is there any way of doing it? or I've to write it manually?

  • 1
    welcome to TeX.SE! Can you show, what you try so far? A Minimal (non)Working Example would help us to help you.
    – Zarko
    Apr 9 '17 at 14:05

You can use the enumitem package to make your life easy:



  \item Prove that,
    \item $x + y = z$
    \item $a + b = c$
    \item $p + q = r$


But this can also be done with no packages at all:



  \item Prove that,
    \item $x + y = z$
    \item $a + b = c$
    \item $p + q = r$


The setcounter command is just to make sure the first list (enumi) starts at 42. I set the counter to 41 so that when the first \item is encountered, it then adds one to the counter and prints the new value (sc. 42).


Gives you the Roman numbers. It redefines the label of the second list (our first nested list) enumii to use lowercase Roman numerals (\roman).

enter image description here


+1 to Au101's answer, but one alternative to itemize-like environments could be the linguex package. The bonus are (a) the simplicity of code and (b) the possibility of insert normal full-with paragraphs within main items list, without break the numeration (a bit more complex with the standard lists).

Usage: Please RTFM ... ahem!, I mean... use \ex. for main items, \a. to start the first subitem and \b. to star any other subitem, a blank line to end the \ex. item, and that is all.

The default format use roman numerals in the third level, but is easy to change as you wish:


\documentclass[two columns]{article}
% To adapt default format (1) a. ... to 1. (i) ...  
\renewcommand{\ExLBr}{} % first level format
\renewcommand{\SubExLBr}{(} % second level format
 % just to start with item No. 42


\noindent The are some statements to test the liguex package::

\ex. Prove that,
\a.  $x + y = z$ 
\b.  $a + b = c$ 
\b.  $p + q = r$

Then, maybe $d+e=f$ (or maybe not)

\ex. Basic colors are: 
\a.  Red  \f.  Green  \c.  Blue


In case that disturb you the sequence \a.,\b.,\b.,\b., ... in source code , you can use \a.,\b., \c., ... up to \f., but are just \b. synonyms, i.e., the order really does not matter, except for \a..

Note that normal text after a item will be not indented, unless you add one more blank line.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.