Difference between revisions of "LaTeX/C3/Inline-and-Resuming-Lists/English"
Ketkinaina (Talk | contribs) (Created page with "'''Title of the Script''': '''Inline and Resuming Lists''' '''Author:''' Ambika Vanchinathan, Ketki Bhamble '''Keywords: '''LaTeX, shortlabels, inline, resume, start, enumer...") |
|||
| Line 3: | Line 3: | ||
'''Author:''' Ambika Vanchinathan, Ketki Bhamble | '''Author:''' Ambika Vanchinathan, Ketki Bhamble | ||
| − | '''Keywords: '''LaTeX, shortlabels, inline, resume, start, enumerate, inline list, numbered list, | + | '''Keywords: '''LaTeX, shortlabels, inline, resume, start, enumerate, inline list, numbered list, video tutorial. |
| − | + | ||
| − | video tutorial. | + | |
| Line 16: | Line 14: | ||
'''Title Slide''' | '''Title Slide''' | ||
| − | || Welcome to the spoken tutorial on '''Inline and Resuming Lists | + | || Welcome to the spoken tutorial on '''Inline and Resuming Lists'''. |
|- | |- | ||
|| '''Slide 2''' | || '''Slide 2''' | ||
| Line 37: | Line 35: | ||
'''Pre-requisites''' | '''Pre-requisites''' | ||
| − | || To follow this tutorial, learners should have basic knowledge of LaTeX. | + | || To follow this tutorial, learners should have basic knowledge of '''LaTeX'''. |
|- | |- | ||
|| '''Slide 5''' | || '''Slide 5''' | ||
| Line 60: | Line 58: | ||
Click the green Typeset button and show the output. | Click the green Typeset button and show the output. | ||
| − | || This command imports the enumitem package with the '''shortlabels '''option. | + | || This command imports the '''enumitem''' package with the '''shortlabels '''option. |
| − | Click the green Typeset button to run the code. | + | Click the green '''Typeset''' button to run the code. |
The output shows a list of items followed by a text and a list. | The output shows a list of items followed by a text and a list. | ||
| Line 80: | Line 78: | ||
'''\begin{enumerate}[i)]''' | '''\begin{enumerate}[i)]''' | ||
| − | || enumitem with shortlabels customizes the numbering to lowercase '''Roman''' numerals. | + | || '''enumitem''' with '''shortlabels''' customizes the numbering to lowercase '''Roman''' numerals. |
This avoids the longer form''' label=(\roman*) '''for quicker customization. | This avoids the longer form''' label=(\roman*) '''for quicker customization. | ||
|- | |- | ||
| − | || Click the green Typeset button and show the output | + | || Click the green '''Typeset''' button and show the output |
|| Let’s run the code to see the output. | || Let’s run the code to see the output. | ||
| Line 107: | Line 105: | ||
'''%\end{enumerate*}''' | '''%\end{enumerate*}''' | ||
| − | || This command loads the enumitem package with the '''inline''' option. | + | || This command loads the '''enumitem''' package with the '''inline''' option. |
The inline option creates a numbered list displayed as a paragraph. | The inline option creates a numbered list displayed as a paragraph. | ||
| Line 113: | Line 111: | ||
The '''enumerate* star '''environment creates an inline numbered list in a paragraph. | The '''enumerate* star '''environment creates an inline numbered list in a paragraph. | ||
|- | |- | ||
| − | || Click the green Typeset button and show the output. | + | || Click the green '''Typeset''' button and show the output. |
|| Let’s run the code. | || Let’s run the code. | ||
| Line 148: | Line 146: | ||
|| Let’s run the code. | || Let’s run the code. | ||
| − | Now, we see the second list with items | + | Now, we see the second list with items 6 to 8 instead of 1 to 3. |
|- | |- | ||
|| Comment line 39 | || Comment line 39 | ||
| Line 164: | Line 162: | ||
Run the code. | Run the code. | ||
| − | We see list starting from item number | + | We see list starting from item number 25 to 27. |
Here we can start the list with any number, say 15. | Here we can start the list with any number, say 15. | ||
Latest revision as of 12:43, 12 August 2025
Title of the Script: Inline and Resuming Lists
Author: Ambika Vanchinathan, Ketki Bhamble
Keywords: LaTeX, shortlabels, inline, resume, start, enumerate, inline list, numbered list, video tutorial.
| Visual Cue | Narration |
| Slide 1
Title Slide |
Welcome to the spoken tutorial on Inline and Resuming Lists. |
| Slide 2
Learning Objectives |
In this tutorial, we will learn to,
|
| Slide 3
System Requirements |
To record this tutorial, I am using:
|
| Slide 4
Pre-requisites |
To follow this tutorial, learners should have basic knowledge of LaTeX. |
| Slide 5
Code files The following code file is required to practice this tutorial: 1. enumitem-eg2.tex This file is provided in the Code Files link of this tutorial page. |
The following code file is required to practice this tutorial.
This file is provided in the Code Files link of this tutorial page. |
| Let us get started. | |
| Highlight:
\usepackage[shortlabels]{enumitem} Click the green Typeset button and show the output. |
This command imports the enumitem package with the shortlabels option.
Click the green Typeset button to run the code. The output shows a list of items followed by a text and a list. |
| Comment line 12.
Uncomment line 13. Highlight: line 13 \begin{enumerate}[i)] |
Let us comment line number 12.
And uncomment line number 13. |
| Highlight: line 13
\begin{enumerate}[i)] |
enumitem with shortlabels customizes the numbering to lowercase Roman numerals.
This avoids the longer form label=(\roman*) for quicker customization. |
| Click the green Typeset button and show the output | Let’s run the code to see the output.
The numbering style has changed to lowercase roman numerals. |
| Comment line 5, 13, 21
Uncomment line 6, 14, 20 |
Let’s comment lines 5, 13, 21 and
Uncomment lines 6, 14, 20. |
| Highlight: line 6
%\usepackage[inline]{enumitem} Highlight:[inline] Highlight: lines 14 and 20 %\begin{enumerate*} %\end{enumerate*} |
This command loads the enumitem package with the inline option.
The inline option creates a numbered list displayed as a paragraph. The enumerate* star environment creates an inline numbered list in a paragraph. |
| Click the green Typeset button and show the output. | Let’s run the code.
We can see the first list, now listed in paragraph mode. |
| Comment line 6, 14, 20
Uncomment line 5, 12, 21 Click the green Typeset button |
Let’s comment lines 6, 14, 20
and uncomment lines 5, 12, 21 Run the code. We can see the list in normal format. |
| Comment line 30
Uncomment line 31 |
Let’s Comment line 30 and
Uncomment line 31. |
| Hightlight:Line 31
\begin{enumerate}[resume] |
The resume along with enumerate continues numbering from the previous list.
This command works when, enumerate package is loaded with shortlabels option. |
| Click the green Typeset button and show the output | Let’s run the code.
Now, we see the second list with items 6 to 8 instead of 1 to 3. |
| Comment line 39 | Let’s comment line 39. |
| Hightlight: line 41
\begin{enumerate}[start=25] Click the green Typeset button and show the output Change the 25 to 15 and run. |
Here, Option [start=25] starts the list from 25.
Run the code. We see list starting from item number 25 to 27. Here we can start the list with any number, say 15. Again, run the code. The list starts with 15. |
| Slide 5
Summary In this tutorial, we have learnt to,
|
With this we come to the end of this tutorial.
Let us summarise. |
| Slide 6
Assignment |
As an assignment
|
| Slide 8
Thank you |
Thank you for joining |