Difference between pages "Template:Key" and "Template:L witness"

From Event-B
(Difference between pages)
Jump to navigationJump to search
imported>Mathieu
m
 
imported>Mathieu
m
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
==Usage==
 
==Usage==
Template use to specify a key stroke.
+
Template use to typeset a witness in an event-b listing.
 
==Example==
 
==Example==
Hit {{key|F5}}.
+
 
 +
{{l_machine|AntiCollide}}
 +
{{l_refines|Safety}}
 +
{{l_sees|Network}}
 +
{{l_component|Acyclic}}
 +
{{l_Variables|v1}}
 +
{{l_variable|v2}}
 +
{{l_event|control}}
 +
{{l_witnesses}}
 +
{{l_witness|a}}
 +
{{l_end_event}}
 +
{{l_end}}
 +
 
 +
[[Category:Listing templates]]
 
==Template==
 
==Template==
[[Category:Typesetting template]]
 
 
</noinclude><!--
 
</noinclude><!--
--><div class="typeset-key" style="display:inline;">'''''{{{1}}}'''''</div>
+
--><p class="typeset-l_witness">{{l_label|{{{1}}}}}{{{2}}}</p>

Revision as of 14:19, 26 February 2009

Usage

Template use to typeset a witness in an event-b listing.

Example

MACHINE

AntiCollide

REFINES

Safety

SEES

Network

Acyclic

VARIABLES

v1

v2

control ≙
// not extended and no convergence

WITH

a :
{{{2}}}

END

END

Template

{{{1}}} :

{{{2}}}