Editorial prototype

The finger in the margin

A short history of the manicula, the hand-shaped sign that for centuries told readers where to stop and think.

A hand between the lines

In medieval manuscripts and early printed books the margin was a workspace. Readers annotated, corrected and argued with the author, and when a passage deserved attention they drew a small hand with an outstretched finger. Scholars call it the manicula, and between the thirteenth and the fifteenth century it became one of the most common signs in book culture. It was not there to decorate: it was a reminder to oneself or a warning to the careless reader who would come later. Some hands are bare, a few lines and a cuff; others wear embroidered sleeves, rings, even a whole face peering out of the gloss. The shape changed from scribe to scribe, but the gesture stayed the same: look here, this matters. In a sense the manicula is the ancestor of the nota bene, the highlighter and the underlined link, a way of telling the text that one part of it weighs more than the rest.

From parchment to screen

With print the manicula moved from the reader’s pen to the type case. Printers cast it in lead and used it to flag notices, prices and paragraphs not to be missed; in the nineteenth century it loomed over posters and railway timetables. The gesture lost something along the way: the printed hand is always the same, and it no longer points at a precise line but at a whole block. This prototype tries to bring back the handwritten version. Each figure bleeds out of the margin and points at a chosen word, and the text flows around it following the real outline of the drawing, line by line. When the column narrows or the typeface changes, the layout is recomputed and the pointing finger finds its word again. It is a way of remembering that a sign can be precise on screen too, as long as the text knows how to make room for whoever points at it.

How to read a manicula

A note in the margin

The margin is not the empty space around the text: it is the place where the reader answers back. A small hand drawn there says more than a summary, because it does not explain what to think but shows where to look, and leaves the rest to whoever reads.

Sample quotation written for this prototype.

How to use the maniculæ

A manicula points at a single spot per block: a word or phrase in a paragraph or a quotation, or a whole entry in a list. You mark the spot directly in the text. The script takes care of the rest: the text column, the figure, and the line breaks around the outline.

This is the barebone version: no control bar, outline or status lines. Column width, figure size and spacing use the defaults written in the stylesheet, and each block changes them only through the attributes of its mark. The full version has the controls for trying values live.

1. Mark the spot

Wrap the block in a <section class="manicula-block"> and put data-manicula on a <mark> around the words to point at:

<section class="manicula-block">
  <h2>A hand between the lines</h2>
  <p>… a warning to the <mark data-manicula>careless reader</mark> who …</p>
</section>

The finger points at exactly that occurrence, even if the same words appear elsewhere in the paragraph.

2. Lists and quotations

In a list, mark the whole entry: the finger lines up with its first line and the entry takes the accent colour.

<ul>
  <li>…</li>
  <li data-manicula>Read the passage it marks …</li>
</ul>

A quotation is an ordinary paragraph inside a <blockquote>: the text keeps the quotation’s size and leading, and the border stays in place.

<blockquote class="quote">
  <p>… but shows <mark data-manicula data-scale="65" data-gap="24" data-bleed="40">where to look</mark> …</p>
  <footer>Source</footer>
</blockquote>

3. Attributes

data-side
left or right (also sx and dx): the margin the figure bleeds into. Optional: without it, each block takes the side opposite to the previous one, starting on the left.
data-scale
Figure size as a percentage, from 25 to 200; without the attribute it is 100. Values outside the range are clamped to the nearest limit.
data-gap
Space between the fingertip and the text, in pixels, from 0 to 60. Without it the default applies: 14 on wide screens, 10 below 820 px.
data-bleed
How far the figure hangs into the margin, in pixels. The default, and the maximum, is the page bleed: 85 on wide screens, 15 below 820 px. A lower value pulls the figure toward the text, so the lines beside it get shorter.

4. What happens on its own

5. Tips

6. Accessibility and search engines

The original text, with its <mark>, stays in the DOM in a visually hidden element. The visible lines are <span> elements positioned with translate3d inside an aria-hidden container, and the figures are decorative for screen readers too. If the script or the network is unavailable, the block stays an ordinary paragraph with the words highlighted.

7. Dependencies

The page is a single HTML file with no framework and no build step at runtime. It loads only two external resources:

The two figures are SVGs embedded in the page and turned into data URLs on load: they need no other files. The browser must support ES modules, Canvas 2D (to read the outline), ResizeObserver, document.fonts and Intl.Segmenter, all available in current versions of Chrome, Edge, Firefox and Safari.

Without a network the two external resources do not arrive: the text stays readable as ordinary paragraphs, but without figures or flow around the outline. In production it is better to serve Pretext and the font from your own domain rather than from a CDN, so as not to depend on third-party services or send them data about your visitors.

The development tools in the tools/ folder are not needed by the page: the build script needs only Python, and the automated tests need Chromium and websocket-client.