I know there is some discrepancy expected in output between the tagging code \newtheorem and the usual one. However, I think with minimal effort they could look much closer than they currently do. Right now \@begintheorem calls \UseInstance{block}{theorem}{} but this could be changed to \UseInstance{blockenv}{theorem}{par-skip=\parskip,parindent=\parindent}. This makes the heading indented but adding \noindent before \mode_leave_vertical: seems to fix this without affecting tagging (I don't claim this is the correct fix).
I know there is some discrepancy expected in output between the tagging code
\newtheorem
and the usual one. However, I think with minimal effort they could look much closer than they currently do. Right now\@begintheorem
calls\UseInstance{block}{theorem}{}
but this could be changed to\UseInstance{blockenv}{theorem}{par-skip=\parskip,parindent=\parindent}
. This makes the heading indented but adding\noindent
before\mode_leave_vertical:
seems to fix this without affecting tagging (I don't claim this is the correct fix).Here's the output without tagging.
Now adding
to the example above gives
With the proposed fix:
Similar changes would need to be made for the amsthm firstaid.
Edit
Hmm I see the proposed fix also affects the indent in
enumerate
. Not sure about that at the moment.