Template:Spaced prime/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 16: Line 16:
=== Technical notes ===
=== Technical notes ===
The difference between {{tlx|prime|plaincode}} and this template is that {{plaincode|<nowiki>{{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|prime|plaincode}} and this template is that {{plaincode|<nowiki>{{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 double prime
* {{tlx|'|plaincode}} and {{tlx|`|plaincode}} – used to insert an apostrophe that is not interpreted as Wiki markup

Revision as of 17:30, 26 January 2026

This template should not be substituted.

This template produces a prime symbol (U+2032 ) 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>.

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

The acute accent (U+00B4) is used since {{'}} and {{`}}, the straight apostrophe-quote and grave accent (respectively), are used to escape the apostrophe.

Usage

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

Technical notes

The difference between {{prime}} and this template is that {{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 double prime
  • {{'}} and {{`}} – used to insert an apostrophe that is not interpreted as Wiki markup