Difference between revisions of "Template:InfRule"

From Event-B
Jump to navigationJump to search
imported>Mathieu
m
imported>Mathieu
m
Line 11: Line 11:
 
</noinclude>
 
</noinclude>
 
<includeonly>{|class="Infrule" text-align="center" border="1"  frame="box" rules="none" cellspacing="4" cellpadding="15"  style="margin:1em 1em 1em 0; border-color: #AAAAAA; border-style:solid; empty-cells:show; display:inline-table;{{{style|}}}"
 
<includeonly>{|class="Infrule" text-align="center" border="1"  frame="box" rules="none" cellspacing="4" cellpadding="15"  style="margin:1em 1em 1em 0; border-color: #AAAAAA; border-style:solid; empty-cells:show; display:inline-table;{{{style|}}}"
|{{{2}}}
+
|{{#if|1|<math>{{{2}}}}</math>}}
 
|{{{1}}}
 
|{{{1}}}
 
|}</includeonly>
 
|}</includeonly>

Revision as of 10:18, 5 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

1|Failed to parse (syntax error): {{{2}}}} }} HYP

Template