Difference between pages "Template:Class" and "Template:InfRule"
From Event-B
(Difference between pages)
Jump to navigationJump to searchimported>Mathieu m |
imported>Mathieu m (Robot: Changing Category:Typesetting template) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | ==Usage== | + | Template use to specify a named inference rule |
− | + | == Usage == | |
− | ==Example== | + | <pre><nowiki> |
− | + | {{InfRule| ''name'' | ''math formula typeset with a <math>\frac{}{}</math> expression'' }} | |
+ | </nowiki></pre> | ||
+ | == Example == | ||
+ | <pre><nowiki> | ||
+ | {{InfRule|HYP|<math>\frac{X}{\textbf{H},\textbf{P} \;\;\vdash \;\; \textbf{P}}</math>}} | ||
+ | </nowiki></pre> | ||
+ | gives: | ||
+ | {{InfRule|HYP|<math>\frac{X}{\textbf{H},\textbf{P} \;\;\vdash \;\; \textbf{P}}</math>}} | ||
[[Category:Typesetting templates]] | [[Category:Typesetting templates]] | ||
− | ==Template== | + | == Template == |
− | </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|}}}" |
− | + | |{{{2}}} | |
+ | |{{{1}}} | ||
+ | |}</includeonly> |
Latest revision as of 20:29, 10 September 2008
Template use to specify a named inference rule
Usage
{{InfRule| ''name'' | ''math formula typeset with a <math>\frac{}{}</math> expression'' }}
Example
{{InfRule|HYP|<math>\frac{X}{\textbf{H},\textbf{P} \;\;\vdash \;\; \textbf{P}}</math>}}
gives:
HYP |