User:Dave Keenan/sagittal: Difference between revisions

Dave Keenan (talk | contribs)
No edit summary
Dave Keenan (talk | contribs)
No edit summary
 
(161 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span class="bravura" style="font-size:{{{size|250%}}}; line-height:{{{height|16px}}}; vertical-align:-0.3em; {{#switch:
<includeonly>{{#ifeq:
  {{#replace:
    {{#replace:
      {{{1|}}}¦{{{2|⌫}}}¦{{{3|⌫}}}¦{{{4|⌫}}} |
      ¦⌫ | }} |
    {{pipe}} | ¦ }} |
  (¦\ |
  <span style="display: inline-block; transform: translateY(9px) scaleY(-1);"><span class="bravura" style="font-size: {{{size|250%}}}; line-height: {{{height|0.6em}}}; vertical-align: -0.255em; display: inline-block; transform: translateY(0.22em); margin-right: .05em;">&#xE30F;</span></span> |
  <span class="bravura" style="font-size: {{{size|250%}}}; line-height: {{{height|0.6em}}}; vertical-align: -0.3em; margin-right: .05em; {{#switch:
   {{#replace:
   {{#replace:
     {{#replace:
     {{#replace:
Line 13: Line 21:
   bb    = ">&#xE264; |
   bb    = ">&#xE264; |
   t    |
   t    |
   >    = ">&#xE282; |
   >    = display: inline-block; transform: translateY(-.017em);">&#xE282; |
   d    |
   d    |
   <    = ">&#xE284; |
   <    = ">&#xE284; |
   t#    |
   t#    |
   >#    = ">&#xE283; |
   >#    = display: inline-block; transform: translateY(.01em);">&#xE283; |
   db    |
   db    |
   <b    = ">&#xE285; |
   <b    = ">&#xE285; |
Line 36: Line 44:
   (¦)    = ">&#xE30C; |
   (¦)    = ">&#xE30C; |
   (!)    = ">&#xE30D; |
   (!)    = ">&#xE30D; |
   (¦\    = display: inline-block; transform: scaleY(-1);">&#xE30F; |
   (¦\    = ">&#xE30E; |
   (!/    = ">&#xE30F; |
   (!/    = ">&#xE30F; |
   )¦¦(  = ">&#xE310; |
   )¦¦(  = ">&#xE310; |
Line 279: Line 287:
///¦    = ">&#xE41C; |
///¦    = ">&#xE41C; |
\\\!    = ">&#xE41D; |
\\\!    = ">&#xE41D; |
ntAwh    = ">&#xE169; |
ntBwh    = ">&#xE16C; |
ntCwh    = ">&#xE16F; |
ntDwh    = ">&#xE172; |
ntEwh    = ">&#xE175; |
ntFwh    = ">&#xE178; |
ntGwh    = ">&#xE17B; |
ntAhf    = ">&#xE180; |
ntBhf    = ">&#xE183; |
ntChf    = ">&#xE186; |
ntDhf    = ">&#xE189; |
ntEhf    = ">&#xE18C; |
ntFhf    = ">&#xE18F; |
ntGhf    = ">&#xE192; |
ntAbl    = ">&#xE197; |
ntBbl    = ">&#xE19A; |
ntCbl    = ">&#xE19D; |
ntDbl    = ">&#xE1A0; |
ntEbl    = ">&#xE1A3; |
ntFbl    = ">&#xE1A6; |
ntGbl    = ">&#xE1A9; |
nhwh    = ">&#xE0A2; |
nhhf    = ">&#xE0A3; |
nhbl    = ">&#xE0A4; |
">{{#replace:
">{{#replace:
     {{#replace:
     {{#replace:
Line 284: Line 316:
       ¦⌫ | }} |
       ¦⌫ | }} |
     ¦ | {{pipe}} }}
     ¦ | {{pipe}} }}
}}</span>&#x200A;</includeonly><noinclude>
}}</span>}}</includeonly><noinclude>
The '''Sagittal''' template converts a sagitype code (the pictorial ASCII code for sagittal) into a sagittal symbol in the BravuraText font.
 
== Usage notes ==
This template accepts one unnamed argument and two named arguments:
# Text in the form of sagitype, representing a sagittal or related symbol.
# (optional) '''size =''' a CSS font-size value; defaults to "250%".
# (optional) '''height =''' a CSS line-height value; defaults to "16px".
 
'''Note:''' Pipe characters (<code>&#124;</code>) do not need to be escaped.


==Examples==
text{{nbhsp}}{{../sagittal| /| }}{{../sagittal| (!/ }}{{../sagittal| (|\ }}text


<nowiki>{{sagittal| /| }}</nowiki> → <span class="bravura" style="font-size:250%; line-height:16px; vertical-align:-0.3em;">&#xE302;</span>
text{{nbhsp}}{{../sagittal| !) }}text


<nowiki>{{sagittal| !) }}</nowiki> → <span class="bravura" style="font-size:250%; line-height:16px; vertical-align:-0.3em;">&#xE305;</span>
{{../sge| (¦) | (!) | jat |  729/704  | 11 large diesis }}
{{../sge| (¦\ | (!/ | jak | 8505/8192 | 35 large diesis }}


== See also ==
{| class="wikitable sortable right-3"
* [[Sagittal notation]]
|-
* [[Sagitype]]
! Frequency Ratio
* [[Template:Bravura]]
! Cents Value<br>(7 sig. dig.)
! [[Sagittal notation|Sagittal <br> notation]]
! colspan="2" |[[Color notation|Color Name]]
! FJS Name
! Some common names
|-
| [[27/13]]
| 1265.337
| <ref group=note>The [[Sagittal]] column shows a pitch-class-sensitive [[Sagittal_notation#Athenian|Athenian]] [[Sagittal_notation#Evo|Evo]] notation with 1/1 = C. A white notehead {{sagittal|nhhf|size=300%}} indicates exact notation while black {{sagittal|nhbl|size=300%}} indicates approximation (typically within 2&#x202F;¢).</ref>&hairsp;&hairsp;{{../sagittal| (|\ |size=300%}}{{../sagittal|ntChf|size=400%}}&numsp;&numsp;
| 3u8
| thu8ve&numsp;&numsp;&numsp;&numsp;&numsp;<ref group=note>In the color names, "co" or "c" stands for compound, {{w|Interval (music) #Compound intervals|a conventional music term}}.</ref>
| A8<sub>13</sub>&numsp;<ref group=note>If any [[FJS]] names are missing, please [https://misotanni.github.io/fjs/en/calc.html add] them.</ref>
| Luxembourg eighth
|-
| [[23/11]]
| 1276.956
| {{../sagittal| (!( |size=300%}}{{../sagittal| # |size=300%}}{{../sagittal|ntChf|size=400%}}&numsp;&numsp;
| 23o1u9
| twetholu 9th
| A8<sup>23</sup><sub>11</sub>
| vicesimotertial minor ninth
|-
| [[19/9]]
| 1293.603
| {{../sagittal| |( |size=300%}}{{../sagittal| b |size=300%}}{{../sagittal|ntDhf|size=400%}}&numsp;&numsp;
| 19o9
| ino 9th
| m9<sup>19</sup>
| undevicesimal minor ninth
|-
| [[17/8]]
| 1304.955
| {{../sagittal| ~|( |size=300%}}{{../sagittal| b |size=300%}}{{../sagittal|ntDhf|size=400%}}&numsp;&numsp;
| 17o9
| iso 9th
| m9<sup>17</sup>
| septendecimal minor ninth
|-
| [[32/15]]
| 1311.731
| {{../sagittal| /| |size=300%}}{{../sagittal| b |size=300%}}{{../sagittal|ntDhf|size=400%}}&numsp;&numsp;
| g9
| gu 9th
| m9<sub>5</sub>
| classic minor ninth
|}
Notes<references group=note />


[[Category:Font templates]]
</noinclude>