Difference between pages "Template:Ident" and "Template:InfRule"

From Event-B
(Difference between pages)
Jump to navigationJump to search
imported>Mathieu
m
 
imported>Mathieu
m
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
==Usage==
+
Template use to specify a named inference rule
Template use to specify an identifier or a variable.
+
== Usage ==
==Example==
+
<pre><nowiki>
Variable  {{ident|chaining_block}} must be typed.
+
{{InfRule|HYP|''math formula typeset with a <math>\frac{}{}</math> expression}}
[[Category:Typesetting templates]]
+
</nowiki></pre>
==Template==
+
== Example ==
</noinclude><!--
+
<pre><nowiki>
--><div class="typeset-class" style="display:inline;font-family:monospace">{{{1}}}</div>
+
{{InfRule|HYP|<math>\frac{X}{\textbf{H},\textbf{P} \;\;\vdash \;\; \textbf{P}}</math>}}
 +
</nowiki></pre>
 +
{{InfRule|HYP|<math>\frac{X}{\textbf{H},\textbf{P} \;\;\vdash \;\; \textbf{P}}</math>}}
 +
[[Category:Typesetting template]]
 +
== Template ==
 +
</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|}}}"
 +
|{{{2}}}
 +
|{{{1}}}
 +
|}</includeonly>

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