Template:Nbhsp/doc: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{dochead}} | {{dochead}}{{lowercase title}} | ||
The <code>'''nbhsp'''</code> template generates a no-break hair space. A very narrow non-breaking space is sometimes required before or after a [[Sagittal notation|Sagittal accidental]] or other symbol from the Bravura Text font. | |||
=== Usage === | === Usage === | ||
{| class="wikitable" style="text-align: center;" | {| class="wikitable" style="text-align: center;" | ||
|- | |- | ||
! You type !! You get (generated HTML) | ! You type !! You get (generated HTML) | ||
|- | |- | ||
| <code>{{ | | <code><nowiki>{{nbhsp}}</nowiki></code> || <code>&#x2060;&#x200A;&#x2060;</code> | ||
|} | |} | ||
=== Technical note === | |||
This is implemented as a word joiner ([https://www.compart.com/en/unicode/U+2060 U+2060]), followed by a hair space ([https://www.compart.com/en/unicode/U+200A U+200A]), followed by another word joiner. | |||
=== See also === | === See also === | ||
* [[Template:Sagittal]] | * [[Template: Sagittal]] | ||
* [[Template:Bravura]] | * [[Template: Bravura]] |
Latest revision as of 18:04, 25 January 2025
The nbhsp
template generates a no-break hair space. A very narrow non-breaking space is sometimes required before or after a Sagittal accidental or other symbol from the Bravura Text font.
Usage
You type | You get (generated HTML) |
---|---|
{{nbhsp}} |
⁠ ⁠
|
Technical note
This is implemented as a word joiner (U+2060), followed by a hair space (U+200A), followed by another word joiner.