Linked Questions

11
votes
1answer
28k views

Typesetting “nth” in LaTeX [duplicate]

Possible Duplicates: What's the quickest and easiest way to write “2nd” “3rd” etc in LaTeX 1st, 2nd and i-th? Is there a standard/best practice for ...
1
vote
0answers
90 views

What is the correct way to write the abbreviation of “the first”? [duplicate]

I want to write 1st. What is the correct way to do so? 1\textsuperscript{st} \mbox{1\textsuperscript{st}} \mbox{1$^\text{st}$} $1^\text{st}$
157
votes
12answers
26k views

Contest: Show Off Your Skillz in TeX & Friends [TeX.sx birthday]

Submission Deadline and Voting are over, thank you for participating! Results Academic Gonzalo Medina – 31 Andy – 19 cmhughes – 11 mbork – 6 Other Yiannis Lazarides – 38 szantaii – 20 Ant – 15 ...
137
votes
2answers
21k views

Drawbacks of xspace

I'm certain I have read that xspace can cause more problems than it solves. But I cannot find anything to that effect either on this site or the web. Are there any drawbacks or risks associated with ...
29
votes
3answers
44k views

1st, 2nd and i-th?

Assume I wish to refer to the i-th object, or the n-th function out of some set, where i and n are letters and not numbers (as in "Multiply the $j$th row with the $i$th column and store the result in ...
15
votes
3answers
71k views

How to draw two \hline and two vertical line?

I want to draw a table with two \hline and two vertical line. But as shown in the figure, the first vertical line do not cross the two hline. How to solve this problem? \documentclass{article} \...
5
votes
2answers
822 views

how to write 1st 2nd 3rd … in siunitx

The title says it all ;-) I would like to be able to something like \SI[certain-number]{18}{\winner} or something like that and get ``18'th winner'' in return Edit: added use case scenarios I ...
11
votes
2answers
509 views

Macro to generate ordinal words from numbers?

Is there a macro available that will turn "1" into "first", "2" into "second", etc. Let's call this macro "wordth". Then, for example, if item number 2 in an enumerate environment is labeled by \...
3
votes
3answers
507 views

Edit \today in such a way that it displays 1st/2nd/3rd/4th, etc. Month Year

I have found questions where \today has been edited – but in such a way which I do not want to have. Yet, I do not know how to programme it. If I write \today, I do not want to see something like ...
4
votes
2answers
1k views

How to change parameters for \textsuperscript{} in french?

I try to put \textsuperscript{ère} with Roman digits everywhere in document but as I understood the command \textsuperscript{} in French makes effect for all symbols except of "è"? This solution ...
11
votes
2answers
360 views

How to find the previously printed character?

Is there a way to find the previously printed character in LaTeX? E.g: \newcommand{\th}{% \ifthenelse% {\equal{\previouscharacter}{1}}% {st}% {th}% } 4\th and 21\th % would like to ...
6
votes
2answers
706 views

Evaluate \arabic inside \nth (1st, 2nd… in lists)

I'm trying to define the following environment: \newlist{aims}{enumerate}{1} \setlist[aims,1]{ label={~ \textbullet ~ ~ ~ ~ ~\nth{\arabic*} best ~~~ =}, leftmargin=*, align=left, ...
4
votes
4answers
411 views

Ordinal numbers with small, elevated superscript that don't go above character?

I've used \textsuperscript to represent ordinals like 1st, 2nd, and so forth. Other post here about this: What's the quickest way to write "2nd" "3rd" etc in LaTeX? The ...
3
votes
1answer
34 views

Book edition string for APA style of biblatex in Spanish

I am using the APA style of biblatex for a document written in Spanish. Here is a MWE: \documentclass{article} \usepackage{filecontents} \usepackage[spanish]{babel} \begin{filecontents}{\jobname.bib}...