I cannot find any command available in a LaTeX package to produce the abbreviated version of the words second/seconde/seconds/secondes, when dealing with ordinals in French, as I would use for other ordinals like 3\ieme, for example. So far, I ended up defining
\newcommand{\cond}{\up{d}}
in my header, as suggested here. This produces the following rendering, for 2\cond in a beamer presentation for instance, which is fine:
But, first, I'm not quite sure then that it will always be consistently rendered with the other abbreviations for other (French) ordinals in the same document. Also, what I am looking for is not having to redefine this command in every single LaTeX file of mine, to make the call consistent with \ieme for the other ordinals. In 2014, it was pointed out here that LaTeX would lack the commands for these abbreviations. Is it still true?


fmtcountpackage withbabelwill do this for you I think. It provides an\ordinalmacro. – Alan Munn Dec 09 '21 at 00:032\up{d}is the same number of characters as\second. I could see a desire to have2\up{d}automatically show up in anenumerateenvironment, but that doesn't seem to be what you're wanting. Maybe I'm not understanding what you mean by "self-defined". You talk about (re)defining this in all of your LaTeX files, which seems unavoidable (unless you have a personal package you've included everywhere), but then on an answer you remark about an argumentless command to produce the abbreviation. How are you intending to use this in a document? – Teepeemm Dec 10 '21 at 15:39