{"elements": [ {"type": "box", "fit": true, "text": "fit"}, {"type": "box", "fit": true, "title": "A title longer than the text", "text": "short"}, {"type": "box", "fit": true, "footer": "a footer that is long", "text": "short"}, {"type": "box", "fit": true, "style": "double", "title": "capped", "title_style": "capped", "text": "x"}, {"type": "box", "fit": true, "text": "A fit box with more text than fits on one line wraps at the full width."}, {"type": "box", "fit": true, "padding": 0, "text": "Line one\nis longer than\nline three"}, {"type": "box", "fit": true, "children": [ {"type": "kv", "pairs": [{"key": "Fit", "value": "kv"}]}, {"type": "rule", "text": "a divider label"}, {"type": "feed"} ]}, {"type": "box", "columns": 20, "title": "columns 20", "text": "A fixed width, centred on the paper."}, {"type": "box", "columns": 21, "text": "Odd columns centre with the extra space on the right."}, {"type": "box", "columns": 200, "title": "columns 200", "text": "Clamped to the paper."}, {"type": "box", "columns": 24, "fit": true, "text": "fit inside a columns limit that is narrower than the text"}, {"type": "box", "columns": 2, "padding": 3, "text": "xyz"} ]}