How To Install texlive-mathpartir on Fedora 36

In this tutorial we learn how to install texlive-mathpartir in Fedora 36. texlive-mathpartir is Typesetting sequences of math formulas, e.g. type inference rules

Introduction

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

What is texlive-mathpartir

The package provides macros for typesetting math formulas in mixed horizontal and vertical mode, automatically as best fit. It provides an environment mathpar that behaves much as a loose centered paragraph where words are math formulas, and spaces between them are larger and adjustable. It also provides a macro \inferrule for typeseting fractions where both the numerator and denominator may be sequences of formulas that will be also typeset in a similar way. It can typically be used for typeseting sets of type inference rules or typing derivations. A macro inferrule for typesetting type inference rules.

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

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

sudo dnf -y install texlive-mathpartir

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

sudo yum -y install texlive-mathpartir

How To Uninstall texlive-mathpartir on Fedora 36

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

sudo dnf remove texlive-mathpartir

texlive-mathpartir Package Contents on Fedora 36

/usr/share/licenses/texlive-mathpartir
/usr/share/licenses/texlive-mathpartir/gpl2.txt
/usr/share/texlive/texmf-dist/tex/latex/mathpartir
/usr/share/texlive/texmf-dist/tex/latex/mathpartir/mathpartir.sty

References

Summary

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