Difference between revisions of "Template:InfRule"

From Event-B
Jump to navigationJump to search
imported>Mathieu
m
imported>Mathieu
m
Line 2: Line 2:
 
Template use to specify a named inference rule
 
Template use to specify a named inference rule
 
== Usage ==
 
== Usage ==
 +
<pre><nowiki>
 +
{{InfRule|HYP|''math formula typeset with a <math>\frac{}{}</math> expression}}
 +
</nowiki></pre>
 +
== Example ==
 
<pre><nowiki>
 
<pre><nowiki>
 
{{InfRule|HYP|<math>\frac{X}{\textbf{H},\textbf{P} \;\;\vdash \;\; \textbf{P}}</math>}}
 
{{InfRule|HYP|<math>\frac{X}{\textbf{H},\textbf{P} \;\;\vdash \;\; \textbf{P}}</math>}}
 
</nowiki></pre>
 
</nowiki></pre>
== Example ==
 
 
{{InfRule|HYP|<math>\frac{X}{\textbf{H},\textbf{P} \;\;\vdash \;\; \textbf{P}}</math>}}
 
{{InfRule|HYP|<math>\frac{X}{\textbf{H},\textbf{P} \;\;\vdash \;\; \textbf{P}}</math>}}
 
[[Category:Typesetting template]]
 
[[Category:Typesetting template]]

Revision as of 10:23, 5 September 2008

Template use to specify a named inference rule

Usage

{{InfRule|HYP|''math formula typeset with a <math>\frac{}{}</math> expression}}

Example

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

Template