Notes in Tables

Notes in Tables

Nov 16, 2026
17

Hello DD people,

We passed a milestone this weekend; the annotated Delving Deeper can now anchor notes from inside tables. This is a bit of a big deal.

Why notes in tables are hard

The LaTeX typesetting system (which V5 is built with) has never played nicely with notes in tables. The reason is that each table is a little world of its own. LaTeX builds it separately, as a sealed bubble, and only later decides where, on which page, to draw it. If the table doesn't fit where it appears in the main text, LaTeX lets it float elsewhere on the same page, or to the next available place it will fit. So anything written inside the table bubble doesn't know which page it will end up on. That is bad news for footnotes, which need to know which page to render on.

This has been a layout bugbear for years and it matters even more for V5's layout now, because the notes no longer sit at the foot of the page. They run down the outer margin, adjacent to the lines of text that they explain. That said, I think I've finally got somewhere...

The workaround

The trick is to let the table tell us where it landed first, and then render the notes after. A note inside a table prints its anchor right away, then leaves an invisible message that says "I'm on page X". The page number X is then replaced with the actual page number after the page has been rendered, so it's always right, even if the table was floated onto another page. LaTeX already runs several passes anyway, so on the following pass, each table note can then be added to its page margin, in the right order, just like normal text.

So, what do we get?

The table content is a substantial part of the game and is also where V5 frequently (and intentionally) departs from the sources in subtle (and not so subtle) ways. Experience points, hit dice, level titles, saving throws, equipment lists, and prices. All this and more is presented in tables.

Until now, a table couldn't really include notes, unless you count one hanging off the line before it. Now, we could (potentially) have a note in every table cell explaining its content.

Show me!

Take the equipment table... a bunch of items don't appear or aren't priced in Men & Magic. Each of these can now have a note anchor and a margin note that explains why it's included.

imageNotice the note anchors over the Club/Cudgel, and the Lance/Pike/Polearm entries, and a few others, inside the table. (If it's too small to see, try pressing control + to zoom the browser page).

There are a couple of limitations with where this can be used, but basically it "works enough" for what I need right now, and I'm going with it!

We are inching closer to an annotation book 1 alpha, people.

Stand by...

Vous aimez cette publication ?

Achetez un café à Wote

Plus de Wote

ConfidentialitéConditionsSignaler