StableFill

Inline Values

Use inline values for statistics that appear in prose, captions, notes, or any other non-table text. Inline values do not need legacy tablefill:start or tablefill:end table markers.

Input

Add named value blocks to the same input text file you already pass to StableFill:

<Val:population>
5708

<Value:mean_age>
42.35

<Value:p_value>
0.024

<Val:name> and <Value:name> are equivalent.

Template

Reference those values anywhere in LaTeX, LyX, or Markdown with ``:

The sample includes  people.
Mean age is .
The key coefficient is significant.

The val: prefix is optional, so `` also works. The prefix is recommended in prose because it makes named values easy to spot.

Output

The sample includes 5,708 people.
Mean age is 42.4.
The key coefficient is significant**.

Formats

Inline values support compact formats:

Placeholder Meaning
`` Insert the value as written.
`` Use Python’s format mini-language.
`` Convert a p-value to significance stars.
`` Use an existing StableFill numeric placeholder fragment.

<Tab:...> blocks are also available as inline values. When a table tag is referenced with ``, StableFill inserts the first non-missing entry from that table. If a <Value:...> block and <Tab:...> block share a name, the explicit value block wins.

To preview inline values without replacing the placeholders, see Annotation Mode.