Skip to content
Metanorma
On this page

Lists

Metanorma AsciiDoc supports three types of lists:

  • Unordered lists
  • Ordered lists
  • Definition lists

Unordered lists

Unordered lists are bulleted and can be nested by adding asterisks. They look like this:

The main changes compared to the previous edition are:
* updated normative references;
* deletions:
** deletion of 4.3. [nested list item]
** deletion of 4.4. [nested list item]

Ordered lists

Ordered lists are invoked by beginning the line with a dot .. The list items are numbered automatically. The default list arabic numbers but can vary depending on the stylesheet of your organization.

. First Step
. Second Step
. Third Step

Definition lists

Definition lists (also called description lists pair a term and a description together. They are often used in a "Definitions" section to define units or terms. Definition lists can appear in other sections as well, except for the Terms section, which provides a special syntax for defining terms.

Definition lists follow the syntax of:

`term:: Definition`
Example of definitions for unitsAsciiDoc
stem:[w]:: is the mass fraction of grains with a particular defect in the test sample;
stem:[m_D]:: is the mass, in grams, of grains with that defect;
stem:[m_S]:: is the mass, in grams, of the test sample.
Note
\stem:[] is used for mathematical formatting, and results in italics. So w is an italic w, w; \m_D is an italic m with a D subscript: mD.

Practice time

:exercise-file: exercise-2-3-1 include::exercises.adoc[tags=intro;exercise-2-3-1]

Great work! Let’s have a look at term definitions in the next lesson.

+++ <div class="cta tutorial"><a class="button" href="/learn/lessons/lesson-2-3-2/">Start next lesson »</a></div> ++++

Edit this page on GitHub →