Enumerate With Roman Numerals Latex

2 Examples of basic lists4 Nested lists4.1 Nested lists: label style5 Customizing lists5.1 Customizing lists: transforming labels5.1.3 Examples: tailoring labels of enumeprice lists5.2 Customizing lists: changing the layout5.3 Using the enumitem package to modify and create lists5.3.3 Creating a new list through enumitem5.3.5 Custom bullets making use of the enumitem package and MetaPost


This article gives an introduction to typesetting, and tailoring, miscellaneous forms of list in LaTeX:

the itemize atmosphere for producing a bulleted (unordered) listthe enumerate atmosphere for producing a numbered (ordered) listthe summary environment for producing a list of descriptions

Typeestablishing lists is a large topic bereason LaTeX lists are extremely configurable, enabling production of an enormous range of list types and structures. We’ll survey and demonstrate some techniques you have the right to usage to connumber and customize your lists.

You watching: Enumerate with roman numerals latex

Examples of fundamental lists

The itemize atmosphere for bulleted (unordered) lists

Unordered (bulleted) lists are produced by the itemize setting, wright here each list entry starts by making use of the item command also, which additionally generates the bullet symbol.

Lists are simple to create:eginitemize item List entries start through the verb|item| command also. item Individual entries are suggested with a black dot, a so-called bullet. item The text in the entries may be of any length.enditemize
 Open this example in sibbap.org.

This example produces the complying with output:


The enumerate setting for numbered (ordered) lists

Numbered (ordered) lists have the same syntax however use the enumeprice environment: each enattempt need to be preceded by the regulate sequence item, which will certainly automatically generate numbers to label the item. These numbers start at 1 with every usage of the enumerate environment—note that this, default, LaTeX numbering behaviour deserve to be changed/managed using the enumitem package.

Numbered (ordered) lists are straightforward to create:eginenumerate item Items are numbered immediately. item The numbers start at 1 with each usage of the extttenumerate atmosphere. item Anvarious other entry in the listendenumerate
 Open this example in sibbap.org.

This example produces the adhering to output:


The summary environment

The following instance demonstrates the description environment. The (optional) label for each entry is enclosed in square brackets after the item command:


Here is the example:

documentclassarticleusepackagebabel % To achieve English message through the blindmessage packageusepackageblindtextegindocumentegindescription item This is an entry extitwithout a label. item A short one-line summary. item A much much longer description. lindtext<1>enddescriptionenddocumentenddocument
 Open this instance in sibbap.org.

This instance produces the complying with output:


Changing the label of individual entries

As shown in the description setting instance, the item command takes an optional parameter, in square brackets. You deserve to usage this feature within itemize and also enumerate settings to adjust the default label of individual entries in your list:


Change the labels making use of verb|item

This instance produces the complying with output:


Nested lists

In LaTeX you can insert a list inside an additional list. The over list kinds might be had within one an additional, either combined or of one kind, to a depth of 4 levels.

eginenumerate item The labels is composed of sequential numbers eginitemize item The individual entries are suggested via a babsence dot, a so-dubbed bullet item The message in the entries might be of any type of size egindescription item I would certainly favor to describe somepoint below item And provide a warning below enddescription enditemize item The numbers starts at 1 with each usage of the extttenumerate environmentendenumerate
 Open this example in sibbap.org.

This instance produces the adhering to output:


Nested lists: label style

The label style of nested list entries changes according to its depth in the list. For nested itemize lists the bullet kind changes; for enumeprice lists the number format transforms with boosting depth of enattempt. Both are limited to a depth of 4 levels.

Nested enumerate lists: number format

eginenumerate item First level item item First level item eginenumerate item Second level item item 2nd level item eginenumerate item Third level item item Third level item eginenumerate item Fourth level item item 4th level item endenumerate endenumerate endenumerate endenumerate
 Open this example in sibbap.org.

This instance produces the adhering to output:


Nested itemize lists: bullet style

The bullet style alters depending on the depth of the nested lists:

eginitemize item First level item item First level item eginitemize item 2nd level item item Second level item eginitemize item Third level item item Third level item eginitemize item 4th level item item Fourth level item enditemize enditemize enditemize enditemize
 Open this instance in sibbap.org.

