Difference between revisions of "Template:InfRule"

From Event-B
Jump to navigationJump to search
imported>Mathieu
m
imported>Mathieu
m
Line 11: Line 11:
 
== Template ==
 
== Template ==
 
</noinclude>
 
</noinclude>
<includeonly>{|class="Infrule" text-align="center" border="2" cellspacing="4" cellpadding="15" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; empty-cells:show;{{{style|}}}"
+
<includeonly><div style="border:solid 1px #AAAAAA;">{|class="Infrule" text-align="center" border="2" cellspacing="4" cellpadding="15" rules="all" style="margin:1em 1em 1em 0; border:hidden 0px; empty-cells:show;{{{style|}}}"
|- style="border:solid 1px #AAAAAA;"
+
|{{{2}}}
|style="border-width: 0px;border-style: none;" |{{{2}}}
+
|{{{1}}}
|style="font-family:sans-serif;border-width: 0px;border-style: none;"|{{{1}}}
+
|}</div></includeonly>
|}
 

Revision as of 14:45, 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

{|class="Infrule" text-align="center" border="2" cellspacing="4" cellpadding="15" rules="all" style="margin:1em 1em 1em 0; border:hidden 0px; empty-cells:show;"

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

|}

border-collapse:collapse;

Template