Plan review layout: text column too narrow, no gutter before notes margin, hyphenation #114

Closed
opened 2026-11-27 22:13:41 +00:00 by jfro · 0 comments
Owner

Seen on a real tablet with 1.10 (send_for_review, P-901 v1): the plan is a thin strip in the top-left third of the page. Photo attached.

Keep the notes column on the right. Fix how the text sits next to it:

  1. No gutter. The text runs right up to the notes rule. The column needs real space between the end of a line and the rule (around 6–8mm).
  2. Column too narrow. Page is about 158mm wide: 24mm left margin, plus review-margin = min(60mm, 38% of width) on the right, leaves about 74mm for text. Shrink the notes column (around 30% / 45–50mm) and/or the left margin so the text gets more room, even after the gutter is added.
  3. Hyphenation and justification. set par(justify: true) in a narrow column breaks words: "ses-sions" in the title, "exist-ing" in the steps. In review mode use ragged right with hyphenate: false, including the title block.
  4. Dot grid nearly invisible. luma(150), 0.25mm radius barely shows on e-ink. Make it darker or bigger.
  5. Optional: toolbar. On this tablet the toolbar is on the right, on top of the notes column, while the left margin (which is there to clear a left-hand toolbar) sits empty. Worth checking whether Layout knows the toolbar side.

Files: priv/report_templates/_report.typ (review branch of report, review-margin, dot-grid), priv/report_templates/plan-review.typ.

Done when: a plan rendered at the tablet page size has text that clearly clears the notes rule, no mid-word breaks, a visibly wider text column and visible dots. Screenshots of before and after go in the PR.

Seen on a real tablet with 1.10 (`send_for_review`, P-901 v1): the plan is a thin strip in the top-left third of the page. Photo attached. Keep the notes column on the right. Fix how the text sits next to it: 1. **No gutter.** The text runs right up to the notes rule. The column needs real space between the end of a line and the rule (around 6–8mm). 2. **Column too narrow.** Page is about 158mm wide: 24mm left margin, plus `review-margin = min(60mm, 38% of width)` on the right, leaves about 74mm for text. Shrink the notes column (around 30% / 45–50mm) and/or the left margin so the text gets more room, even after the gutter is added. 3. **Hyphenation and justification.** `set par(justify: true)` in a narrow column breaks words: "ses-sions" in the title, "exist-ing" in the steps. In review mode use ragged right with `hyphenate: false`, including the title block. 4. **Dot grid nearly invisible.** `luma(150)`, 0.25mm radius barely shows on e-ink. Make it darker or bigger. 5. **Optional: toolbar.** On this tablet the toolbar is on the right, on top of the notes column, while the left margin (which is there to clear a left-hand toolbar) sits empty. Worth checking whether Layout knows the toolbar side. Files: `priv/report_templates/_report.typ` (review branch of `report`, `review-margin`, `dot-grid`), `priv/report_templates/plan-review.typ`. Done when: a plan rendered at the tablet page size has text that clearly clears the notes rule, no mid-word breaks, a visibly wider text column and visible dots. Screenshots of before and after go in the PR.
jfro closed this issue 2026-11-28 03:17:44 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jfro/rm-analyzer#114
No description provided.