Annotate \models
This commit is contained in:
parent
dd7098fb4a
commit
06149a5e99
@ -22,7 +22,7 @@ for i, block in ipairs(math_lists.groups) do
|
|||||||
local parsed = parse_showlists(block, nil, nil, math_lists.marks)
|
local parsed = parse_showlists(block, nil, nil, math_lists.marks)
|
||||||
local style = block.display and 0 or 2
|
local style = block.display and 0 or 2
|
||||||
out_stream:write(
|
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
|
end
|
||||||
-- if ... then out_stream:close() end -- Don't bother since we terminate anyway
|
-- if ... then out_stream:close() end -- Don't bother since we terminate anyway
|
||||||
|
@ -16,6 +16,10 @@
|
|||||||
}
|
}
|
||||||
\ExplSyntaxOff
|
\ExplSyntaxOff
|
||||||
|
|
||||||
|
\protected\edef\models{\AnnotateFormula[3]{%
|
||||||
|
nucleus = true, core = {[0] = 'mi', '\noexpand\string\noexpand\u{22a7}'},
|
||||||
|
}{\unexpanded\expandafter{\models}}}
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
\[
|
\[
|
||||||
\emptyset\models((p\Rightarrow q)\Rightarrow(q\Rightarrow r))\Rightarrow (p\Rightarrow (q\Rightarrow r))
|
\emptyset\models((p\Rightarrow q)\Rightarrow(q\Rightarrow r))\Rightarrow (p\Rightarrow (q\Rightarrow r))
|
||||||
|
Loading…
Reference in New Issue
Block a user