How To Install texlive-shapepar on Fedora 36
Introduction
In this tutorial we learn how to install texlive-shapepar on Fedora 36.
What is texlive-shapepar
\shapepar is a macro to typeset paragraphs in a specific shape. The size is adjusted automatically so that the entire shape is filled with text. There may not be displayed maths or ‘\vadjust’ material (no \vspace) in the argument of \shapepar. The macros work for both LaTeX and plain TeX. For LaTeX, specify \usepackage{shapepar}; for Plain, \input shapepar.sty. \shapepar works in terms of user-defined shapes, though the package does provide some predefined shapes any paragraph into the form of a heart by putting \heartpar{sometext…} inside your document. The tedium of creating these polygon definitions may be alleviated by using the shapepatch extension to transfig which will convert xfig output to \shapepar polygon form.
We can use yum or dnf to install texlive-shapepar on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-shapepar.
Install texlive-shapepar 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-shapepar using dnf by running the following command:
sudo dnf -y install texlive-shapepar
Install texlive-shapepar 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-shapepar using yum by running the following command:
sudo yum -y install texlive-shapepar
How To Uninstall texlive-shapepar on Fedora 36
To uninstall only the texlive-shapepar package we can use the following command:
sudo dnf remove texlive-shapepar
texlive-shapepar Package Contents on Fedora 36
/usr/share/texlive/texmf-dist/tex/generic/shapepar
/usr/share/texlive/texmf-dist/tex/generic/shapepar/Canflagshape.def
/usr/share/texlive/texmf-dist/tex/generic/shapepar/TeXshape.def
/usr/share/texlive/texmf-dist/tex/generic/shapepar/candleshape.def
/usr/share/texlive/texmf-dist/tex/generic/shapepar/dropshape.def
/usr/share/texlive/texmf-dist/tex/generic/shapepar/shapepar.sty
/usr/share/texlive/texmf-dist/tex/generic/shapepar/triangleshapes.def
References
Summary
In this tutorial we learn how to install texlive-shapepar on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).