A new version of my #LuaLaTeX package ‘marginalia’ is now available on CTAN. [https://ctan.org/pkg/marginalia]
A new feature allows adding an arrow or other symbol next to the line relevant to the marginal note. (Example attached.) Even if the position of the marginal note is automatically adjusted (to avoid overlaps etc.), the arrow remains in place.
New vertical alignment options are available: centrally positioned (probably better for placing pictures in the margin) or midway between top/bottom lines (probably better for text-only margin notes).
The documentation has been improved with more explanation and examples.
General info: ‘marginalia’ allows the placement of marginal notes (or other marginal content) anywhere, without \marginpar’s limits, and automatically adjusts positions to prevent either overlaps or content being pushed off the page, and uses key–value settings that allow fine-grained customization.
There is an #OpenAccess introduction to ‘marginalia’ in ‘TUGboat: Communications of the TeX Users Group’: https://www.tug.org/TUGboat/tb46-1/tb142cain-marginalia.pdf
#TeXLaTeX #typography #marginalia