Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 127547
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T05:29:38+00:00 2026-05-11T05:29:38+00:00

Given a bunch of paragraphs: Para. A … Para. B … Para. C …

  • 0

Given a bunch of paragraphs:

Para. A ...  Para. B ...  Para. C ... 

How can one have LaTeX automatically number them, i.e.

1. Para. A. ...  2. Para. B. ...  3. Para. C. ... 

I’ve seen the following suggested:

\newcounter{parnum} \newcommand{\N}{%    \noindent\refstepcounter{parnum}%     \makebox[\parindent][l]{\textbf{\arabic{parnum}.}}} % Use a generous paragraph indent so numbers can be fit inside the % indentation space. \setlength{\parindent}{2em} 

From here: comp.text.tex: Re: How do I number paragraphs in LaTeX?

Then use \N in front of every paragraph-to-be-numbered, i.e.

\N Para. A. ...  \N Para. B. ...  \N Para. C. ... 

I’ve also seen references to Sarovar and numberpar, but both are referred to as ‘unstable’ or ‘unpredictable’, and things like ‘randomly breaks’, which makes me wary.

I’d like some input on what may be the best course of action, here, and I think it’s a topic worth some discussion.

Thank you for your interest and attention to this.

EDIT: I’ve tried the following

\begin{enumerate} \item Para No. 1 \item Para No. 2 ... \end{enumerate} 

However it results in typesetting problems, notably because I am interspersing section headings ala.

\begin{enumerate} \item Para No. 1 \item Para No. 2 \section{Part II} \item Para No. 5 \item Para No. 6 ... \end{enumerate} 

and the section heading ‘Part II’ will sometimes end up at the very bottom of the page (i.e. it doesn’t keep with the following text).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T05:29:39+00:00Added an answer on May 11, 2026 at 5:29 am

    I think there are three possible solutions (at least!) which don’t involve rolling your own or someone else’s macro, depending on exactly what you are trying to do.

    1 If the numbering is required throughout the document, use \paragraph, which is a lower-level sectioning command (like \chapter, \section, \subsection, etc.)

    See the LaTeX wikibook for more information.

    \setcounter{secnumdepth}{5} ... \paragraph{If we want to} do something ...  

    (You may find this overkill/ugly, because it needs a properly nested structure of sections and subsections not to be)

    Note that if your using the memoir document class (which I recommend unhesitatingly), the \setcounter line becomes \maxsecnumdepth{paragraph}

    2 If it’s just a small piece, use a list:

    \begin{enumerate} \item Para No. 1 \item Para No. 2 ... \end{enumerate}  

    3 Or a generalized list (\begin{list}...\end{list{}) if you want to tweak the formatting. I haven’t immediately been able to find a good online reference for this, other than the piece in A Guide to LaTeX

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a database with a bunch of dates. I would like to, given
In two dimensional space, given a bunch of rectangles, every rectangle covers a number
I have a bunch of courses and each course has a different number of
I have a whole bunch of files that my new client's given me, he
Given a bunch of keys and their hashed values, how can I determine the
I queued up a bunch of jobs given each one an id that gets
Given the following code in RUBY, I need to loop through a bunch of
I have a listView displaying a bunch of graphs. I can sort this listview
Given a ruby script with a bunch of functions, how can you unit test
In a given container, I have a bunch of links with another element inside

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.