I am trying to typeset a set of rules of a calculs which should look as the examples in the attached pictured.
In the example rules are written in classical notation of logic.
I especially wonder about the horizontal line that splits the requirements from the conclusion. What's the best way to typeset this line such that it expands automatically?
Your help is very much appreciated.
Best Answer
It's quite easy with
bussproofs
; the hardest part is getting the alignment.A different solution, which also provides a
boxedprooftree
environment that can be used anywhere. It has an optional argument for vertical alignment, just liketabular
or\parbox
: it can bet
orb
for top or bottom alignment (defaultc
for vertical centering).