How To Install texlive-type1cm on CentOS 7

In this tutorial we learn how to install texlive-type1cm on CentOS 7. texlive-type1cm is Arbitrary size font selection in LaTeX

Introduction

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

What is texlive-type1cm

LaTeX, by default, restricts the sizes at which you can use its default computer modern fonts, to a fixed set of discrete sizes (effectively, a set specified by Knuth). The type1cm package removes this restriction; this is particularly useful when using scalable versions of the cm fonts (Bakoma, or the versions from BSR/Y&Y, or True Type versions from Kinch, PCTeX, etc.). In fact, since modern distributions will automatically generate any bitmap font you might need, type1cm has wider application than just those using scaleable versions of the fonts. Note that the LaTeX distribution now contains a package fix-cm, which performs the task of type1cm, as well as doing the same job for T1- and TS1-encoded ec fonts. date

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

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

sudo yum -y install texlive-type1cm

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

sudo dnf -y install texlive-type1cm

How To Uninstall texlive-type1cm on CentOS 7

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

sudo dnf remove texlive-type1cm

References

Summary

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