CTAN Comprehensive TeX Archive Network

Directory language/japanese/BX/bxghost


The BXghost Package

: ghost insertion for proper xkanjiskip

System requirements

  • format:
  • engine: Lua, , p, up, and Ap (p-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., Lua-ja for Lua and bxjscls for ). BXghost does not load any external packages automatically.


This package provides following commands:

  • \eghostguarded{<text>} inserts European 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.

In addition, the following package option is available:

  • verb patches the \verb command of to be guarded by European ghost.


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).


This package is distributed under the MIT license.

Revision History

  • Version 0.3.0 ‹2020/01/31›
    • Add the verb option
  • Version 0.2.0 ‹2019/09/17›
    • Add supports for and Ap (p-ng)
  • Version 0.1.0 ‹2019/09/16›
    • The first public version
    • Add supports for Lua to the original PXghost package

Takuto ASAKURA (wtsnjp)

Download the contents of this package in one zip archive (3.1k).

BXghost – Ghost insertion for proper xkanjiskip

The package provides two commands to help authors for documents in Japanese to insert proper xkanjiskips. It supports Lua, , p, up, and Ap (p-ng).

Bug trackerhttps://github.com/wtsnjp/BXghost/issues
Version0.3.0 2020-01-31
LicensesMIT License
Copyright2019 Takuto ASAKURA (wtsnjp)
MaintainerTakuto Asakura
Contained inTeX Live as bxghost
MiKTeX as bxghost
TopicsMacro support
Guest Book Sitemap Contact Contact Author