Template:Spaced prime/doc: Difference between revisions
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 preceding '''bold''' (<code><nowiki>'''</nowiki></code>) or ''italic'' (<code><nowiki>''</nowiki></code>) characters. | 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|-´}} The {{w|acute accent}} ([https://www.compart.com/en/unicode/U+00B4 U+00B4]) is used since {{plaincode|<nowiki>{{'}}</nowiki>}} and {{plaincode|<nowiki>{{`}}</nowiki>}}, the straight apostrophe-quote and grave accent (respectively), are used to escape the apostrophe. | ||
=== Usage === | === Usage === | ||
| Line 9: | Line 9: | ||
! You get | ! You get | ||
|- | |- | ||
| <code><nowiki>''T''{{- | | <code><nowiki>''T''{{-´}}</nowiki></code> | ||
| ''T''{{- | | ''T''{{-´}} | ||
|} | |} | ||
=== 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. | ||
Revision as of 17:13, 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.
|
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.