Extension Syntax/Example

'DO NOT VOTE HERE. IT IS JUST SOME EXAMPLES TO ILLUSTRATE PROPOSALS. THIS IS ABOUT FINDING A SYNTAX TO ENCAPSULATE DIFFERENT EXTENSIONS, NOT ABOUT THE SYNTAX OF THE EXTENSIONS THEMSELVES.

Vote taking place at Extension Syntax.

= Examples =

Erik's proposal
See Extension Syntax for details...

 &lt;music&gt; c8.( es16 bes4 ~ | bes8) r c8.( bes16 | des4 c8. bes16 | c4 ~  c8) r | c4( f,8. as16 | bes4 ~  bes8) r | f8.( es16 f4 | es  f) | g8.( es16 f4 ~ | f) f8 r &lt;/music&gt;

&lt;math&gt; R_{ik} - {g_{ik} R \over 2} + \Lambda g_{ik} = 8 \pi {G \over c^4} T_{ik} &lt;/math&gt;

The function &lt;math&gt; f(x) &lt;/math&gt; may also be written as &lt;math&gt; x^2 + y^2 &lt;/math&gt; or &lt;math&gt; re^\theta &lt;/math&gt;.

&lt;hiero&gt; H-A25-A24 -mn:n-i-t-P11-xt -HAt:t*t-W -r:a:t -! &lt;/hiero&gt; 

Magnus' proposal
See Extension Syntax for details...



The function

may also be written as

or

.



HTML like (with same end marker)
See Extension Syntax for details...

 &lt;music> c8.( es16 bes4 ~ | bes8) r c8.( bes16 | des4 c8. bes16 | c4 ~  c8) r | c4( f,8. as16 | bes4 ~  bes8) r | f8.( es16 f4 | es  f) | g8.( es16 f4 ~ | f) f8 r &lt;end>

&lt;math> R_{ik} - {g_{ik} R \over 2} + \Lambda g_{ik} = 8 \pi {G \over c^4} T_{ik} &lt;end>

The function &lt;math> f(x) &lt;end> may also be written as &lt;math> x^2 + y^2 &lt;end> or &lt;math> re^\theta &lt;end>.

&lt;hiero> H-A25-A24 -mn:n-i-t-P11-xt -HAt:t*t-W -r:a:t -! &lt;end> 

Forum like (with no /) (Aoineko)
See Extension Syntax for details...

 [music] c8.( es16 bes4 ~ | bes8) r c8.( bes16 | des4 c8. bes16 | c4 ~  c8) r | c4( f,8. as16 | bes4 ~  bes8) r | f8.( es16 f4 | es  f) | g8.( es16 f4 ~ | f) f8 r [music]

[math] R_{ik} - {g_{ik} R \over 2} + \Lambda g_{ik} = 8 \pi {G \over c^4} T_{ik} [math]

The function [math] f(x) [math] may also be written as [math] x^2 + y^2 [math] or [math] re^\theta [math].

[hiero] H-A25-A24 -mn:n-i-t-P11-xt -HAt:t*t-W -r:a:t -! [hiero] 

Forum like (with same end marker) (Aoineko)
See Extension Syntax for details...

 [music] c8.( es16 bes4 ~ | bes8) r c8.( bes16 | des4 c8. bes16 | c4 ~  c8) r | c4( f,8. as16 | bes4 ~  bes8) r | f8.( es16 f4 | es  f) | g8.( es16 f4 ~ | f) f8 r [end]

[math] R_{ik} - {g_{ik} R \over 2} + \Lambda g_{ik} = 8 \pi {G \over c^4} T_{ik} [end]

The function [math] f(x) [end] may also be written as [math] x^2 + y^2 [end] or [math] re^\theta [end].

[hiero] H-A25-A24 -mn:n-i-t-P11-xt -HAt:t*t-W -r:a:t -! [end] 

Peter's proposal
See Extension Syntax for details...

 &lt;rend type="music"&gt; c8.( es16 bes4 ~ | bes8) r c8.( bes16 | des4 c8. bes16 | c4 ~  c8) r | c4( f,8. as16 | bes4 ~  bes8) r | f8.( es16 f4 | es  f) | g8.( es16 f4 ~ | f) f8 r &lt;/rend&gt;

