How To Install texlive-ifnextok on Fedora 36

In this tutorial we learn how to install texlive-ifnextok in Fedora 36. texlive-ifnextok is Utility macro

Introduction

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

What is texlive-ifnextok

The package deals with the behaviour of the LaTeX internal command @ifnextchar, which skips blank spaces. This has the potential to surprise users, since it can produce really unwanted effects. A common example occurs with brackets starting a line following \ argument, whereas the user wants the brackets to be printed. The package offers commands and options for modifying this behaviour, maybe limited to certain parts of the document source.

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

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

sudo dnf -y install texlive-ifnextok

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

sudo yum -y install texlive-ifnextok

How To Uninstall texlive-ifnextok on Fedora 36

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

sudo dnf remove texlive-ifnextok

texlive-ifnextok Package Contents on Fedora 36

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

References

Summary

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