How To Install texlive-ifoddpage on Fedora 36
Introduction
In this tutorial we learn how to install texlive-ifoddpage
on Fedora 36.
What is texlive-ifoddpage
The package provides an \ifoddpage conditional to determine if the current page is odd or even. The macro \checkoddpage must be used direct before to check the page number using a label. Two compiler runs are therefore required to achieve correct results. In addition, the conditional \ifoddpageoronside is provided which is also true in oneside mode where all pages use the odd page layout.
We can use yum
or dnf
to install texlive-ifoddpage
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-ifoddpage.
Install texlive-ifoddpage 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-ifoddpage
using dnf
by running the following command:
sudo dnf -y install texlive-ifoddpage
Install texlive-ifoddpage 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-ifoddpage
using yum
by running the following command:
sudo yum -y install texlive-ifoddpage
How To Uninstall texlive-ifoddpage on Fedora 36
To uninstall only the texlive-ifoddpage
package we can use the following command:
sudo dnf remove texlive-ifoddpage
texlive-ifoddpage Package Contents on Fedora 36
/usr/share/licenses/texlive-ifoddpage
/usr/share/licenses/texlive-ifoddpage/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/latex/ifoddpage
/usr/share/texlive/texmf-dist/tex/latex/ifoddpage/ifoddpage.sty
References
Summary
In this tutorial we learn how to install texlive-ifoddpage
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).