Template:Szg: Difference between revisions
Jump to navigation
Jump to search
Dave Keenan (talk | contribs) Added ups and downs chevrons as ^ = and v = |
Dave Keenan (talk | contribs) Correct for 4-staff-positions-too-low vertical position of up and down chevrons in current version of BravuraText. |
||
| Line 14: | Line 14: | ||
t# = {{szg/offset||0|-10}} | | t# = {{szg/offset||0|-10}} | | ||
x =  | | x =  | | ||
^ =  | | ^ = {{szg/offset||0|400}} | | ||
^¦ = {{szg/offset||0|-213}} | | ^¦ = {{szg/offset||0|-213}} | | ||
^bb =  | | ^bb =  | | ||
| Line 25: | Line 25: | ||
^t# = {{szg/offset||0|-10}}{{szg/offset|{{szg/sharup}}|-125|113}} | | ^t# = {{szg/offset||0|-10}}{{szg/offset|{{szg/sharup}}|-125|113}} | | ||
^x =  | | ^x =  | | ||
v =  | | v = {{szg/offset||0|400}} | | ||
v¦ =  | | v¦ =  | | ||
vbb =  | | vbb =  | | ||
Revision as of 21:46, 1 May 2026
The szg template converts a pictorial ASCII code into a Stein–Zimmermann–Gould symbol, or an Ups-and-downs symbol, in the BravuraText font. In some cases, the symbol is made up of multiple symbols offset and overlaid. There are also ASCII codes for lettered noteheads and staff segments. See the source code for the full list.
Usage notes
This template accepts one unnamed argument and two named arguments:
- Text representing an SZG or related symbol.
- (optional) size = a CSS font-size value; defaults to "250%".
- (optional) height = a CSS line-height value, e.g. "40px"; defaults to "1.5em".
Examples
| You type | You get |
|---|---|
{{szg| ^ }} |
|
{{szg| ^| }} |
|
{{szg| ^t# }} |
|
{{szg| vvvdb }} |
|