This instance produces the adhering to output:


Customizing lists

LaTeX’s lists are highly configurable, providing plenty of scope for the development of many type of various forms of customized list. You deserve to either make direct adjustments to LaTeX’s conventional list kinds or, preferably, usage the very flexible enumitem package to perform it for you.

CTAN hosts a variety of list-related packperiods which might be worth investigating if you have actually specific customization needs. In enhancement, tex.stackexchange provides a wealth of list-related questions through answers that carry out advantageous insights and also excellent examples!

We’ll begin with some examples which modify list labels then move on to customization of list layouts.

Customizing lists: changing labels

Firstly, we show how to readjust list labelling without making use of the enumitem package.

Standard label-generation commands

Custom lists have the right to be created by using the enumitem package or straight alteration of the conventional lists. Here, we’ll give a summary of some typical LaTeX commands, counter variables and also list parameters that you may must be aware of.

The following table mirrors the LaTeX regulates provided for label-generation at each level of the itemize and also enumerate list environments:

Level enumerate label commands itemize label commands
Level 1 labelenumi labelitemi
Level 2 labelenumii labelitemii
Level 3 labelenumiii labelitemiii
Level 4 labelenumiv labelitemiv

Counter variables for enumerate

The enumeprice list setting likewise provides 4 counter variables which save track of the current label worth for each level:

Level enumerate counter variable
Level 1 enumi
Level 2 enumii
Level 3 enumiii
Level 4 enumiv

Examples: personalizing labels of enumerate lists

You deserve to configure LaTeX’s conventional labelling by making use of enewcommand also to redefine the label-generating regulates and also, for the enumeprice setting, you can additionally use the correct counter variable.

Here are some examples which execute this without making use of the enumitem package.

Practical example

documentclassarticleegindocument enewcommandlabelenumiiarabicenumi.arabicenumii enewcommandlabelenumiiiarabicenumi.arabicenumii.arabicenumiii enewcommandlabelenumivarabicenumi.arabicenumii.arabicenumiii.arabicenumiveginenumerateitem Oneitem Twoitem Threeeginenumerate item Three allude one eginenumerate item Three allude one, point one eginenumerate item Three allude one, allude one, point one item Three suggest one, point one, allude two endenumerate endenumerateendenumerateitem Fouritem Fiveendenumerateenddocument
 Open this instance in sibbap.org.

This instance produces the adhering to output:


Printing respond to variables

In the previous example, the command also arabic was supplied to typecollection the current worth of miscellaneous label respond to variables. Keep in mind that “Arabic numerals”, and usage of the command arabic, describes the digits 0 to 9: check out this Arabic numerals post on Wikipedia for better background.

In basic, a counter variable have the right to be published in various styles by utilizing one of the following 5 commands:

arabicrespond to variable omancounter variableRomanrespond to variableAlphcounter variablealphrespond to variable

For example:

documentclassarticleegindocumenteginverbatim ewcounterfoosetcounterfoo5 endverbatim ewcounterfoosetcounterfoo5 eginitemizeitem verb|arabicfoo| produces arabicfooitem verb| omanfoo| produces omanfoo item verb|Romanfoo| produces Romanfooitem verb|Alphfoo| produces Alphfooitem verb|alphfoo| produces alphfooenditemizeenddocument
 Open this instance in sibbap.org.

This instance produces the adhering to output:


Non-handy (fun) example

This example typesets emoji using an OpenType colour font so it will only work in LuaLaTeX. See the sibbap.org article An overview of innovations supporting the usage of colour emoji fonts in LaTeX for more information on typeestablishing emoji.

See more: Python: Extract Filename From Path Python, How To Get Filename From Path In Python

Although this a simply a fun instance, making use of LuaLaTeX, it demonstrates customizing all four label-generation regulates, and utilizing the label-counter variables, to develop some inexplicable labelling... Click the “Open in sibbap.org” connect to view the complete code.

enewcommandlabelenumiduckenumi enewcommandlabelenumiiduckenumi.duckeggenumii enewcommandlabelenumiiiduckenumi.duckeggenumii.duckeggenumiii enewcommandlabelenumivduckenumi.duckeggenumii.duckeggenumiii.duckchickenumiv eginenumerateitem A duckitem More ducksitem A flurry of duckseginenumerate item Ducks and eggs eginenumerate item Do I check out... item Ducks and pre-ducks eginenumerate item Awww... item So cute! endenumerate endenumerateendenumerateitem Back to ducksitem Againendenumerate
 To watch the full code, open this LuaLaTeX instance in sibbap.org.

