Template:Spaced double prime/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
Documentation
 
ArrowHead294 (talk | contribs)
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
This template produces a {{w|prime symbol|double prime symbol}} (<code>″</code>) with leading space so it does not collide with preceding '''bold''' (<code><nowiki>'''</nowiki></code>) or ''italic'' (<code><nowiki>''</nowiki></code>) characters.
{{dochead}}{{substitute|no}}{{clear}}
This template produces a {{w|prime symbol|double prime symbol}} ([http://www.compart.com/en/unicode/U+2033 U+2033] <code>″</code>) with leading space so it does not collide with preceding '''bold''' (<code><nowiki>'''</nowiki></code>) or ''italic'' (<code><nowiki>''</nowiki></code>) characters. It eliminates the need to have to type out <code><nowiki><span style="padding-left: 0.15em; white-space: nowrap;">″</span></nowiki></code> every time.


{{shortcut|-"}}
{{shortcut|-"}}
Line 15: Line 16:
=== Technical notes ===
=== Technical notes ===
The difference between {{tlx|double prime|plaincode}} and this template is that {{plaincode|<nowiki>{{double prime}}</nowiki>}} is for letters that require little or no spacing, such as lowercase ''a'', ''o'', and ''s'', and uppercase ''A'' and ''L'', while this template is for letters such as ''d'', ''f'', and ''l'', and uppercase ''C'' and ''T'' that require more space.
The difference between {{tlx|double prime|plaincode}} and this template is that {{plaincode|<nowiki>{{double prime}}</nowiki>}} is for letters that require little or no spacing, such as lowercase ''a'', ''o'', and ''s'', and uppercase ''A'' and ''L'', while this template is for letters such as ''d'', ''f'', and ''l'', and uppercase ''C'' and ''T'' that require more space.
=== See also ===
* {{tlx|``|plaincode}} and {{tlx|-`|plaincode}} – used to insert a single prime

Latest revision as of 14:53, 8 February 2026

This template should not be substituted.

This template produces a double prime symbol (U+2033 ) with leading space so it does not collide with preceding bold (''') or italic ('') characters. It eliminates the need to have to type out <span style="padding-left: 0.15em; white-space: nowrap;">″</span> every time.

📝Note: You can use {{-"}} as a shortcut.

Usage

You type You get
''T''{{-"}} T

Technical notes

The difference between {{double prime}} and this template is that {{double prime}} is for letters that require little or no spacing, such as lowercase a, o, and s, and uppercase A and L, while this template is for letters such as d, f, and l, and uppercase C and T that require more space.

See also

  • {{``}} and {{-`}} – used to insert a single prime