Leafscript
Features

Everything that goes into a page you can hand out.

Leafscript is a document engine with a question-paper front end. It measures, packs and renders real A4 pages in the browser, so what you approve on screen is what comes out of the printer.

Real page layout, not an approximation

Leafscript measures every block in the browser and packs it onto A4 before you ever hit print.

  • Each question, answer and heading is measured at its final size, then placed on the page it actually fits on.
  • A heading never gets orphaned at the foot of a page — it travels with the content it introduces.
  • A block taller than one page gets its own page instead of being silently clipped.
  • The page count in the toolbar is the real count, updated as you type.

Rich question and answer content

Everything a science or maths paper needs, inline, with no separate equation editor to learn.

  • Bold, italic, underline, bulleted and numbered lists, and three heading levels.
  • Superscript and subscript for formulas — H₂O and x² are two clicks, or keep typing inside the script.
  • Tables with a row and column picker, for comparisons and data questions.
  • Images pasted or picked from disk, scaled to the column width.
  • A symbol palette of 29 marks — reaction arrows, ±, √, ∑, Greek letters — each with a plain-English name.
  • A copy button on every field puts the text on your clipboard with its formatting intact.

Typography and numbering

A sensible default, then every detail is yours.

  • A new document opens in Times New Roman at 11pt, numbered Q1., with the page number centred in the footer.
  • Eight print-safe font families, from Times New Roman and Cambria to Calibri and Verdana.
  • Independent point sizes for body, question and answer text.
  • Line spacing and paragraph gap in millimetres, so the density is exactly what you want.
  • Question numbering as Q1., 1. or 1) — and an optional “Answer:” label or divider rule between questions.

Page setup, header and footer

The things that make a document look institutional rather than improvised.

  • A4 portrait or landscape, with all four margins set individually in millimetres.
  • Institution name, teacher, class, subject, chapter, academic year and date on the title block.
  • Your institution logo in the running header.
  • Free-text header and footer lines, plus page numbers in any of five positions — or none.

One document, many outputs

Build the full bank once, then print the slice you need.

  • Tick questions in or out, then preview “Selected questions only”.
  • Filter the preview by mark value to pull a 2-mark or 5-mark set out of the same document.
  • Section headings regroup automatically, and a section left with no questions disappears from the output.

Print is the product

The preview is not a mockup of the PDF. It is the PDF.

  • Download PDF opens your browser’s print dialog on the very pages you were looking at.
  • Set margins to None and switch off browser headers and footers for an exact match.
  • The app chrome, menus and dialogs are all excluded from the printed output.
  • Colours and rules print as rendered — no washed-out tables or missing dividers.

Smaller things that add up

Drafts save themselves

Your document is written to this browser as you type, and restored next time you open the editor.

Light and dark

The editor follows your system theme, or you can pin it either way — the paper always stays white.

Pinch to zoom

Pinch the preview on a trackpad to zoom from 20% to 400%, or fit it to the width of the pane.

Keyboard friendly

Standard shortcuts in the rich-text fields, and the caret stays put while the preview re-flows.

Images and diagrams

Drop an image into any answer; it is stored with the draft and prints at full resolution.

Duplicate anything

Copy a question with its answer and marks, then edit the copy — useful for variant sets.

Open a document and see the page count move.

No account, no install. The sample paper is already loaded.

Open the Editor