A Khosra Demo

Readings from a rain gauge on a roof

Menu

Text Stylers

Eighteen classes for the look of words — size, face, case, spacing, alignment, indent — that khata styles, none duplicating a call.

Contents

Each is written as any class is, {.name} on a line after a block, [some words]{.name} around part of a sentence, or :::div{.name} around several blocks; two or more combine, {.inset .caps}. These eighteen are khata’s own, built from the mock of 2026-11-10; every other class name stays the author’s.

Three pieces use them as a writer would, which shows more than the samples below:

  • The Ghat at Low Water — a feature: lede, drop cap, kickers and decks, a run-in, small caps, a painted notice, a sign-off, sources.
  • The Water Clock — fiction in book setting: a dedication, a telegram, a note in a hand. Its Bengali version is there for the script: a drop cap on a conjunct, which takes the whole cluster স্টি; case classes that must do nothing, since a browser’s synthesised small caps shrank Bengali by a third until the sheet switched them off; a run-in in weight.
  • “You Read the Water, Not the Map” — an interview: questions set apart, a message on a phone.

The line between a class and a call

A class is how words look and nothing else. If a thing has parts — an attribution, a label, an icon — or a place on the page, or behaviour, or meaning a reader’s tools use, such as a language or an expansion, it is a call; a call’s variant or a block’s width is a switch; and what markdown already spells stays markdown.

On a paragraph

lede — the opening paragraph, larger.

The opening paragraph of a feature, set a step larger so the reader is in before deciding to be.

dropcap — the first letter sunk three lines.

Every morning at five my father went down the steps to read the gauge, and wrote the number in a ledger with a green cloth spine, and I stood beside him holding the lantern, which was my whole job.

run-in — the first line in small caps; in Bengali, in weight.

In the afternoon the wind turns and comes up the river from the south, and the silt, which has been drying since dawn, begins to lift in thin sheets and travel.

display — one line meant to land, at display size.

Nobody here calls it a crossing any more.

whisper — smaller, in the softer ink; on words too.

The planks, the bucket and the boy are invented.

inset — set apart on both sides, without a quotation’s marks or rule.

No passengers on the roof. The ghat master’s word is final.

hanging — a hanging indent, for references and glossaries; on a paragraph, or a list wrapped in :::div{.hanging}, since a list takes no class of its own.

  • Hasan, M. Ghats of the Lower Delta: A Survey of River Landings. Mohanpur: Char Press, 2019.
  • Sultana, R. “The Walk: Women’s Labour and the Seasonal River.” Journal of Delta Studies 14, no. 2 (2024).

ranged-right and ranged-centre — aligned right, and centred line by line. centred is already the switch for where a box sits, and centre would differ from it by one letter.

— filed from the east bank, 4 November

for my grandmother, who could read a river

kicker — a label above a heading; deck — a line under one.

The crossing

Forty metres of mud

What low water costs the people who cross it twice a day.

On a paragraph or on words

typewriter — the typewriter face without code’s colours or copy button; hand — a pen’s: Caveat, and Ekushey Puja in Bengali, khata’s own; sans — the interface face.

ARRIVING SUNDAY STEAMER STOP DO NOT MEET AT GHAT WILL WALK STOP MONU

Read the gauge yourself tomorrow. I have taken the boat out to the char.

Water at east ghat 2.1 m. Last boat 5:30 pm. Planks out.

On words: a telegram's words, a note's, a screen's.

On words

smallcaps for an acronym in running text, the RTO or a GPS, or 6:10 am; caps for a sign's words; nobreak to keep Tk 40 or twenty minutes on one line.

What stays as it is

What already has a way to be written gets no class, so nothing is written two ways.

Need Written as
bold, italic, highlight, strike, subscript, superscript **…**, *…*, ==…==, ~~…~~, ~…~, ^…^
a scene break ---, drawn as ⁂
a language, an abbreviation’s expansion :lang, :abbr
numerals, fractions, keys :figures with its switch, :frac, :kbd
a redaction, a spoiler, ruby :redacted, :spoiler, :ruby
a boxed callout aside, note, tip, warn
an abstract, a credit at the head standfirst
credits at the foot endnote
a content warning notice, details
an epigraph, a poem, a pullquote epigraph, verse, pullquote
a dateline, columns, a letter’s signature dateline, columns, letter
width and place switches: {half}, {centred}, {plate}, {runaround-left}

Underline is left out: on a page it reads as a link.

Open questions

  • Book setting wraps the whole piece in :::div{.indented}. A piece that is fiction from end to end wants it as a page option instead, which would be a switch, not a class.
  • hand needs a face, with Bengali, that khata does not carry; every other class uses the three faces it has.
  • :figures is, by the line above, a look and so a class; it became a call on 2026-11-05 and stays one unless you say otherwise.

AI use: Samples written by an assistant to show the classes; the pieces they come from are invented.

khosra · khata 4d8d4c99 · content f6393d22 · 228 publications, 4256671 bytes · built in 1.460642387s