TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is how you type set a nested list in LaTeX:

    \item I have a house
        \item It has 4 walls
        \item a roof,
        \item two windows,
        \item and a door
            \item with a handle
            \item and a lock
    \item I also have a car
        \item but I will not talk of it further

This is the same list in Markdown:

 - I have a house
    - It has 4 walls,
    - a roof,
    - two windows
    - and a door
         - with a handle
         - and a lock
 - I also have a car
    - But I will not talk of it further

The Latex one is really verbose. I am finding it particularly annoying when writing slides with Beamer. Nesting 3 deep is rarely a good idea, but having a list that contains a few subitems for every item is not bad at all, but will still be uncomfortable verbose.

Is there a package that provides a alternative syntax for writing lists?

Using a few defs can help maybe, but seems hacky

\newcommand{\ol}{\begin{itemize} }
\newcommand{\ole}{\end{itemize} }
\newcommand{\li}{\item }

Parsing markdown lists syntax seems like it could be done with Lua, or maybe even with xargs, but I am not so great at this kinda thing (yet).

share|improve this question
May be seeing indentation is a bit difficult, but you could, for instance, in a relatively simple way see - for \item and -- for \iitem where both are a little inteligent and start a new \begin{itemize} or end a \end{itemize} when necessary. – Manuel Sep 3 '14 at 17:41
Have you seen tex.stackexchange.com/q/101717/17423? – Sean Allred Sep 3 '14 at 17:42
Isn't it rather a problem of configuring your editor? – Bernard Sep 3 '14 at 17:54
@Bernard: no because the verbosity is not a just a typing problem (though it is that -- a missed end is annoying to find), it is also a reading problem – Oxinabox Sep 4 '14 at 0:11
up vote 16 down vote accepted

Have a look for example at the easylistpackage. It simplifies the process by defining one active character whose number of occurences defines the level of this specific list item.


§ First level
§§ Second level
§§§ Third level
§§§ Again third level
§§§§ Now fourth level
§ First level again

easylist example

share|improve this answer
Be aware that to use Easylist with Beamer, you must mark the slide as [fragile] en.wikibooks.org/wiki/LaTeX/List_Structures#Easylist_package – Oxinabox Sep 22 '14 at 6:03

enter image description here





Simple ways to make lists less verbosely in \LaTeX:

  \li{Redefine the markup commands to match HTML.}
       \li{This means turning the list environments into commands.}
       \li{This is actually less verbose than real HTML.}
       \li{You do have to keep track of the end braces and (I think) comment out the newlines.}
   \li{Define commands to insert horizontal space and bullets manually, as shown below.}

\info{0} This is level 0.
    \info{1} This is level 1.
        \info{2} And this level 2.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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