Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
avoyance
Posts: 13 Joined: Sun Feb 13, 2011 1:53 am
Post
by avoyance » Thu May 19, 2011 1:13 am
Is there any difference between typing
and
?
NEW: TikZ book now 40% off at Amazon.com for a short time.
frabjous
Posts: 2064 Joined: Fri Mar 06, 2009 12:20 am
Post
by frabjous » Thu May 19, 2011 1:44 am
I assume you mean with both in math mode? Yes, they're different. Try it and see. \acute{} inserts an accent mark, and ' indicates a "prime" symbol (same as ^\prime, I believe).
avoyance
Posts: 13 Joined: Sun Feb 13, 2011 1:53 am
Post
by avoyance » Thu May 19, 2011 2:40 am
frabjous wrote: I assume you mean with both in math mode? Yes, they're different. Try it and see. \acute{} inserts an accent mark, and ' indicates a "prime" symbol (same as ^\prime, I believe).
' also gave a prime symbol
frabjous
Posts: 2064 Joined: Fri Mar 06, 2009 12:20 am
Post
by frabjous » Thu May 19, 2011 4:10 am
Yes, that's what I wrote. ' gives a prime symbol. \acute{} does not. Anyway, there's nothing easier than checking it yourself.
avoyance
Posts: 13 Joined: Sun Feb 13, 2011 1:53 am
Post
by avoyance » Thu May 19, 2011 7:13 am
frabjous wrote: Yes, that's what I wrote. ' gives a prime symbol. \acute{} does not. Anyway, there's nothing easier than checking it yourself.
I concluded that there is no difference using T^\prime and T^{\acute{}}
but it is actually best to use T'
frabjous
Posts: 2064 Joined: Fri Mar 06, 2009 12:20 am
Post
by frabjous » Thu May 19, 2011 9:12 pm
avoyance wrote: I concluded that there is no difference using T^\prime and T^{\acute{}}
but it is actually best to use T'
I cannot see how you could have concluded that. The difference is palpable.
This code:
Code: Select all
\documentclass[12pt]{article}
\usepackage{amsmath}
\begin{document}
\Huge
$T'$ and $T^\prime$ and $T^{\acute{}}$
\end{document}
Yields this:
ts.png (3.31 KiB) Viewed 5316 times
Surely you can see the difference between the first two on one hand, and the last one, on the other?
avoyance
Posts: 13 Joined: Sun Feb 13, 2011 1:53 am
Post
by avoyance » Fri May 20, 2011 12:03 am
This code:
Code: Select all
\documentclass[12pt]{article}
\usepackage{amsmath}
\begin{document}
\Huge
$T'$ and $T^\prime$ and $T^{\acute{}}$
\end{document}
Yields this:
ts.png
Surely you can see the difference between the first two on one hand, and the last one, on the other?[/quote]
so...which one is the correct way to type the usual T'?
presumably
$T'$ and $T^\prime$ and $T\acute{}$ should get the same?
frabjous
Posts: 2064 Joined: Fri Mar 06, 2009 12:20 am
Post
by frabjous » Fri May 20, 2011 1:57 am
I would just write T' unless you have a special reason to prefer one of the others. The \acute command is usually used with an argument (e.g, \acute{a}) to put an accent *over* a character. If you're not doing that, I'd avoid \acute{}.