In a macro I would like to detect if it is the first item put right after a pagebreak/columnbreak on the top of the next page/column. In that case it would like it to behave differently (e.g. change color) than in any other place on the page. How do I do that?
Asked
Active
Viewed 36 times
0
\pdfsaveposand then comparing the value of\pdflastypos` saved in teh aux file to see the vertical position of the text on the last run and assume you are at top of a page, and correct on a following run if that is no longer true – David Carlisle Jun 25 '20 at 08:56