Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Quotation marks in English
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Non-language-related usage === Straight quotation marks (or italicised straight quotation marks) are often used to [[Typographic approximation|approximate]] the [[Prime (symbol)|prime]] and [[double prime]], e.g. when signifying feet and inches or [[arcminute]]s and [[arcsecond]]s. For instance, 5 feet and 6 inches is often written 5' 6"; and 40 degrees, 20 arcminutes, and 50 arcseconds is written 40Β° 20' 50". When available, however, primes should be used instead (e.g. 5{{prime}} 6{{pprime}}, and 40Β° 20{{prime}} 50{{pprime}}). Prime and double prime are not present in most [[code page]]s, including [[ASCII]] and [[Latin-1]], but are present in [[Unicode]], as characters {{unichar|2032|PRIME}} and {{unichar|2033|DOUBLE PRIME}}. The [[List of XML and HTML character entity references#Character entity references in HTML|HTML character entity references]] are {{Code|′}} and {{Code|″}}, respectively. Double quotation marks, or pairs of single ones, also represent the [[ditto mark]]. Straight single and double quotation marks are used in most [[programming language]]s to delimit [[String (computer science)|strings]] or literal [[character (computing)|characters]], collectively known as [[string literal]]s. In some languages (e.g. [[Pascal (programming language)|Pascal]]) only one type is allowed, in some (e.g. [[C (programming language)|C]] and its derivatives) both are used with different meanings and in others (e.g. [[Python (programming language)|Python]]) both are used interchangeably. In some languages, if it is desired to include the same quotation marks used to delimit a string inside the string, the quotation marks are doubled. For example, to represent the string {{samp|eat 'hot' dogs}} in Pascal one uses <code><nowiki>'eat ''hot'' dogs'</nowiki></code>. Other languages use an [[escape character]], often the [[backslash]], as in <code><nowiki>'eat \'hot\' dogs'</nowiki></code>. In the [[TeX]] typesetting program, left double quotes are produced by typing two back-ticks ({{Code|``}}) and right double quotes by typing two apostrophes ({{Code|''}}). This is a continuation of a typewriter tradition of using ticks for opening quotation marks; see {{section link|Quotation mark|Typewriters and early computers}}.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)