This example produces the complying with output


Customizing lists: changing the layout

In enhancement to customizing labels, it is possible to modify list spacing and layout, but first we should know the assorted LaTeX parameters which recognize typeestablishing and layout of lists.

LaTeX list parameters

You deserve to use the layouts package to geneprice a diagram which screens the LaTeX list parameters:

documentclassarticleusepackagelayoutsegindocumenteginfigurelistdiagramcaptionThe LaTeX parameters which define typeestablishing and also layout of lists. endfigureenddocument
 Open this example in sibbap.org.

This instance produces the adhering to output:


The definition of these parameters is explained in the list section of the LaTeX2e unofficial recommendation manual so we won’t recreate it here.

Creating a tradition list making use of the list environment

LaTeX gives the generic list atmosphere which gives a frame for developing your very own list type(s). Using the indevelopment contained in the diagram over, the adhering to instance is a slightly modified version of one included in the list section of the LaTeX2e unofficial referral manual

documentclassarticleegindocument ewcounterboxlblcounter ewcommandmakeboxlabel<1>fbox#1.hfill% hfill fills the label box ewenvironmentboxlabel eginlist arabicboxlblcounter usecounterboxlblcounter setlengthlabelwidth3em setlengthlabelsep0em setlengthitemsep2pt setlengthleftmargin1.5cm setlength ightmargin2cm setlengthitemindent0em letmakelabel=makeboxlabel endlist ewcommand andomtextHello, below is some message without a definition. Hello, right here is some message without a definition. Hello, here is some text without a meaning. oindent andomtexteginboxlabelitem andomtextitem andomtextitem andomtextendboxlabelenddocument
 Open this example in sibbap.org.

This example produces the complying with output:


Using the enumitem package to modify and also create lists

The enumitem package is the recommended method for modifying conventional LaTeX lists or producing your very own tradition list layouts. enumitem offers a wealth of functions so we can’t cover every one of them yet we have the right to carry out a couple of basic examples to aid obtain you obtain started. Anyone wishing to check out this versatile package in more depth is strongly encouraged to browse tex.stackexreadjust for inquiries, answers (and examples) relating to the enumitem package, and to review the package documentation.

enumitem package option shortlabels

The enumitem provides an optional configuration parameter dubbed shortlabels which you use via


documentclassarticleusepackageenumitemegindocument ewcommand andomtextHello, here is some text without an interpretation. Hello, here is some message without a definition.section*Using LaTeX"s default settings for extttitemize andomtexteginitemizeitem andommessage eginitemize item andomtext eginitemize item andomtext enditemize item andommessage enditemizeitem andomtextenditemizesection*Using a tradition extttitemize via extttenumitemsubsection*Note the impact of left and also best margin settings andomtexteginitemizeitem andommessage eginitemize item andommessage eginitemize item andommessage enditemize item andommessage enditemizeitem andomtextenditemizeenddocument
 Open this enumitem instance in sibbap.org.

This instance produces the following output:


Creating a new list with enumitem

To produce a new list kind with enumitem you use the ewlist command which requires 3 arguments:

A minimum requirement is making use of the setlist command also to specify labels for this practice list. One method to do that, for enumerate-based lists, is to use the respond to variables produced by the enumitem package—those counter variables usage the name of your list: myitems in our example.

Here is how we usage the equivalent counter variables within our label configuration:

myitemsi for the level 1 entriesmyitemsii for the level 2 entriesmyitemsiii for the level 3 entries

If we had actually even more than 3 levels, the matching respond to variables would certainly be dubbed myitemsiv (level 4), myitemsv (level 5) and so forth, continuing the usage of lower-case Roguy numerals.

In enhancement to the labels, we’ll likewise set some worths for leftmargin and rightmargin (view the LaTeX parameters diagram).

