\newtheorem
does not use trivlist settings
#767
Labels
area: block environments
area: theorems
and similar structures
bug
Something isn't working in code we maintain (directly)
fixed in branch
fixed in a branch different to develop
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
\DocumentMetadata { lang=en-US, pdfversion=2.0, pdfstandard=ua-2, testphase={phase-III,math,title,table,firstaid} }
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.The text was updated successfully, but these errors were encountered: