I'm working on a daily journal and I want every \chapter number to contain an ordinal indicator (st, nd, rd etc.). See attached picture as an example (I marked in red what I'm looking for). Is there a way for this to work in LaTeX? So for every chapter, LaTeX should output the ordinal indicator based on the number. So for chapter "2" it will be "2nd" and for "330" it will be "330th".

enter image description here

\geometry{margin=0.5in,bottom=0.70in, top=0.50in, bindingoffset=0.2in}
\usepackage{blindtext} % tor the example text

%%% Chapter Heading %%%
\def\thickhrule{\leavevmode \leaders \hrule height 0.5ex \hfill \kern \z@}
%% Note the difference between the commands the one is 
%% make and the other one is makes
  {\parindent \z@ \position \reset@font
        {\huge \scshape \thechapter}
        {\large \bfseries #1\par\nobreak}
        \vskip 10\p@


\chapter{Title name}


2 Answers 2


I suggest you employ the machinery of the fmtcount package to achieve your formatting goal for chapter numbers.

enter image description here

How to "decorate" the chapter header further is a topic best left to another package, such as the titlesec package.


\usepackage{fmtcount}             % for "\ordinal" macro
\fmtcountsetoptions{fmtord=level} % don't raise the ordinal indicator


\chapter{Title name}

Addendum: The fmtcount package can provide ordinal numbers not just for English-language documents, but for quite a few other languages as well, and even for dialect forms within a given language. If you don't need this sophistication, you could load the engord package (presumably with the option normal) instead and replace \ordinal{chapter} with \engord{chapter} in the third argument of \patchcmd.

  • 1
    Good to know! +1
    – Zarko
    Commented Feb 27, 2023 at 7:01

The memoir class (a superset of the book class) provides for both ordinal and cardinal numbers. Read the documentation, section 18.14 Number Formatting.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .