← Playground一覧に戻る

Ruled Notebook 3

The self-lengthening ruled sheet, now with a full set of controls: faces, rule patterns, paper, margins, alignment, line numbers, binding holes and PNG export.

Text

Sheet

Ruled Notebook 3

The sheet works the way it did in the second notebook: the text is set first, and the page is cut to fit it, so nothing can run off the bottom. What is new is everything around that. The form starts empty, and a single button clears it again (with an undo, in case it was a slip). Everything else that used to be fixed is now a setting, and the settings are remembered in the browser — the text never is.

GroupControls
TextClear text, Undo clear, Load sample, Copy text, Save .txt
TypeFont size, Line spacing, Face (Mincho, Gothic, Rounded, Hand, Serif, Mono), Weight, Letter spacing, Ink colour, Baseline offset
SettingAlignment (left, centre, right), First-line indent, Paragraph gap, Line-break rules on or off
RulingPattern (ruled, grid, dot grid, blank), Line style (solid, dashed, dotted), Line weight, Rule colour, Margin line
PagePaper (cream, white, gray, mint, kraft, night), Minimum shape (square, A4, 16:9, fit to text), Spare rules, Left margin, Right padding, Top padding
MarksLine numbers, Binding holes, Today’s date, Foot slug
OutputPNG scale (1–3×), Save PNG, Copy image, Reset all settings

Every slider has a pair of buttons that step it and repeat while held. Margin and padding sliders read “auto” at zero, which keeps the proportional default. Line-break rules are the Japanese typesetting ones: a closing bracket or a full stop never starts a line and hangs past the margin, and an opening bracket never ends one. Turn them off to see a plain break. The line along the foot records the face, the size over the rule, and how many lines and characters stand on the page.