Template:Spaced prime/doc: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 2: Line 2:
This template produces a {{w|prime symbol}} ([http://www.compart.com/en/unicode/U+2032 U+2032] <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}} ([http://www.compart.com/en/unicode/U+2032 U+2032] <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|-´}} The {{w|acute accent}} ([http://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. Copy-pasting {{plaincode|<nowiki>{{-´}}</nowiki>}} is still significantly less messy than having to type out {{plaincode|<nowiki><span style="padding-left: 0.15em; white-space: nowrap;">′</span></nowiki>}} every time.
{{shortcut|-´}} The {{w|acute accent}} ([http://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.
 
Copy-pasting {{plaincode|<nowiki>{{-´}}</nowiki>}} is still significantly less messy than having to type out {{plaincode|<nowiki><span style="padding-left: 0.15em; white-space: nowrap;">′</span></nowiki>}} every time.


=== Usage ===
=== Usage ===