How To Install texlive-marginfix on Fedora 36

In this tutorial we learn how to install texlive-marginfix in Fedora 36. texlive-marginfix is Patch \marginpar to avoid overfull margins

Introduction

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

What is texlive-marginfix

Authors using LaTeX to typeset books with significant margin material often run into the problem of long notes running off the bottom of the page. A typical workaround is to insert \vshift commands by hand, but this is a tedious process that is invalidated when pagination changes. Another workaround is memoir’s \sidebar function, but this can be unsatisfying for short textual notes, and standard marginpars cannot be mixed with sidebars. This package implements a solution to make marginpars “just work” by keeping a list of floating inserts and arranging them intelligently in the output routine.

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

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

sudo dnf -y install texlive-marginfix

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

sudo yum -y install texlive-marginfix

How To Uninstall texlive-marginfix on Fedora 36

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

sudo dnf remove texlive-marginfix

texlive-marginfix Package Contents on Fedora 36

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

References

Summary

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