|
typeset 0.1.0
縦書き・横書きの日本語組版ライブラリ(JLReq 水準、ラスタ / PDF / SVG)
|
柱・ノンブル(横組みで版面の上/下に置く。縦組みの本でも横に置くのが慣例) [詳解]
#include <typeset/page/page.hpp>
公開変数類 | |
| inl::Paragraph | para |
| Pt | offset = 0.0f |
| 版面の端から行の中心線までの距離(上の柱は版面上端から上へ、下は下端から下へ) | |
| bool | mirrorOnEven = false |
| 見開き(duplex)で偶数ページの揃えを左右反転する(柱・ノンブルを小口側に置く) | |
柱・ノンブル(横組みで版面の上/下に置く。縦組みの本でも横に置くのが慣例)
テキスト中の {page} {pages} はページ番号/総ページ数、その他の {name} は FlowLayouter に渡す fields で置換する。揃えは para.style.align(Start / Center / End)。
| inl::Paragraph typeset::page::RunningText::para |
| Pt typeset::page::RunningText::offset = 0.0f |
| bool typeset::page::RunningText::mirrorOnEven = false |