
13 Mar
2025
13 Mar
'25
3:40 p.m.
Hello, in a document that had already a defined layout, I added some \writetolist commands to add references to an index of figures (I know there's already the figure list, but I could not use it). I realized the commands I inserted were changing the typesetting result, because those \writetolist introduced -- at least, this is the way I understand it -- horizontal mode, in a point where LMTX is in vertical mode. I solved it embedding those \writetolist inside \inmargin{} calls, so that the horizontal mode is activated, but out of the main text. The trick does the job, but I'm sure someone knows a better solution. Could you let me know? Massi