Template:Szg/doc

Revision as of 23:30, 22 May 2026 by Dave Keenan (talk | contribs) (Mentioned that it also generates ups-and-downs, lettered noteheads and staff segments.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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:

  1. Text representing an SZG or related symbol.
  2. (optional) size = a CSS font-size value; defaults to "250%".
  3. (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 }}

See also