LaTeX/C3/Creating-Endnotes-in-LaTeX/English

From Script | Spoken-Tutorial
Jump to: navigation, search

Title of the Script: Creating Endnotes in LaTeX

Author: Ambika Vanchinathan.

Keywords: latex, Endnotes, Footnotes, notesname, theendnotes, video tutorial


Visual Cue Narration
Slide 1

Title Slide

Welcome to the spoken tutorial on Creating Endnotes in LaTeX
Slide 2

Learning Objectives

In this tutorial, we will learn to
  • Create endnotes
  • Customize endnote headings
  • Reset endnote counters
  • Add hyperlinks to endnotes
  • Change the color of endnotes
Slide 3

System Requirements

To record this tutorial, I am using:
  • Ubuntu Linux OS version 22.04
  • Texworks version 0.6.6
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. endnotes-eg.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:

\documentclass{book}

This line sets the document class to a book.
Highlight:

\usepackage{endnotes}

endnotes package is used to display all the endnotes in a document.
Highlight:

\endnote{} in lines 14, 26, 46

Here we are using \endnote command to display a text.

The text written within the curly braces will be added as a footnote.

Highlight:

line 49

\theendnotes command is used to insert the endnotes in the document.
Uncomment line 49

Click the green Typeset button

Show the Notes in the last page of the output

Let us uncomment line number 49.

Click the green Typeset button to run the code.

We see notes at the end of the document.

Highlight:

Line 22,38,39.

Uncomment line 22, 38, 39

Click the green Typeset button

Show the Notes at the end of chapter, section and document end in the output.

The endnotes for each section extend to the next page."

Since each new chapter starts on an odd-numbered page, a blank page appears before the next chapter begins.

Notes are created wherever the \theendnotes command is used.

Now uncomment lines 22, 38 and 39.

Run the code.

We see continuous notes numbered from 1 to 4.

Notes appear at the end of the chapter, section, and document.

The endnotes for each section now extend to the next page.

As each chapter starts on an odd page, we see a blank page before the next chapter.

Highlight:

line 23

\setcounter{endnote}{0}

resets the endnote counter to 0 and starts from 1 again.

The next endnote will start from number 1 irrespective of its current count.

This option can be used to start new endnotes after every section or subsection.

Uncomment line 23, 40

Click the green Typeset button

Show the Notes number in the output

Let us uncomment lines 23 and 40.

Let’s run the code.

Scroll the pages to see the complete output.

The endnotes previously numbered as 3 and 4 have now changed to 1.

Highlight:

Line number 7

This command changes the heading as Endnotes.
Uncomment line 7

Click the green Typeset button

Show the Notes heading in the output

Uncomment line number 7.

and run the code.

Here is the output.

Observe that the heading of the notes has changed from Notes to Endnotes.

Highlight:

Line number 32

The \href{}{} command creates a hyperlink.
Uncomment lines 5, 32

Click the green Typeset button

Point the clickable link on page 3 of the output

Uncomment line numbers 5 and 32.

Let’s run the code.

The second endnote now has a hyperlink.

Uncomment line 6 and 9

Click the green Typeset button.

Highlight:

Line number 9

Point at the Endnotes numbers in the output

Now uncomment line numbers 6 and 9.

Run the code.

The endnote numbers are shown in blue colour.

Slide 6

Summary

In this tutorial, we have learnt to,

  • Create endnotes
  • Customize endnote headings
  • Reset endnote counters
  • Add hyperlinks to endnotes
  • Change the color of endnotes
With this we come to the end of this tutorial.

Let us summarise.

Slide 7

Assignment

As an Assignment

Place endnotes at the end of each chapter

Change the colour of the endnotes to any colour of your choice.

Slide 8

Thank you

Thank you for joining

Contributors and Content Editors

Ketkinaina, Madhurig