Skip to content
LaTeX: ghost insertion for proper xkanjiskip
TeX Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
Rakefile
bxghost.sty

README.md

The BXghost Package

LaTeX: ghost insertion for proper xkanjiskip

System requirements

  • TeX format: LaTeX
  • TeX engine: LuaTeX, XeTeX, pTeX, upTeX, and ApTeX (pTeX-ng)

Since this package is intended to be used for creating documents in Japanese, it assumes appropriate classes and/or packages are loaded in some engines (e.g., LuaTeX-ja for LuaTeX and bxjscls for XeTeX). BXghost does not load any external packages automatically.

Usage

This package provides following commands:

  • \eghostguarded{<text>} inserts Europian ghost (invisible and zero-width alphabets) before and after the <text>. In math mode, it outputs only <text> without the ghosts.
  • \jghostguarded{<text>} inserts Japanese ghost (invisible and zero-width Japanese characters) before and after the <text>. In math mode, it outputs only <text> without the ghosts.

Acknowledgements

The logic and style of the code in this package is greatly inspired by Package PXghost and various packages in the BX series. I would like to thank the author of the packages, Dr. Takayuki YATO (aka. ZR).

License

This package is distributed under the MIT license.

Revision History

  • Version 0.2.0 ‹2019/09/17›
    • Add supports for XeTeX and ApTeX (pTeX-ng)
  • Version 0.1.0 ‹2019/09/16›
    • The first public version
    • Add supports for LuaTeX to the original PXghost package

Takuto ASAKURA (wtsnjp)

You can’t perform that action at this time.