Annotate \models

This commit is contained in:
Marcel Fabian Krüger 2021-06-01 23:17:29 +02:00
parent dd7098fb4a
commit 06149a5e99
2 changed files with 5 additions and 1 deletions

View File

@ -22,7 +22,7 @@ for i, block in ipairs(math_lists.groups) do
local parsed = parse_showlists(block, nil, nil, math_lists.marks)
local style = block.display and 0 or 2
out_stream:write(
to_xml(convert.make_root(convert.process(parsed, style), style))
to_xml(convert.make_root(convert.process(parsed, style), style)), '\n'
)
end
-- if ... then out_stream:close() end -- Don't bother since we terminate anyway

View File

@ -16,6 +16,10 @@
}
\ExplSyntaxOff
\protected\edef\models{\AnnotateFormula[3]{%
nucleus = true, core = {[0] = 'mi', '\noexpand\string\noexpand\u{22a7}'},
}{\unexpanded\expandafter{\models}}}
\begin{document}
\[
\emptyset\models((p\Rightarrow q)\Rightarrow(q\Rightarrow r))\Rightarrow (p\Rightarrow (q\Rightarrow r))