Template:InfRule: Difference between revisions

From Event-B
Jump to navigationJump to search
imported>Mathieu
m New template for typesetting inference rule
 
imported>Mathieu
mNo edit summary
Line 12: Line 12:
</noinclude>
</noinclude>
<includeonly>{|class="Infrule" text-align="center" border="1" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show;{{{style|}}}"
<includeonly>{|class="Infrule" text-align="center" border="1" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show;{{{style|}}}"
|- style="border-width: 0px 0px 0px 0px;"
|{{{2}}}
|{{{2}}}
|{{{1}}}
|{{{1}}}
|}
|}

Revision as of 14:24, 2 September 2008

Template use to specify a named inference rule

Usage

{{InfRule|HYP|<math>\frac{X}{\textbf{H},\textbf{P} \;\;\vdash \;\; \textbf{P}}</math>}}

Example

\frac{X}{\textbf{H},\textbf{P} \;\;\vdash \;\; \textbf{P}} HYP

Template