How To Install texlive-etoc on Fedora 36
Introduction
In this tutorial we learn how to install texlive-etoc
on Fedora 36.
What is texlive-etoc
The package gives the user complete control of how the entries of the table of contents should be constituted from the name, number, and page number of each sectioning unit. The layout is controlled by the definition of ’line styles’ for each sectioning level used in the document. The package provides its own custom line styles (which may be used as examples), and continues to support the standard formatting inherited from the LaTeX document classes, but the package can also allow the user to delegate the details to packages dealing with list making environments (such as enumitem). The package’s default global style typesets tables of contents in a multi-column format, with either a standard heading, or a ruled title (optionally with a frame around the table). The \tableofcontents command may be used arbitrarily many times in the same document, while \localtableofcontents provides a ’local’ table of contents.
We can use yum
or dnf
to install texlive-etoc
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-etoc.
Install texlive-etoc on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install texlive-etoc
using dnf
by running the following command:
sudo dnf -y install texlive-etoc
Install texlive-etoc on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install texlive-etoc
using yum
by running the following command:
sudo yum -y install texlive-etoc
How To Uninstall texlive-etoc on Fedora 36
To uninstall only the texlive-etoc
package we can use the following command:
sudo dnf remove texlive-etoc
texlive-etoc Package Contents on Fedora 36
/usr/share/licenses/texlive-etoc
/usr/share/licenses/texlive-etoc/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/latex/etoc
/usr/share/texlive/texmf-dist/tex/latex/etoc/etoc.sty
References
Summary
In this tutorial we learn how to install texlive-etoc
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).