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 1: Line 1:
This template produces a {{w|prime symbol}} <code>′</code> with leading space so it does not collide with a preceding '''bold''' (<code><nowiki>'''</nowiki></code>) or ''italic'' (<code><nowiki>''</nowiki></code>) characters, especially with lowercase ''f'', ''j'', and ''l'', and upper-case ''C'', ''T'', and ''V''.
This template produces a {{w|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.
 


{{shortcut|-,}}
{{shortcut|-,}}
Line 12: Line 13:
| ''T''{{-,}}
| ''T''{{-,}}
|}
|}
=== Technical notes ===
The difference between {{tlx|prime|plaincode}} and this template is that {{plaincode|<nowiki>{{prime}}</nowiki}} is designed for letters that require little or no spacing, such as ''o'', ''A'', and ''L'', while this template is designed for letters such as ''f'', ''l'',  and uppercase ''C'' and ''T'' that require more space.

Revision as of 02:09, 26 January 2026

This template produces a prime symbol with leading space so it does not collide with preceding bold (''') or italic ('') characters.


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

Usage

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

Technical notes

The difference between {{prime}} and this template is that <nowiki></nowiki is designed for letters that require little or no spacing, such as o, A, and L, while this template is designed for letters such as f, l, and uppercase C and T that require more space.