| 1 |
<!DOCTYPE html> |
| 2 |
<html><head> |
| 3 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
| 4 |
<title>highlight.mup</title> |
| 5 |
<meta name="generator" content="KF5::SyntaxHighlighting - Definition (Music Publisher) - Theme (Breeze Dark)"/> |
| 6 |
</head><body style="background-color:#232629;color:#cfcfc2"><pre> |
| 7 |
<span style="color:#7a7c7d;">// This is a MUP highlighting test.</span> |
| 8 |
<span style="color:#7a7c7d;">// Mup is a shareware music publisher from www.arkkra.com</span> |
| 9 |
|
| 10 |
<span style="color:#7a7c7d;">// contexts</span> |
| 11 |
<span style="font-weight:bold;">score</span> |
| 12 |
<span style="font-weight:bold;">music</span> |
| 13 |
<span style="font-weight:bold;">staff</span> 1 |
| 14 |
<span style="font-weight:bold;">voice</span> 1 3 |
| 15 |
|
| 16 |
<span style="font-weight:bold;">top</span> |
| 17 |
<span style="font-weight:bold;">top2</span> |
| 18 |
<span style="font-weight:bold;">bottom</span> |
| 19 |
<span style="font-weight:bold;">bottom2</span> |
| 20 |
<span style="font-weight:bold;">grids</span> |
| 21 |
|
| 22 |
<span style="font-weight:bold;">headshapes</span> |
| 23 |
|
| 24 |
|
| 25 |
<span style="font-weight:bold;">header</span> |
| 26 |
<span style="font-weight:bold;">footer</span> |
| 27 |
<span style="font-weight:bold;">header2</span> |
| 28 |
<span style="font-weight:bold;">footer2</span> |
| 29 |
|
| 30 |
<span style="color:#7a7c7d;">// parameters and values</span> |
| 31 |
<span style="font-weight:bold;">score</span> |
| 32 |
<span style="color:#3daee9;">units </span>= <span style="color:#f67400;">cm</span>; |
| 33 |
<span style="color:#3daee9;">key </span>= <span style="color:#f67400;">3#minor</span> |
| 34 |
<span style="color:#3daee9;">key </span>= <span style="color:#f67400;">3#</span> <span style="color:#f67400;">minor</span> |
| 35 |
<span style="color:#3daee9;">rehstyle</span>=<span style="color:#f67400;">circled</span> |
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
<span style="color:#f67400;">mussym</span> <span style="color:#f67400;">above</span> <span style="color:#f67400;">all</span>: 1 <span style="color:#f44f4f;">"ferm"</span> ; |
| 41 |
|
| 42 |
<span style="color:#1111ff;">define</span> <span style="color:#1111ff;">NAME</span> |
| 43 |
<span style="color:#7a7c7d;">// this is a macro definition, these are collapsable</span> |
| 44 |
<span style="color:#1111ff;">@</span> |
| 45 |
|
| 46 |
<span style="color:#1111ff;">ifdef</span> <span style="color:#1111ff;">NAME</span> |
| 47 |
<span style="color:#7a7c7d;">// this is conditionally "compiled"</span> |
| 48 |
<span style="color:#1111ff;">endif</span> |
| 49 |
|
| 50 |
<span style="color:#1111ff;">ifndef</span> <span style="color:#1111ff;">NAME</span> |
| 51 |
<span style="color:#7a7c7d;">// this is conditionally "compiled" when the macro has not been defined</span> |
| 52 |
<span style="color:#1111ff;">else</span> |
| 53 |
<span style="color:#7a7c7d;">// else clause</span> |
| 54 |
<span style="color:#1111ff;">endif</span> |
| 55 |
|
| 56 |
|
| 57 |
<span style="color:#7a7c7d;">// Various Tests </span> |
| 58 |
|
| 59 |
<span style="color:#7a7c7d;">// tablature</span> |
| 60 |
1: e ^f; f; b ^c5; c#5; |
| 61 |
<span style="color:#cc6622;">bar</span> |
| 62 |
|
| 63 |
1: d+^e+ g^a; e+a; g ^/; c ^/ c+^/; |
| 64 |
<span style="color:#cc6622;">bar</span> |
| 65 |
|
| 66 |
<span style="color:#7a7c7d;">// cross-staff stems</span> |
| 67 |
1: 1e+g+c++; |
| 68 |
2: cc+; ee+; g <span style="color:#f67400;">with</span> g+ <span style="color:#f67400;">above</span>; <span style="color:#f67400;">with</span> c+c++ <span style="color:#f67400;">above</span>; |
| 69 |
<span style="color:#cc6622;">bar</span> |
| 70 |
|
| 71 |
1: 2+4ceg;4; <span style="color:#7a7c7d;">// tie implied by added time values</span> |
| 72 |
|
| 73 |
<span style="color:#7a7c7d;">// slurs</span> |
| 74 |
1: 2f<span style="color:#0077bb;font-style:italic;"><d></span> a<span style="color:#0077bb;font-style:italic;"><b></span> c+<span style="color:#0077bb;font-style:italic;"><d+></span>; dbd+; |
| 75 |
<span style="color:#cc6622;">bar</span> |
| 76 |
1: 2fac+ <span style="color:#0077bb;font-style:italic;">slur</span>; dbd+; |
| 77 |
<span style="color:#cc6622;">bar</span> |
| 78 |
|
| 79 |
<span style="color:#7a7c7d;">// alternation</span> |
| 80 |
1: 2c <span style="color:#0077bb;font-style:italic;">alt 2</span>; 2c+;2g; |
| 81 |
<span style="color:#cc6622;">bar</span> |
| 82 |
|
| 83 |
<span style="color:#7a7c7d;">// bar to draw if repeatstart happens to be on new line</span> |
| 84 |
(<span style="color:#cc6622;">dblbar</span>) <span style="color:#cc6622;">repeatstart</span> |
| 85 |
1: <span style="font-weight:bold;">[</span><span style="color:#0077bb;font-style:italic;">up</span><span style="font-weight:bold;">]</span>8f <span style="color:#0077bb;font-style:italic;">bm with staff below</span>;a;4s <span style="color:#0077bb;font-style:italic;">ebm</span>;4s <span style="color:#0077bb;font-style:italic;">bm with staff below</span>;8b;<span style="font-weight:bold;">[</span><span style="color:#0077bb;font-style:italic;">len 11</span><span style="font-weight:bold;">]</span>d <span style="color:#0077bb;font-style:italic;">ebm</span>; |
| 86 |
2: 4s <span style="color:#0077bb;font-style:italic;">bm with staff above</span>;8a;b <span style="color:#0077bb;font-style:italic;">ebm</span>;<span style="font-weight:bold;">[</span><span style="color:#0077bb;font-style:italic;">down</span>;<span style="color:#0077bb;font-style:italic;">len 14</span><span style="font-weight:bold;">]</span>b <span style="color:#0077bb;font-style:italic;">bm with staff above</span>;d;4s <span style="color:#0077bb;font-style:italic;">ebm</span>; |
| 87 |
<span style="color:#cc6622;">bar</span> |
| 88 |
|
| 89 |
<span style="color:#7a7c7d;">// locations</span> |
| 90 |
3: 2cf; <span style="font-weight:bold;">[</span><span style="color:#00cc44;font-weight:bold;">=h</span><span style="font-weight:bold;">]</span> egc+; |
| 91 |
1: <span style="font-weight:bold;">[</span><span style="color:#0077bb;font-style:italic;">cue</span>; <span style="color:#0077bb;font-style:italic;">with ></span>; <span style="color:#00cc44;font-weight:bold;">=_ch</span><span style="font-weight:bold;">]</span> fa; |
| 92 |
|
| 93 |
|
| 94 |
<span style="color:#f67400;">roll</span> <span style="color:#f67400;">up</span> 1 1 <span style="color:#f67400;">to</span> 1 2: 2; 4; |
| 95 |
<span style="color:#f67400;">roll</span> <span style="color:#f67400;">down</span> 1 1 <span style="color:#f67400;">to</span> 1 2: 2; 4; |
| 96 |
|
| 97 |
<span style="color:#f67400;font-weight:bold;">lyrics</span> <span style="color:#f67400;">above</span> 1,3 ; <span style="color:#f67400;">below</span> 2,4 ; <span style="color:#f67400;">between</span> 5&6 : <span style="color:#f44f4f;">"</span><span style="color:#880000;"><</span><span style="color:#f44f4f;">1. </span><span style="color:#880000;">></span><span style="color:#f44f4f;">Hi, hi"</span>; |
| 98 |
|
| 99 |
<span style="color:#f67400;">title </span><span style="color:#f44f4f;">"page </span><span style="color:#f44f4f;font-weight:bold;">\%</span><span style="color:#f44f4f;"> of </span><span style="color:#f44f4f;font-weight:bold;">\#</span><span style="color:#f44f4f;">"</span> |
| 100 |
|
| 101 |
<span style="color:#7a7c7d;">// shaped whole rests</span> |
| 102 |
1: 4mr; <span style="color:#7a7c7d;">// use a quarter rest symbol</span> |
| 103 |
1: 1/4mr; <span style="color:#7a7c7d;">// use a quadruple whole rest symbol</span> |
| 104 |
2: 2.. mr; <span style="color:#7a7c7d;">// use a double-dotted half rest</span> |
| 105 |
|
| 106 |
<span style="color:#7a7c7d;">// tuplets</span> |
| 107 |
1: <span style="font-weight:bold;">{</span>4f; g;<span style="font-weight:bold;">}</span><span style="color:#003355;">3n</span><span style="color:#000000;text-decoration:underline;">um</span>,4.+2. |
| 108 |
<span style="color:#cc6622;">bar</span> |
| 109 |
|
| 110 |
</pre></body></html> |