How To Install texlive-shadethm on Fedora 36

In this tutorial we learn how to install texlive-shadethm in Fedora 36. texlive-shadethm is Theorem environments that are shaded

Introduction

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

What is texlive-shadethm

Extends the \newtheorem command. If you say \newshadetheorem{theorem}{Theorem} in the preamble then your regular \begin{theorem} .. \end{theorem} will produce a theorem statement in a shaded box. It supports all the options of \newtheorem, including forms \newshadetheorem{..}[..]{..} and \newshadetheorem{..}{..}[..]. Environments declared using the package require their body to remain on one page; the mdframed package can frame and shade theorems, and its environments break at the end of a page; users are generally recommended, therefore, to use mdframed. In the same spirit, the author told us in January 2020 number of more recent, more powerful packages that have capabilities that greatly extend the simple ones here. A new project should use one of those. These files only continue to be available to help people who are working with an old project."

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

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

sudo dnf -y install texlive-shadethm

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

sudo yum -y install texlive-shadethm

How To Uninstall texlive-shadethm on Fedora 36

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

sudo dnf remove texlive-shadethm

texlive-shadethm Package Contents on Fedora 36

/usr/share/licenses/texlive-shadethm
/usr/share/licenses/texlive-shadethm/lppl1.txt
/usr/share/texlive/texmf-dist/tex/latex/shadethm
/usr/share/texlive/texmf-dist/tex/latex/shadethm/colored.sth
/usr/share/texlive/texmf-dist/tex/latex/shadethm/shadein.sth
/usr/share/texlive/texmf-dist/tex/latex/shadethm/shadethm.sty

References

Summary

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