documentclassarticleusepackageenumitemegindocument ewcommand andomtextHello, below is some text without a definition. Hello, here is some text without a definition. ewcommandshortrandomtextHello, here is some message.% Create a practice list based upon enumerate% It is dubbed "myitems"% We"ll develop a list that is 3 levels deep ewlistmyitemsenumerate3% Connumber the behaviour of level 1 entries% NOTE: we usage the list counter "myitemsi"setlistlabel=arabicmyitemsi., %1., 2., 3., ...leftmargin=parindent,rightmargin=10pt% Connumber the behaviour of level 2 entries% NOTE: we use the list respond to "myitemsii"setlistlabel=arabicmyitemsi.arabicmyitemsii, %1.1, 1.2, 1.3...leftmargin=15pt,rightmargin=15pt% Configure the behaviour of level 3 entries% NOTE: we use the list respond to "myitemsiii"setlist% Use a label of 1.1:(a), 1.1:(b) etc label=arabicmyitemsi.arabicmyitemsii:kern1.5pt(alphmyitemsiii),leftmargin=30pt,rightmargin=30pt andomtexteginmyitemsitem andomtext eginmyitems item andommessage eginmyitems item andommessage item andomtext endmyitems item shortrandommessage item shortrandommessage endmyitemsitem andomtextendmyitemsenddocument
 Open this enumitem example in sibbap.org.

This example produces the complying with output:


Lists for lawyers: nesting lists to an arbitrary depth

The enumitem package lets you produce lists which have the right to be nested to an arbitrary depth, rerelocating LaTeX’s limit of 4. Anyone preparing contracts via facility (deeply nested) clausage structures could advantage from this, although the nested code does look a little intimidating...

documentclassarticleusepackageenumitemegindocument ewlistcontractenumerate10setlistlabel*=arabic*.setlistdepth10 section*Custom list nested to 10 levels deep!egincontractitem Level 1 egincontract item Level 2 egincontract item Level 3 egincontract item Level 4 egincontract item Level 5 egincontract item Level 6 egincontract item Level 7 egincontract item Level 8 egincontract item Level 9 egincontract item Level 10 endcontract endcontract endcontract endcontract endcontract endcontract endcontract endcontract endcontract endcontractenddocument
 Open this enumitem instance in sibbap.org.

This example produces the following output:


Custom bullets using the enumitem package and also MetaPost

The following examples only work-related with LuaLaTeX and also are designed to offer a pointer of some possibilities—of course, substitute MetaPost through your preferred illustration application/tool!

These examples use the luamplib package and also show expandable regulates, such as he and directlua, deserve to be offered within the MetaMessage code.

Example 1: auto-sizing bullet points

This instance produces bullet points that reduce in dimension as the list depth boosts. Click on the “Open in sibbap.org” connect to run the example and also watch the complete code.

% Declare a brand-new itemize-based list via enumitem ewlistmyEnumerateitemize6% The nosep option removes all vertical spacing% the label=protectmpbullet causes all bulallows to be % attracted by a macro that provides MetaPost code. protect% is forced as provided in the enumitem hand-operated setlistnosep,label=protectmpbulletsetlistdepth6eginmyEnumerateitem Level 1 eginmyEnumerate item Level 2 eginmyEnumerate item Level 3 eginmyEnumerate item Level 4 eginmyEnumerate item Level 5 eginmyEnumerate item Level 6 endmyEnumerate endmyEnumerate endmyEnumerate endmyEnumerate endmyEnumerateendmyEnumerate
 To watch the complete code, open up this LuaLaTeX instance in sibbap.org.

This example produces the following output:


Example 2: funky tradition bullets

This instance was motivated by an example on tex.stackexadjust which sibbap.org has modified to create practice bulallows making use of MetaBlog post code. Click on the “Open in sibbap.org” attach to run the instance and watch the full code.

 To see the complete code, open this LuaLaTeX example in sibbap.org.

This instance produces the complying with output:


Other features of the enumitem package

As provided, the enumitem package is extremely flexible and provides countless features for utilizing and also customizing lists. For instance, attributes we have actually not covered include:

regulating enumerate list numbering:collection the beginning number of the initially itemproceed numbering of various enumerate lists

And many more! Browse tex.stackexreadjust to discover many type of great examples of what you deserve to execute by means of enumitem—and also, of course, review the package documentation.