Reference
Glossary
The trade words this site uses, from leading and widows to ruby and Web Workers, each in a sentence or two. The abbreviations are listed at the end with what they stand for.
Typesetting and the page
- Back matter
- The pages after the main text: appendices, notes, glossary, bibliography, index.
- Back-of-book index
- The alphabetical list of subjects at the end of a book, each with the pages where it appears.
- Badness and demerits
- The scores Knuth–Plass gives a line: badness grows with how far its spaces are stretched or squeezed, and demerits add the cost of hyphens and of uneven neighbouring lines. The paragraph with the lowest total wins.
- Baseline
- The invisible line letters sit on. Descenders such as the tail of p go below it.
- Baseline grid
- A set of equally spaced horizontal lines that every line of body text sits on, so lines in neighbouring columns and on facing pages line up.
- Bleed
- Artwork that runs past the trim edge, a few millimetres beyond the page, so no white line shows if the cut is slightly off.
- Boxes, glue and penalties
- The model Knuth–Plass works on. Boxes are words or letters of fixed width, glue is space that can stretch or shrink, and penalties mark places where a break is allowed at a cost, such as a hyphen.
- Byline
- The line that names the author of an article or a chapter in a collection.
- Callout
- A boxed passage set apart from the running text, such as a note, a warning or a sidebar. Postext writes them with the :::callout directive.
- Caption
- The text that labels a figure or table, usually with its number: Figure 3, Table 2.
- Colophon
- A short note, usually at the end of a book, on how it was made: the typefaces, the paper, the printer.
- Column balancing
- Making the columns of a page end at the same height, typically on the last page of a chapter, by moving lines between them or adjusting spacing.
- Crop marks
- Thin lines printed outside the page corners that show the printer where to cut.
- Cross-reference
- A mention of another place in the same book, such as “see Figure 4” or “page 12”, that stays correct when the layout changes.
- Drop cap
- A large initial letter at the start of a paragraph that sinks several lines into the text beside it.
- Em
- A unit equal to the type size: in 10 pt type, an em is 10 pt. Spacing in typesetting is often given in ems or fractions of an em.
- En
- Half an em. The en dash (–) is about this wide.
- En dash and em dash
- The en dash (–) joins ranges, as in 1914–1918; the em dash (—) sets off a phrase in English. Neither is a hyphen.
- Epigraph
- A short quotation placed at the start of a book or chapter, with its source.
- Float
- A figure, table or box that the layout may move away from its place in the text, to the top or bottom of a column or page, where it fits.
- Folio
- The printed page number. A drop folio sits at the foot of the page.
- Footnote
- A note printed at the foot of the column or page where it is cited, linked to the text by a superscript number or mark.
- Front matter
- The pages before the main text: title page, copyright page, dedication, contents, preface. They are often numbered in roman numerals.
- Gloss
- A short explanation of a word or line, printed in the margin, between the lines or in notes, as in annotated classics.
- Glyph
- One drawn shape in a font. A letter may have several glyphs (a ligature, a small cap, a vertical form).
- Greedy line breaking
- Filling each line with as many words as fit before moving to the next, without looking ahead. It is what CSS does, and it leaves some lines much looser than others.
- Gutter
- The space between two columns of text. Some printers also call the inner margin by the spine the gutter.
- Hyphenation
- Dividing a word at the end of a line, with a hyphen, at a point the language allows. Postext finds those points with TeX's patterns for each language.
- Justification
- Setting text so every full line reaches both the left and the right edge of the column, by adjusting the space inside the line.
- Keep together
- A rule that a block, such as a heading with its first lines or a short box, must not be split across columns or pages.
- Kerning
- A space adjustment between two particular letters, such as A and V, so the pair looks evenly spaced. The font carries the values.
- Kicker
- A short line set above a heading, such as “Chapter 3” or a section name, in smaller or spaced capitals.
- Knuth–Plass algorithm
- The line-breaking method of the TeX typesetting system. It weighs every possible set of breaks in a paragraph and picks the one with the most even spacing, where a browser fills one line at a time.
- Leading
- The distance from one baseline to the next. The word comes from the strips of lead that compositors laid between lines of metal type.
- Ligature
- Two or more letters drawn as one glyph, such as fi or ff, to avoid awkward collisions.
- Measure
- The length of a line of text, the width of the column. Comfortable reading needs roughly 45 to 75 characters.
- Mirrored margins
- Margins that swap sides between left and right pages, so the inner margin is always by the spine.
- Opener
- The designed first page of a chapter or part, with its number, title and often a band of colour or an image.
- Orphan
- In Postext, the last line or lines of a paragraph carried alone to the top of the next column or page. Typographers disagree on the name; the rule is about lines stranded by a column break.
- Point and pica
- Typographic units. A point is 1/72 of an inch (about 0.35 mm); a pica is 12 points.
- Pull quote
- A sentence from the text repeated in large type inside the page to catch the eye, common in magazines.
- Ragged right
- Text aligned on the left only, with lines of uneven length on the right. Word spacing stays constant.
- Recto
- The right-hand page of an open book in left-to-right binding, always odd-numbered. Chapters traditionally open on a recto.
- Rule
- A printed line, such as the thin line between columns or under a running head.
- Running head
- A line repeated at the top of each page, usually the book or chapter title, to tell the reader where they are.
- Runt
- A paragraph's last line when it holds only a word or part of one. Postext penalises it and, when it can, sets the paragraph one line shorter.
- Signature
- A large sheet printed with several pages and folded into a gathering, such as 16 pages. Books are sewn signature by signature.
- Small caps
- Capital letters drawn at about the height of lowercase letters, used for abbreviations and running heads so they do not shout.
- Soft hyphen
- An invisible mark inside a word that shows where it may be divided. It prints as a hyphen only when the line actually breaks there.
- Spot colour and single ink
- A spot colour is one premixed ink printed on its own. A single-ink book prints everything in one such ink, with lighter tints for greys.
- Spread
- Two facing pages seen together, a verso and a recto. Designers plan a book spread by spread.
- Swatch
- A named colour in a design's palette, reused by headings, rules and boxes so a change in one place reaches them all.
- Tracking
- Extra space added or removed between every letter of a line or a word. Postext measures it in thousandths of an em and uses it sparingly, after word spacing.
- Trim size
- The final size of a printed page after it is cut, such as 140 × 210 mm.
- Type area
- The part of the page that holds the text, inside the margins. Running heads and folios usually sit outside it.
- Typeface and font
- A typeface is the design (Garamond); a font is one file or style of it (Garamond Italic).
- Verso
- The left-hand page of an open book in left-to-right binding, always even-numbered. In a book bound on the right, as many vertical Chinese books are, the sides swap.
- Widow
- In Postext, the first line or lines of a paragraph left alone at the bottom of a column or page, with the rest of the paragraph overleaf.
- Word spacing
- The width of the spaces between words. A justified line stretches or shrinks them within limits set in the configuration.
Chinese layout
- Book-title mark书名号
- The marks that set off the title of a book or article: 《》 in modern mainland text, or a wavy line under it in classical and Taiwanese editions.
- Character grid字格
- The Chinese way to specify a type area: so many characters per line and so many lines per page, every character on a square cell.
- Chinese point sizes字号
- Named type sizes used in China: 五号 is 10.5 pt, the usual book size; 小五 is 9 pt; 四号 is 14 pt.
- clreq中文排版需求
- Requirements for Chinese Text Layout, the W3C document that describes how Chinese text is set. The Postext docs cite it by section.
- Emphasis dots着重号
- Dots set under each character (beside it in vertical text) to stress a phrase. Chinese uses them where Latin text uses italics.
- Fore-edge heads书口
- In vertical books, the chapter title and folio set down the outer margin of the page rather than across its top.
- Full-width全角
- Occupying a whole em cell, like a Han character. Chinese punctuation and full-width digits (12) are full-width; Latin letters are not.
- Han characters汉字
- The Chinese characters (hanzi), also used in Japanese and, historically, Korean. Each takes a square cell one em wide.
- Han–Latin spacing中西文间距
- A quarter-em gap set between a Han character and a Latin letter or digit next to it, as in 1999 年.
- Hanging punctuation标点悬挂
- Letting a comma or full stop that does not fit sit just past the end of the line instead of pushing a character down.
- Ideographic space全角空格
- A blank one em wide (U+3000), the width of a Han character, used for indents and after chapter numbers.
- Kaiming style开明式
- A punctuation style that sets pause marks (、,) half-width and stops (。) full-width, a compromise between full-width and half-width setting.
- Line-start and line-end rules避头尾
- The rules that keep certain marks off the start of a line (a comma, a closing bracket) and others off the end (an opening bracket). Japanese calls them kinsoku.
- Pinyin拼音
- The official romanisation of Mandarin, with tone marks: hóng lóu.
- Proper-name mark专名号
- A straight line under a personal or place name (beside it in vertical text), found in classical and Taiwanese editions.
- Punctuation width and compression标点挤压
- A Chinese mark is half an em of glyph and half an em of blank. Compression removes some of that blank, for example where two marks meet, so 。」 takes one and a half ems instead of two.
- Right binding右装
- A book bound on its right edge, opened from what a Western reader thinks of as the back. Vertical Chinese and Japanese books and Arabic books are bound this way.
- Ruby注音
- Small text set above or beside characters to give their reading, such as pinyin, zhuyin or Japanese furigana.
- Tate-chū-yoko纵中横
- Setting a short number or acronym across the column, upright in a single cell, inside vertical text. The name is Japanese, 縦中横, “horizontal in vertical”.
- Tier栏
- In vertical writing, one of the horizontal bands a page is divided into, the vertical counterpart of a column.
- Vertical writing竖排
- Text set in columns that run from top to bottom, read from right to left, as in Japanese novels and in many Taiwanese and classical Chinese books.
- Warichu双行夹注
- A note set in two half-size rows inside the line, the form of commentary in classical Chinese editions and of short glosses in Japanese books. The name is Japanese, 割注.
- Zhuyin (bopomofo)注音符号
- A phonetic alphabet for Mandarin used in Taiwan (ㄅㄆㄇㄈ), set in a column beside each character.
Japanese layout
- Aozora Bunko notation青空文庫注記
- The plain-text markup of Aozora Bunko, the Japanese online library of out-of-copyright books: ruby written 漢字《かんじ》, and notes in [#…] that call for emphasis marks, indents, headings, page breaks and characters outside the usual set.
- Bōchū傍注
- Sidenotes in a vertical book: the notes of a spread gathered on the fore-edge side of its left-hand page, after the last line of text. They interrupt the reading least, though endnotes are more common.
- Bōsen傍線
- A line drawn beside a run of text, to its right in vertical writing and under it in horizontal, to stress it or mark a passage. It can be single, double, dashed or wavy.
- Bōten (kenten)傍点・圏点
- Marks set beside each character to stress a word, the Japanese counterpart of italics: usually a sesame dot (﹅), over each character in horizontal text and to its right in vertical text. Chinese puts its emphasis dots under the text.
- Bunko文庫
- The Japanese pocket paperback, A6 (105 × 148 mm) and usually set vertically: the cheap edition a novel gets a few years after its first one (tankōbon).
- Burasagariぶら下げ
- Hanging 、 or 。 just past the end of a full line instead of moving a character down. Japanese books do it only for these marks (and , and .), and only when the mark would otherwise start the next line.
- Chōon mark長音符
- The long-vowel mark ー, used mostly in katakana (コーヒー). In vertical text it turns to run down the column, and it may not start a line.
- Furigana振り仮名
- Small kana set over kanji (to their right in vertical text) to give the reading: in children's books, over rare characters and over names. It is the Japanese use of ruby.
- Gaiji外字
- A character outside the standard character set, such as a rare kanji variant. Aozora Bunko texts describe each one in a note and give its JIS X 0213 position or its Unicode code point when it has one.
- Genkō yōshi原稿用紙
- Japanese manuscript paper with a grid of squares, usually 20 by 20, one character or mark to a square. Lengths are still counted in these 400-character sheets.
- Gojūon order五十音
- The order of the kana table, あいうえお, かきくけこ and so on: one row per consonant, five vowels to a row. Japanese dictionaries and indexes sort by it, using each entry's reading in kana.
- Group rubyグループルビ
- Ruby whose reading belongs to the whole word and is spread evenly over it, as for a name or a word with a special reading (今日 read きょう). The word never breaks across lines.
- Gyōdori行取り
- Sizing a heading by the body lines it takes up: a heading set 3行取り is centred in the space of three lines, so the text after it stays on the line grid.
- Hashira柱
- The running head of a Japanese book: the book, part or chapter title set small in a margin, often on only one page of each spread.
- Hiragana平仮名
- The rounded kana. It writes grammatical endings and particles, native words with no kanji or a rare one, and furigana.
- JIS X 4051日本語文書の組版方法
- The Japanese Industrial Standard for the composition of Japanese documents, first issued in 1993 and last revised in 2004. JLReq describes the same rules in English.
- JLReq日本語組版処理の要件
- Requirements for Japanese Text Layout, the W3C document, in Japanese and English, that describes how Japanese text is set. It follows JIS X 4051; the Postext docs cite it by section.
- Jukugo ruby熟語ルビ
- Ruby for a compound of two or more kanji. Each reading sits over its own kanji, a longer one may spread over its neighbour in the same word, and the word may still break between its kanji at a line end.
- Kana仮名
- The two Japanese syllabaries, hiragana and katakana, in which each sign stands for a syllable. Japanese text mixes them with kanji.
- Kanji漢字
- The Chinese characters as written in Japanese, mixed with kana in running text. Most have a native Japanese reading (kun) and one or more readings taken from Chinese (on); 2,136 are listed for everyday use (jōyō kanji).
- Katakana片仮名
- The angular kana. It writes words taken from other languages (コーヒー, coffee), foreign names and sound words, and sometimes stands in for italics to stress a word.
- Kinsoku shori禁則処理
- The Japanese line-breaking rules: closing brackets, 、 and 。, small kana, ー and iteration marks may not start a line, and opening brackets may not end one. Books follow a strict set; newspapers a looser one that lets small kana and ー start a line.
- Kōchū後注
- Notes gathered after the text they belong to: at the end of a paragraph, a section, a chapter or the book. They are the usual notes in vertical books, where footnotes are rare.
- Kunten訓点・返り点
- Reading marks added to classical Chinese (kanbun) so a Japanese reader can read it in Japanese order. In vertical text, kaeriten (レ, 一, 二, 上, 下) at the lower left of a character show where to jump back, and okurigana in small katakana at the lower right add the Japanese endings; the characters themselves are not reordered.
- Nombreノンブル
- The page number, in the words of Japanese printers, who took it from French. It is usually in Arabic numerals, even in vertical books; a folio set vertically uses kanji numerals (一, 二, 三).
- Oikomi and oidashi追い込み・追い出し
- The two ways to keep a forbidden mark off the start of a line: oikomi tightens the line so the mark fits at its end; oidashi sends the line's last character down with the mark and spaces out what remains. JLReq prefers oikomi.
- Rōmajiローマ字
- Japanese written in Latin letters. Books mostly use Hepburn romanisation, which marks long vowels with a macron: Tōkyō, Sōseki.
- Small kana小書き仮名
- The reduced kana that attach to the sign before them: っ (sokuon) doubles the next consonant, ゃ ゅ ょ make contracted sounds, ァ ィ ゥ ェ ォ spell loanwords. Strict kinsoku keeps them off the start of a line; in vertical text they sit toward the upper right of their cell.
- Tankōbon単行本
- A book published as a volume of its own, not in a magazine or a pocket series: the first edition of a novel, larger than a bunko (often 四六判, about 127 × 188 mm), and the collected volumes of a manga.
- Yakumono約物
- Japanese punctuation and other marks: brackets, 、 and 。, the middle dot ・, dashes and ellipses. Most are a full em wide, half glyph and half blank, and that blank is what the spacing rules compress or keep.
- Yomi読み
- The reading of a word written in kanji, spelled out in kana. An index files kanji entries by their yomi, and furigana prints it on the page.
Arabic layout
- Abjad numeralsأبجد
- Numbers written with Arabic letters, each worth a fixed value (ا 1, ي 10, ق 100, غ 1000) and added up. Classical books use them for front matter and dates.
- Baytبيت
- A verse of classical Arabic poetry, set on one line in two halves: the first (ṣadr) on the right and the second (ʿajuz) on the left.
- Bidirectional text
- Text that mixes scripts written right to left, such as Arabic, with numbers and Latin words read left to right. The Unicode Bidirectional Algorithm decides the order of the pieces on each line.
- Harakatحركات
- The Arabic vowel marks written above and below the letters, such as fatḥa, kasra and shadda. Fully vocalised text needs more leading.
- Hemistichشطر
- One half of a verse. In an Arabic poem every hemistich is set to one common width, so the rhyme letters line up down the page.
- Isolate
- A run of text ordered on its own inside a paragraph of the other direction, which the paragraph treats as a single neutral character. In Postext it is written :ltr[…] or :rtl[…].
- Kashidaكشيدة
- The lengthened join between two connected Arabic letters, used to stretch a justified line instead of spacing its letters apart. Postext inserts it as tatweel characters.
- Naskhنسخ
- The rounded Arabic book hand on which most text typefaces are based, such as Amiri and Noto Naskh Arabic.
- Tashkīlتشكيل
- The vocalisation of an Arabic text, that is the set of vowel marks it carries. An edition may print it in full, in part or not at all.
- Tatweelتطويل
- The Arabic elongation character (U+0640, ـ), a stretch of baseline stroke between two joined letters. A run of them draws a kashida.
Software and the web
- Alternative text
- A short description of an image for people who cannot see it, read aloud by screen readers.
- Bundle (.postext)
- A single file that packs a book's chapters, configuration, fonts and images, so it opens the same anywhere.
- Canvas
- The HTML element a web page draws pixels on with JavaScript. The Sandbox previews pages on it.
- Directive
- Postext's extension to Markdown for things Markdown lacks, written with colons: :::callout for a box, :ref[…] for a cross-reference.
- Font subset
- A copy of a font that keeps only the characters a document uses, so the file is smaller. PDFs embed subsets.
- Frontmatter
- A block of settings at the top of a file, between two lines of ---, such as the title and author of a chapter. Not the same as a book's front matter.
- Headless
- Running without a visible window, for example generating PDFs on a server or in a script.
- IndexedDB
- A database built into the browser. The Sandbox keeps your books and drafts in it, on your own device.
- Markdown
- A plain-text way to write formatted text: # for headings, * for emphasis, - for lists. Postext reads book chapters written in it.
- OpenType
- The standard font format, which can hold features such as ligatures, small caps and vertical punctuation forms.
- Preset
- A ready-made book in the Sandbox, with its design and sample text, to start from or study.
- Renderer
- The part that draws the laid-out pages in one output: canvas, HTML or PDF. The layout is the same for all three.
- Sandbox
- Postext's editor in the browser: write a book, change its design and see the pages update.
- Tagged PDF
- A PDF that carries a structure tree of headings, paragraphs, lists and figures with alternative text, so screen readers can read it in order.
- Variable font
- One font file that holds a range of weights or widths, picked by a number instead of a separate file for each.
- Vector and raster
- A vector image is drawn from shapes and stays sharp at any size (SVG); a raster image is a grid of pixels (PNG, JPEG).
- Virtual Document Tree
- Postext's laid-out book: every page, line and glyph with its position, ready for a renderer to draw.
- Web Worker
- A script the browser runs in the background, apart from the page, so long work such as laying out a book does not freeze the interface.
- WebAssembly (WASM)
- A compact binary format browsers run at near-native speed, used by libraries that need heavy computation, such as font decompression.
Abbreviations
On docs and recipe pages the first use of each one is marked, and its expansion appears when you point at it. This list covers the rest of the site.
- APA
- American Psychological Association (a citation style)
- API
- application programming interface
- ASCII
- American Standard Code for Information Interchange
- AST
- abstract syntax tree
- BCP
- Best Current Practice (BCP 47 defines language tags)
- CDN
- content delivery network
- CFF
- Compact Font Format
- CJK
- Chinese, Japanese and Korean
- CLDR
- Unicode Common Locale Data Repository
- CLI
- command-line interface
- clreq
- Requirements for Chinese Text Layout (W3C)
- cm
- centimetres
- CMYK
- cyan, magenta, yellow and black (key), the four process inks
- CORS
- cross-origin resource sharing
- CSS
- Cascading Style Sheets
- CSV
- comma-separated values
- DIN
- Deutsches Institut für Normung, the German standards body
- DOCX
- Word document (Office Open XML)
- DOM
- Document Object Model, the browser's tree of a page
- DPI
- dots per inch
- e.g.
- for example
- EEA
- European Environment Agency
- EPUB
- electronic publication, the standard e-book format
- ESM
- ECMAScript modules
- GB/T
- recommended national standard of China (Guobiao tuijian)
- GDP
- gross domestic product
- GDPR
- General Data Protection Regulation (EU)
- GFM
- GitHub Flavored Markdown
- GIF
- Graphics Interchange Format
- GPU
- graphics processing unit
- HTML
- HyperText Markup Language
- HTTP
- Hypertext Transfer Protocol
- i.e.
- that is
- ICC
- International Color Consortium (colour profiles)
- IDML
- InDesign Markup Language
- ISBN
- International Standard Book Number
- JATS
- Journal Article Tag Suite
- JIS
- Japanese Industrial Standards
- JLREQ
- Requirements for Japanese Text Layout (W3C)
- JPEG
- Joint Photographic Experts Group, the photo image format
- JSON
- JavaScript Object Notation
- JSX
- JavaScript XML, the tag syntax of React
- KLREQ
- Requirements for Hangul Text Layout (W3C)
- KP
- Knuth–Plass, the line-breaking algorithm
- LLM
- large language model
- MDX
- Markdown with JSX components
- MIT
- Massachusetts Institute of Technology, which wrote the MIT License
- mm
- millimetres
- npm
- the Node.js package registry and its command-line client
- OCR
- optical character recognition
- ODT
- OpenDocument text document
- OFL
- SIL Open Font License
- OTF
- OpenType font file
- Portable Document Format
- PDF/UA
- PDF/Universal Accessibility, the ISO 14289 standard for accessible PDF
- PDF/X
- the ISO 15930 family of PDF standards for print exchange
- PNG
- Portable Network Graphics
- PPTX
- PowerPoint presentation (Office Open XML)
- pt
- points (1/72 inch)
- px
- CSS pixels
- RAE
- Real Academia Española
- RGB
- red, green and blue, the screen colour channels
- ROC
- Republic of China (Minguo calendar)
- SSR
- server-side rendering
- SVG
- Scalable Vector Graphics
- TOC
- table of contents
- TSV
- tab-separated values
- TTF
- TrueType font file
- UAX
- Unicode Standard Annex
- UI
- user interface
- URI
- Uniform Resource Identifier
- URL
- Uniform Resource Locator, a web address
- UTC
- Coordinated Universal Time
- VDT
- Virtual Document Tree, Postext's laid-out document
- W3C
- World Wide Web Consortium
- WAI
- Web Accessibility Initiative (W3C)
- WCAG
- Web Content Accessibility Guidelines
- WOFF
- Web Open Font Format
- WOFF2
- Web Open Font Format 2, compressed with Brotli
- WYSIWYG
- what you see is what you get
- XMP
- Extensible Metadata Platform
- YAML
- YAML Ain't Markup Language, a plain-text data format
- ZIP
- a compressed archive format