I have the following:



\mypara This is my paragraph.


This solution is from this question which incorporates the numbering at the beginning of the paragraph. However, I would like to have the numbering like so:Desired result Notice the numbering is on the right and outside of the paragraph itself.

Thank you in advance and have a wonderful day! (The image was blurred due to legal reasons.)

  • You could probably get marginnote or a similar package to work … ?
    – Ingmar
    Apr 24, 2023 at 11:09
  • This worked, thank you! Sometimes though the paragraph number stays on one page even though the first line of the actual paragraph is on the next. This can be kind of solved by using \pagebreak.
    – Koroks
    Apr 24, 2023 at 16:17

1 Answer 1


Use \rlap at the beginning of the paragraph:

   \global\advance\paranum by1
   \noindent \rlap{\kern\hsize\rlap{\quad\the\paranum}}\indent

\para This is my paragraph.

You must log in to answer this question.

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