How To Install texlive-mathastext on Fedora 36

In this tutorial we learn how to install texlive-mathastext in Fedora 36. texlive-mathastext is Use the text font in maths mode

Introduction

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

What is texlive-mathastext

The package uses a text font (usually the document’s text font) for the letters of the Latin alphabet needed when typesetting mathematics. (Optionally, other characters in the font may also be used). This facility makes possible (for a document with simple mathematics) a far wider choice of text font, with little worry that no specially designed accompanying maths fonts are available. The package also offers a simple mechanism for using many different choices of (text hence, now, maths) font in the same document. Of course, using one font for two purposes helps produce smaller PDF files. The package, running under LuaTeX, requires the TeX live 2013 distribution (or later).

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

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

sudo dnf -y install texlive-mathastext

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

sudo yum -y install texlive-mathastext

How To Uninstall texlive-mathastext on Fedora 36

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

sudo dnf remove texlive-mathastext

texlive-mathastext Package Contents on Fedora 36

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

References

Summary

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