Template:Prime/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
m Undid revision 222351 by ArrowHead294 (talk)
Tag: Undo
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
This template produces a {{w|prime symbol}} <code>′</code>. It is designed to be easier to remember and somewhat clearer than an unadorned <code>&amp;#x2032;</code> or <code>&amp;prime;</code>.
This template produces a {{w|prime symbol}} <code>′</code> with a small amount of leading space so it does not collide with preceding '''bold''' (<code><nowiki>'''</nowiki></code>) or ''italic'' (<code><nowiki>''</nowiki></code>) characters. It is designed to be easier to remember and somewhat clearer than an unadorned <code>&amp;#x2032;</code> or <code>&amp;prime;</code>.


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

Revision as of 02:10, 26 January 2026

This template produces a prime symbol with a small amount of leading space so it does not collide with preceding bold (''') or italic ('') characters. It is designed to be easier to remember and somewhat clearer than an unadorned &#x2032; or &prime;.

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

Usage

You type You get
A{{,}} A

Technical notes

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