How To Install texlive-interval on Fedora 36

In this tutorial we learn how to install texlive-interval in Fedora 36. texlive-interval is Format mathematical intervals, ensuring proper spacing

Introduction

In this tutorial we learn how to install texlive-interval on Fedora 36.

What is texlive-interval

When typing an open interval as $]a,b[$, a closing bracket is being used in place of an opening fence and vice versa. This leads to the wrong spacing in, say, $]-a,b[$ or $A\in]a,b[=B$. The package attempts to solve this using [a,b] \interval[open]{a}{b} -> ]a,b[ \interval[open left]{a}{b} -> ]a,b] The package also supports fence scaling and ensures that the enclosing fences will end up having the proper closing and opening types. TeX maths does not do this job properly.

We can use yum or dnf to install texlive-interval on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-interval.

Install texlive-interval 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-interval using dnf by running the following command:

sudo dnf -y install texlive-interval

Install texlive-interval 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-interval using yum by running the following command:

sudo yum -y install texlive-interval

How To Uninstall texlive-interval on Fedora 36

To uninstall only the texlive-interval package we can use the following command:

sudo dnf remove texlive-interval

texlive-interval Package Contents on Fedora 36

/usr/share/licenses/texlive-interval
/usr/share/licenses/texlive-interval/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/latex/interval
/usr/share/texlive/texmf-dist/tex/latex/interval/interval.sty

References

Summary

In this tutorial we learn how to install texlive-interval on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).