gyoudori__source

Gyou-dori (line-based placement) of headings, display math and floats for Japanese typesetting

Version:
20261026.0
Copyright:
Yuwsuke Kieda
License:
mit
Packaged on:
11/08/2026 12:17:54
Number of files:
4
Size on disk:
84.97 kB

The package implements gyou-dori (line-based placement), a layout used in Japanese typesetting when the lines of the main text are to stay on a line grid: an element whose size differs from the main text is placed in an area of a whole number of lines, so that the following lines stay on the grid. The gyoudori environment and the \gyoudoriarea command place headings and the like in an n-line area (top, center or bottom), positioned by the character frames of the content. Options place display math (equation, \[ \], eqnarray and the amsmath environments) and floats in such areas automatically, and round the float separations to whole lines. It works with nidanfloat, stfloats, flushend and evenend. Works with pLaTeX, upLaTeX and LuaLaTeX (LuaTeX-ja) for horizontal writing. The documentation is in English and Japanese.