Template:Sagittal: Difference between revisions

Dave Keenan (talk | contribs)
Fixed problem where (|\ was too low on Apple Macs after the previous workaround for its inverted glyph in the current version of Bravura Text.
Dave Keenan (talk | contribs)
Added codes for SMuFL noteheads with note-names inside them; whole-note, half-note and black.
 
(3 intermediate revisions by 2 users not shown)
Line 6: Line 6:
     {{pipe}} | ¦ }} |
     {{pipe}} | ¦ }} |
   (¦\ |
   (¦\ |
   <span style="display: inline-block; transform: scaleY(-1);"><span class="bravura" style="font-size: {{{size|250%}}}; line-height: {{{height|16px}}}; vertical-align: -0.225em;">&#xE30F;</span></span> |
   <span style="display: inline-block; transform: translateY(9px) scaleY(-1);"><span class="bravura" style="font-size: {{{size|250%}}}; line-height: {{{height|16px}}}; vertical-align: -0.255em; display: inline-block; transform: translateY(0.22em);">&#xE30F;</span></span> |
   <span class="bravura" style="font-size: {{{size|250%}}}; line-height: {{{height|16px}}}; vertical-align: -0.3em; {{#switch:
   <span class="bravura" style="font-size: {{{size|250%}}}; line-height: {{{height|16px}}}; vertical-align: -0.3em; {{#switch:
   {{#replace:
   {{#replace:
Line 287: 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; |
">{{#replace:
">{{#replace:
     {{#replace:
     {{#replace:
Line 292: Line 313:
       ¦⌫ | }} |
       ¦⌫ | }} |
     ¦ | {{pipe}} }}
     ¦ | {{pipe}} }}
}}</span>}}&#x2060;&#x200A;&#x2060;</includeonly><noinclude>
}}</span>}}{{nbhsp}}</includeonly><noinclude>
The '''Sagittal''' template converts a [[sagitype]] code (the pictorial ASCII code for sagittal) into a [[sagittal]] symbol in the BravuraText font.
 
{{documentation}}
{{documentation}}


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