Template:Nbhsp/doc: Difference between revisions

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;"
|- style="white-space: nowrap;"
|-
! You type !! You get (generated HTML)
! You type !! You get (generated HTML)
|-
|-
| <code>{{((}}nbhsp{{))}}</code> || <code>&amp;#x2060;&amp;#x200A;&amp;#x2060;</code>
| <code><nowiki>{{nbhsp}}</nowiki></code> || <code>&amp;#x2060;&amp;#x200A;&amp;#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]]