Template:Prime/doc: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| Line 1: | Line 1: | ||
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 {{plaincode|&#x2032;}} or {{plaincode|&prime;}}. | 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 {{plaincode|&#x2032;}} or {{plaincode|&prime;}}. | ||
{{shortcut|,}} | {{shortcut|,}} The {{w|comma (symbol)|punctuation comma}} is used as the shortcut since {{plaincode|<nowiki>{{'}}</nowiki>}} and {{plaincode|<nowiki>{{`}}</nowiki>}} are used to escape the apostrophe. | ||
=== Usage === | === Usage === | ||
Revision as of 17:00, 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 ′ or ′.
| Note: | You can use {{,}} as a shortcut.
|
The punctuation comma is used as the shortcut since {{'}} and {{`}} are used to escape the apostrophe.
Usage
| You type | You get |
|---|---|
A{{,}}
|
A′ |
Technical notes
The difference between this template and {{spaced prime}} is that this template is for letters that require little or no spacing, such as lowercase a, o, and s, and uppercase A and L, while {{spaced prime}} is for letters such as lowercase d, f, and l, and uppercase C and T that require more space.