Questions tagged [whatsit]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
43 views

glossaries: spurious space before the glossarized item at the start of a line

Feeding mwe.tex containing \documentclass{article} \pagestyle{empty} \usepackage{amsfonts} \usepackage[style=long3colheader,toc]{glossaries}% using v4.52. If instead we use glossaries-extra v1.50, the ...
AlMa0's user avatar
  • 439
7 votes
1 answer
179 views

\write or \index at the beginning of a table cell adds spurious vertical space

If a tabular column of type p (or a few others such as tabularx's X) starts with a write (for example because it starts with \index), this inserts some vertical space. MWE: \documentclass{article} %\...
Gilles 'SO- stop being evil''s user avatar
17 votes
3 answers
585 views

Why do user-defined whatsit nodes affect LuaTeX pagebreaking?

EDIT: A summary of the possible answers is given below. In my current LuaTeX project I am using user-defined whatsit nodes to transfer information between the different stages of a LuaTeX run. On ...
Thomas Auzinger's user avatar
10 votes
2 answers
390 views

Is it possible to remove (or otherwise nullify) a whatsit node from a box?

I am aware that it is not generally possible to modify the contents of a box (as per https://tex.stackexchange.com/a/49903/17427), though I believe it is sometimes possible to "unbox" material and ...
cyberSingularity's user avatar
25 votes
3 answers
1k views

Whatsits: when are they used in practice?

This question came up in discussions surrounding the question How to replace a large block of text by an empty block of the same size?, which basically asks for a vmode analog of \phantom. My question ...
Bruno Le Floch's user avatar
19 votes
1 answer
3k views

\addtocontents at end of document not getting written to .toc file?

I'm trying to find a more elegant solution for ToC, LoT, and LoF formatting for my university's thesis/dissertation style. The short form of their requirements means I need one page style for the ...
Mike Renfro's user avatar
  • 20.4k