How To Install texlive-maybemath on Fedora 36

In this tutorial we learn how to install texlive-maybemath in Fedora 36. texlive-maybemath is Make math bold or italic according to context

Introduction

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

What is texlive-maybemath

The \maybebm and \maybeit macros can be used in maths expressions to make the arguments typeset as bold or italic respectively if the surrounding context is appropriate. They are useful for writing user macros for use in general contexts. \maybebm is especially appropriate when section titles contain math expressions, since the title will appear bold but the header and table of contents usually replicate the title in normal width. It uses the bm package to make things bold \maybeit performs a similar role to \mathrm{} but the maths expression will be italicised if the surrounding text is. \maybeitsubscript is provided to shift subscripts to the left if the expression is italicised.

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

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

sudo dnf -y install texlive-maybemath

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

sudo yum -y install texlive-maybemath

How To Uninstall texlive-maybemath on Fedora 36

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

sudo dnf remove texlive-maybemath

texlive-maybemath Package Contents on Fedora 36

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

References

Summary

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