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 edit

Erik's proposal edit

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

<music><font color="gray">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</font></music>

<math><font color="gray">R_{ik} - {g_{ik} R \over 2} + \Lambda g_{ik} = 8 \pi {G \over c^4} T_{ik}</font></math>

The function <math><font color="gray">f(x)</font></math> may also be written as <math><font color="gray">x^2 + y^2</font></math> or <math><font color="gray">re^\theta</font></math>.

<hiero><font color="gray">H-A25-A24 -mn:n-i-t-P11-xt -HAt:t*t-W -r:a:t -!</font></hiero>

Magnus' proposal edit

See Extension Syntax#Magnus' proposal for details...

{{music:<font color="gray">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</font>}}

{{math:<font color="gray">R_{ik} - {g_{ik} R \over 2} + \Lambda g_{ik} = 8 \pi {G \over c^4} T_{ik}</font>}}

The function {{math:<font color="gray">f(x)</font>}} may also be written as {{math:<font color="gray">x^2 + y^2</font>}} or {{math:<font color="gray">re^\theta</font>}}.

{{hiero:<font color="gray">H-A25-A24 -mn:n-i-t-P11-xt -HAt:t*t-W -r:a:t -!</font>}}

HTML like (with same end marker) edit

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

<music><font color="gray">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</font><end>

<math><font color="gray">R_{ik} - {g_{ik} R \over 2} + \Lambda g_{ik} = 8 \pi {G \over c^4} T_{ik}</font><end>

The function <math><font color="gray">f(x)</font><end> may also be written as <math><font color="gray">x^2 + y^2</font><end> or <math><font color="gray">re^\theta</font><end>.

<hiero><font color="gray">H-A25-A24 -mn:n-i-t-P11-xt -HAt:t*t-W -r:a:t -!</font><end>

Forum like (with no /) (Aoineko) edit

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

[music]<font color="gray">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</font>[music]

[math]<font color="gray">R_{ik} - {g_{ik} R \over 2} + \Lambda g_{ik} = 8 \pi {G \over c^4} T_{ik}</font>[math]

The function [math]<font color="gray">f(x)</font>[math] may also be written as [math]<font color="gray">x^2 + y^2</font>[math] or [math]<font color="gray">re^\theta</font>[math].

[hiero]<font color="gray">H-A25-A24 -mn:n-i-t-P11-xt -HAt:t*t-W -r:a:t -!</font>[hiero]

Forum like (with same end marker) (Aoineko) edit

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

[music]<font color="gray">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</font>[end]

[math]<font color="gray">R_{ik} - {g_{ik} R \over 2} + \Lambda g_{ik} = 8 \pi {G \over c^4} T_{ik}</font>[end]

The function [math]<font color="gray">f(x)</font>[end] may also be written as [math]<font color="gray">x^2 + y^2</font>[end] or [math]<font color="gray">re^\theta</font>[end].

[hiero]<font color="gray">H-A25-A24 -mn:n-i-t-P11-xt -HAt:t*t-W -r:a:t -!</font>[end]

Peter's proposal edit

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

<rend type="music"><font color="gray">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</font></rend>

<rend type="math"><font color="gray">R_{ik} - {g_{ik} R \over 2} + \Lambda g_{ik} = 8 \pi {G \over c^4} T_{ik}</font></rend>

The function <rend type="math"><font color="gray">f(x)</font></rend> may also be written as <rend type="math"><font color="gray">x^2 + y^2</font></rend> or <rend type="math"><font color="gray">re^\theta</font></rend>.

<rend type="hiero"><font color="gray">H-A25-A24 -mn:n-i-t-P11-xt -HAt:t*t-W -r:a:t -!</font></rend>


Inline brackets proposal edit

See Extension Syntax#Inline brackets proposal for details...

[!music <font color="gray">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</font> !]

[!math <font color="gray">R_{ik} - {g_{ik} R \over 2} + \Lambda g_{ik} = 8 \pi {G \over c^4} T_{ik}</font> !]

The function [!math <font color="gray">f(x)</font> !] may also be written as [!math <font color="gray">x^2 + y^2</font> !] or [!math <font color="gray">re^\theta</font> !].

[!hiero <font color="gray">H-A25-A24 -mn:n-i-t-P11-xt -HAt:t*t-W -r:a:t -!</font> !]

Symbol bracket proposal edit

See Extension Syntax#Symbol bracket proposal for details...

[[# <font color="gray">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</font> #]]

[[! <font color="gray">R_{ik} - {g_{ik} R \over 2} + \Lambda g_{ik} = 8 \pi {G \over c^4} T_{ik}</font> !]]

The function [[! <font color="gray">f(x)</font> !]] may also be written as [[! <font color="gray">x^2 + y^2</font> !]] or [[! <font color="gray">re^\theta</font> !]].

[[^ <font color="gray">H-A25-A24 -mn:n-i-t-P11-xt -HAt:t*t-W -r:a:t -!</font> ^]]

IMSoP's proposal edit

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

<special music><font color="gray">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</font></special>

<special math><font color="gray">R_{ik} - {g_{ik} R \over 2} + \Lambda g_{ik} = 8 \pi {G \over c^4} T_{ik}</font></special>

The function <special math><font color="gray">f(x)</font></special> may also be written as <special math><font color="gray">x^2 + y^2</font></special> or <special math><font color="gray">re^\theta</font></special>.

<special hiero><font color="gray">H-A25-A24 -mn:n-i-t-P11-xt -HAt:t*t-W -r:a:t -!</font></special>

Phil's proposal edit

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

<wiki music><font color="gray">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</font></wiki>

<wiki math><font color="gray">R_{ik} - {g_{ik} R \over 2} + \Lambda g_{ik} = 8 \pi {G \over c^4} T_{ik}</font></wiki> </
== <font?:coloue:> = 8+ / pi {gi} ==


The function <wiki math><font color="gray">f(x)</font></wiki> may also be written as <wiki math><font color="gray">x^2 + y^2</font></wiki> or <wiki math><font color="gray">re^\theta</font></wiki>.

<wiki hiero><font color="gray">H-A25-A24 -mn:n-i-t-P11-xt -HAt:t*t-W -r:a:t -!</font></wiki>