CTAN Comprehensive TeX Archive Network

Directory macros/luatex/latex/luacjk

README.md

CTAN Version GitHub Release GitHub Last Commit Actions Status GitHub Repo stars

The LuaCJK Package

The LuaCJK package typesets Chinese, Japanese, and Korean (CJK) with the Lua engine.

It provides

  • A CJK font family layer, with sub-blocks, fallback fonts, the LXGW
collection, and fake bold and slant.
  • CJK/CJK and CJK/Latin spacing, and the prohibitions that keep a line from
breaking at the wrong place.
  • The quanjiao, plain, banjiao, kaiming, CCT, and hangmobanjiao
punctuation styles.
  • Underlining, emphasis dots, and strike-through, through the companion
package LuaCJKfntef.
  • CJK text kept in place and two columns wide inside a listings block,
through the companion package LuaCJK-listings.
  • Tagged-PDF output: with \DocumentMetadata{tagging=on} the ink of a
decoration is an artifact and a decoration symbol is left out of the text a reader copies. Under l3doc, load latex-lab-testphase-l3doc as well.

It runs on the Lua engine only, and must not be loaded together with luatexja.

Overview

To load this package, write the line

\usepackage{LuaCJK}

and then choose the CJK fonts, for example with

\setCJKmainfont{LXGWNeoZhiSong.ttf}

A ctex document takes it through the engine option instead, and does not load the package separately:

\documentclass[engine = luacjk]{ctexart}

See LuaCJK.pdf for more. Happy ing!

Issues

The issue tracker for LuaCJK is currently located on GitHub.

Build status

This project uses GitHub Actions as a hosted continuous integration service. For each commit, the build status is tested using the current release of Live.

Current build status:build status

Copyright and License

Copyright (C) 2026 by Mingyu Xia <myhsia@outlook.com>

This work may be distributed and/or modified under the conditions of the Project Public License (LPPL), either version 1.3c of this license or (at your option) any later version. The latest version of this license is in

http://www.latex-project.org/lppl.txt

and version 1.3c or later is part of all distributions of version 2008 or later.

This work has the LPPL maintenance status maintained.

The Current Maintainer of this work is Mingyu Xia.

Download the contents of this package in one zip archive (2.8M).

LuaCJK – A Lua CJK typesetting package

LuaCJK is a package for typesetting documents in Chinese, Japanese or Korean with Lua. It provides separate font families for CJK and Latin scripts, CJK-specific glue, punctuation compression and line-breaking prohibitions, and tagged-PDF output.

PackageLuaCJK
Bug tracker
Repository
Developers
Version0.1.2 2026-11-30
LicensesThe Project Public License 1.3c
Copyright2026 Mingyu Xia
MaintainerMingyu Xia
Contained inTeX Live as luacjk
MiKTeX as luacjk
TopicsTagged PDF – partially compatible
Korean
Japanese
Lua
Chinese
...
Guest Book Sitemap Contact Contact Author