Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 See also  














Template:Prime






Dansk
فارسی

Bahasa Indonesia
Latina
Bahasa Melayu

Português
Српски / srpski
Tiếng Vit

 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


This template produces a prime symbol with leading space so it does not collide with a preceding italic character (such as produced by {{mvar}}). It is known by two names, {{′}} (which is shorter), and {{prime}} (which is easier to find on a keyboard). For example:

generates:

for comparison, without the leading space, in some browsers you end up with the prime symbol being almost indistinguishable from the ascender of the italic f:

The space provided is similar to {{'}} (a.k.a. {{apostrophe}}), used to provide a single quote with extra space, but provides the prime (minutes of arc) symbol instead of an apostrophe, and it can take the preceding letter into account when deciding how much space to add.

({{'}} has a second function which is not needed by {{prime}}: it ensures the apostrophe is not interpreted as wiki markup. For example, it can be written immediately after the wiki markup for italics as ''{{'}}, without being interpreted as wiki markup for bold '''.)

Note that, although Greek letters are supported, it currently does not work with the corresponding HTML entities like α.

The extra space is most needed after tall letters which, in italic, extend far to the top right. Here is a table illustrating various combinations, to help decide:

Italic text {{mvar}} Italic text {{mvar}}
{{}} {{}} {{}} {{}}
aA aA aA aA nN nN nN nN
bB bB bB bB oO oO oO oO
cC cC cC cC pP pP pP pP
dD dD dD dD qQ qQ qQ qQ
eE eE eE eE rR rR rR rR
fF fF fF fF sS sS sS sS
gG gG gG gG tT tT tT tT
hH hH hH hH uU uU uU uU
iI iI iI iI vV vV vV vV
jJ jJ jJ jJ wW wW wW wW
kK kK kK kK xX xX xX xX
lL lL lL lL yY yY yY yY
mM mM mM mM zZ zZ zZ zZ

Lower-case f, l, and upper-case T are the worst cases; they require the full 0.15em of space. Other letters like j and V need some space, but not as much. And letters like o, A and L look worse with any extra space. Unfortunately there's no HTML equivalent of TeX's \/ italic correction, so this uses a crude approximation (from {{Italics correction/calc}}) which does not take the user's font into account.

See also


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Prime&oldid=1112666275"

Category: 
Quotation mark templates
Hidden categories: 
Wikipedia template-protected templates
Templates not safe for use in citation templates
 



This page was last edited on 27 September 2022, at 12:41 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki