Discussion:
Apostrophe in Latex?
(too old to reply)
Girish Sharma
2004-12-11 02:13:38 UTC
Permalink
Is an apostrophe made in Latex by just using a single quote in the input?
For example: John's shoes.
Scott Pakin
2004-12-11 02:35:10 UTC
Permalink
Post by Girish Sharma
Is an apostrophe made in Latex by just using a single quote in the input?
For example: John's shoes.
Yes. Doesn't it work when you try it? If not, then maybe your text
editor is inserting a "smart" (i.e., curly) quote instead of a straight
quote (ASCII character 39).

-- Scott
Girish Sharma
2004-12-11 05:22:54 UTC
Permalink
Post by Scott Pakin
Post by Girish Sharma
Is an apostrophe made in Latex by just using a single quote in the input?
For example: John's shoes.
Yes. Doesn't it work when you try it? If not, then maybe your text
editor is inserting a "smart" (i.e., curly) quote instead of a straight
quote (ASCII character 39).
-- Scott
Yes, it works. But I noticed some code that entered math mode and used
superscript accent marks. I was wondering what the standard way to do it is.

Thanks.
Arthur J. O'Dwyer
2004-12-11 23:21:31 UTC
Permalink
Post by Girish Sharma
Post by Scott Pakin
Post by Girish Sharma
Is an apostrophe made in Latex by just using a single quote in the
input? For example: John's shoes.
Yes. Doesn't it work when you try it?
Yes, it works. But I noticed some code that entered math mode and used
superscript accent marks. I was wondering what the standard way to do it is.
The "superscript accent mark" (straight, slightly diagonal tick) is
referred to in English as a "prime," as in "Take A-prime equal to A plus
one..." It is generally the right thing, in mathematical text.
If you really want an apostrophe glyph in math mode, try using package
'amsmath' and typing

The expression $A'$ has a prime;
the expression $A\text{'}$ has an apostrophe.

-Arthur

Continue reading on narkive:
Loading...