|
typeset 0.1.0
縦書き・横書きの日本語組版ライブラリ(JLReq 水準、ラスタ / PDF / SVG)
|
ラベル付き段落 — 台本の「名前欄+本文」、箇条書き、用語集 [詳解]
#include <typeset/block/block.hpp>
公開変数類 | |
| inl::Paragraph | label |
| std::vector< inl::Paragraph > | body |
| Pt | labelWidth = 0.0f |
| Pt | gap = 0.0f |
| BlockStyle | block |
ラベル付き段落 — 台本の「名前欄+本文」、箇条書き、用語集
ラベルは行頭側に labelWidth の幅で置き、本文はその後ろから始まる。本文の全行が 同じ位置で揃う(行長 = 段の行長 − labelWidth − gap)。本文が段をまたいでも ラベルは先頭側にだけ出る。
| inl::Paragraph typeset::block::LabeledBlock::label |
| std::vector<inl::Paragraph> typeset::block::LabeledBlock::body |
| BlockStyle typeset::block::LabeledBlock::block |