How To Install texlive-zhspacing on Fedora 36

In this tutorial we learn how to install texlive-zhspacing in Fedora 36. texlive-zhspacing is Spacing for mixed CJK-English documents in XeTeX

Introduction

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

What is texlive-zhspacing

The package manages spacing in a CJK document; between consecutive Chinese letters, spaces are ignored, but a consistent space is inserted between Chinese text and English (or mathematics). The package may be used by any document format under XeTeX.

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

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

sudo dnf -y install texlive-zhspacing

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

sudo yum -y install texlive-zhspacing

How To Uninstall texlive-zhspacing on Fedora 36

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

sudo dnf remove texlive-zhspacing

texlive-zhspacing Package Contents on Fedora 36

/usr/share/licenses/texlive-zhspacing
/usr/share/licenses/texlive-zhspacing/lppl1.txt
/usr/share/texlive/texmf-dist/tex/context/third/zhspacing
/usr/share/texlive/texmf-dist/tex/context/third/zhspacing/t-zhspacing.tex
/usr/share/texlive/texmf-dist/tex/generic/zhspacing
/usr/share/texlive/texmf-dist/tex/generic/zhspacing/zhmath.sty
/usr/share/texlive/texmf-dist/tex/generic/zhspacing/zhsmyclass.sty
/usr/share/texlive/texmf-dist/tex/generic/zhspacing/zhspacing.sty
/usr/share/texlive/texmf-dist/tex/generic/zhspacing/zhsusefulmacros.sty
/usr/share/texlive/texmf-dist/tex/xelatex/zhspacing
/usr/share/texlive/texmf-dist/tex/xelatex/zhspacing/zhfont.sty
/usr/share/texlive/texmf-dist/tex/xelatex/zhspacing/zhulem.sty

References

Summary

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