How To Install texlive-mh on CentOS 7

In this tutorial we learn how to install texlive-mh on CentOS 7. texlive-mh is The MH bundle

Introduction

In this tutorial we learn how to install texlive-mh on CentOS 7.

What is texlive-mh

The mh bundle is a series of packages designed to enhance the appearance of documents containing a lot of math. The main backbone is amsmath, so those unfamiliar with this required part of the LaTeX system will probably not find the packages very useful. Component parts of the bundle are flexisym, mathstyle and mathtools, mhsetup, The empheq package is a visual markup extension of amsmath. Empheq allows sophisticated boxing and other marking of multi-line maths displays, and fixes problems with the way that the ntheorem package places end-of-theorem markers. The mathtools package provides many useful tools for mathematical typesetting. It fixes various deficiencies of amsmath and standard LaTeX. The mhsetup package defines various programming tools needed by both empheq and mathtools. The breqn package makes more easy the business of preparing displayed equations in LaTeX, including permitting automatic line-breaking within displayed equations. (Breqn uses the mathstyle package to keep track of the current maths typesetting style, something that raw TeX hides from the programmer.) date

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

Install texlive-mh on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install texlive-mh using yum by running the following command:

sudo yum -y install texlive-mh

Install texlive-mh on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install texlive-mh using dnf by running the following command:

sudo dnf -y install texlive-mh

How To Uninstall texlive-mh on CentOS 7

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

sudo dnf remove texlive-mh

References

Summary

In this tutorial we learn how to install texlive-mh on CentOS 7 using yum and dnf.