&lt;rend type="math"&gt; R_{ik} - {g_{ik} R \over 2} + \Lambda g_{ik} = 8 \pi {G \over c^4} T_{ik} &lt;/rend&gt;

The function &lt;rend type="math"&gt; f(x) &lt;/rend&gt; may also be written as &lt;rend type="math"&gt; x^2 + y^2 &lt;/rend&gt; or &lt;rend type="math"&gt; re^\theta &lt;/rend&gt;.

&lt;rend type="hiero"&gt; H-A25-A24 -mn:n-i-t-P11-xt -HAt:t*t-W -r:a:t -! &lt;/rend&gt; 

Inline brackets proposal
See Extension Syntax for details...

 [!music c8.( es16 bes4 ~ | bes8) r c8.( bes16 | des4 c8. bes16 | c4 ~  c8) r | c4( f,8. as16 | bes4 ~  bes8) r | f8.( es16 f4 | es  f) | g8.( es16 f4 ~ | f) f8 r !]

[!math R_{ik} - {g_{ik} R \over 2} + \Lambda g_{ik} = 8 \pi {G \over c^4} T_{ik} !]

The function [!math f(x) !] may also be written as [!math x^2 + y^2 !] or [!math re^\theta !].

[!hiero H-A25-A24 -mn:n-i-t-P11-xt -HAt:t*t-W -r:a:t -! !] 

Symbol bracket proposal
See Extension Syntax for details...

 bes8) r c8.( bes16 | des4 c8. bes16 | c4 ~ c8) r | c4( f,8. as16 | bes4 ~  bes8) r | f8.( es16 f4 | es  f) | g8.( es16 f4 ~ |  f) f8 r #

! R_{ik} - {g_{ik} R \over 2} + \Lambda g_{ik} = 8 \pi {G \over c^4} T_{ik} !

The function ! f(x) ! may also be written as ! x^2 + y^2 ! or ! re^\theta !.

^ H-A25-A24 -mn:n-i-t-P11-xt -HAt:t*t-W -r:a:t -! ^ 

IMSoP's proposal
See Extension Syntax for details...

 &lt;special music&gt; c8.( es16 bes4 ~ | bes8) r c8.( bes16 | des4 c8. bes16 | c4 ~  c8) r | c4( f,8. as16 | bes4 ~  bes8) r | f8.( es16 f4 | es  f) | g8.( es16 f4 ~ | f) f8 r &lt;/special&gt;

&lt;special math&gt; R_{ik} - {g_{ik} R \over 2} + \Lambda g_{ik} = 8 \pi {G \over c^4} T_{ik} &lt;/special&gt;

The function &lt;special math&gt; f(x) &lt;/special&gt; may also be written as &lt;special math&gt; x^2 + y^2 &lt;/special&gt; or &lt;special math&gt; re^\theta &lt;/special&gt;.

&lt;special hiero&gt; H-A25-A24 -mn:n-i-t-P11-xt -HAt:t*t-W -r:a:t -! &lt;/special&gt; </tt>

Phil's proposal
See Extension Syntax for details...

 &lt;wiki music&gt; c8.( es16 bes4 ~ | bes8) r c8.( bes16 | des4 c8. bes16 | c4 ~  c8) r | c4( f,8. as16 | bes4 ~  bes8) r | f8.( es16 f4 | es  f) | g8.( es16 f4 ~ | f) f8 r &lt;/wiki&gt;

&lt;wiki math&gt; R_{ik} - {g_{ik} R \over 2} + \Lambda g_{ik} = 8 \pi {G \over c^4} T_{ik} &lt;/wiki&gt;

The function &lt;wiki math&gt; f(x) &lt;/wiki&gt; may also be written as &lt;wiki math&gt; x^2 + y^2 &lt;/wiki&gt; or &lt;wiki math&gt; re^\theta &lt;/wiki&gt;.

&lt;wiki hiero&gt; H-A25-A24 -mn:n-i-t-P11-xt -HAt:t*t-W -r:a:t -! &lt;/wiki&gt; </tt>