You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@godbyk: I'd be strongly against that. Text and maths is the bread and butter of LaTeX, and $i^\text{th}$ is perfectly readable. Every new macro carries a heavy mental cost and needs to be carefully justified: readers need to know what it means, writers need to remember to use it, and the more trivial the subject the more arbitrary the macros become. We also don't define macros for the behavior is undefined, say, even though that's a much more common phrase. Macros shouldn't just zlib-compress the text, they should factor out conceptual units.
@tkoeppe My proposed macro isn't about compression or saving a few keystrokes; it's about ensuring consistency.
I propose that it's easier for an author less accustomed to LaTeX and the finer points of typesetting to remember \ith than $i^\text{th}$. After all, if everyone naturally typed $i^\text{th}$, this bug report wouldn't exist.
Macros also offer more flexibility when it comes to changing styles. If you later decide that $i\text{th}$ is better than $i^\text{th}$, for instance, you must only change it in one place.
A better counter-argument would be, “What about $j^\text{th}$ and 10000^\text{th} and $\tcode{I}^\text{th}$?” And for that I'd still recommend a macro that appends th. For example:
\let\thorn\th% stealing \th for our own purposes\def\th{\ensuremath{{}^\text{th}}}
$i\th$\qquad\tcode{N}\th\qquad 7\th
Activity
tkoeppe commentedon Mar 18, 2016
If you're going with the maths notation, then it should be
$i^\text{th}$.[pairs.pair], [tuple.tuple] Tidy up presentation of member functions …
tkoeppe commentedon Nov 29, 2016
Following 48efdfe, there's still work left to be done in the later parts of [tuple.tuple].
tkoeppe commentedon Dec 14, 2016
(I've been following my recommended style on and off when I happen across relevant text, though I haven't actively sought them out.)
godbyk commentedon Dec 20, 2016
@tkoeppe Would it be better to create an
\ithmacro to help ensure consistency?tkoeppe commentedon Dec 20, 2016
@godbyk: I'd be strongly against that. Text and maths is the bread and butter of LaTeX, and
$i^\text{th}$is perfectly readable. Every new macro carries a heavy mental cost and needs to be carefully justified: readers need to know what it means, writers need to remember to use it, and the more trivial the subject the more arbitrary the macros become. We also don't define macros forthe behavior is undefined, say, even though that's a much more common phrase. Macros shouldn't just zlib-compress the text, they should factor out conceptual units.godbyk commentedon Dec 21, 2016
@tkoeppe My proposed macro isn't about compression or saving a few keystrokes; it's about ensuring consistency.
I propose that it's easier for an author less accustomed to LaTeX and the finer points of typesetting to remember
\iththan$i^\text{th}$. After all, if everyone naturally typed$i^\text{th}$, this bug report wouldn't exist.Macros also offer more flexibility when it comes to changing styles. If you later decide that
$i\text{th}$is better than$i^\text{th}$, for instance, you must only change it in one place.A better counter-argument would be, “What about
$j^\text{th}$and10000^\text{th}and$\tcode{I}^\text{th}$?” And for that I'd still recommend a macro that appends th. For example: