I am trying to lay out some school-level mathematics and I’d like to show the borrowing/relabelling involved in a subtraction. The closest I can get is shown below, but you can see that when I add the workings (in red), this moves the digits ‘5’ and ‘2’ so they are no longer aligned.
Thanks for this suggestion, which I had not considered. One issue is that the decimal points are not centred nicely (but I can change it to center that column), but a bigger issue is the fact that columns with attachments are much wider.
I would like it to have the exact same width as the original grid, but just with the items attached, but as you can see, it is now much wider.
I couldn’t work out how to get place to work with the attach function though. I also couldn’t really work out how to manufacture the right appearance of small text using place directly.
I put the place call in a box: the placed content doesn’t take any space so the box will be zero-size, at the correct position. Aligning the bottom-right of the placed content with the (bottom-right of) the zero-sized box works well. (I’m not sure what happens here with spacing when you don’t include the box.)