Is there any good way to typeset inference rules in HTML? Something more accessible than "a picture of a LaTeX rendering", but less ugly than a bunch of dashes in a <pre> block.
-
-
-
Replying to @plragde
Does MathJax support inference rules (a la mathpartir, proof.sty, etc)? I'm having trouble finding anything in the documentation that says it does.
1 reply 0 retweets 1 like -
Replying to @arntzenius @plragde
Hm, looks like the standard workaround is to use \frac? Not clear how well that handles all use-cases, but it's better than nothing.
1 reply 0 retweets 0 likes -
Replying to @arntzenius @plragde
\frac in MathJax should work for a single rule, but it doesn't stack well (if you want to show a sequence of rule applications) — if you use nested fractions, the font size gets smaller.
1 reply 0 retweets 0 likes -
That is avoidable with \cfrac.
@arntzenius I have a lot of typeset inference rules on my PL course page that you can reference: http://cs242.stanford.edu/lectures/02-1-type-systems.html …2 replies 0 retweets 5 likes
If you view page source and look in the header, you can see the big list of \newcommands I used. It allowed me to roughly emulate mathpartir but it's not perfect.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
cognitive psychology. PhD