{numbering} is about numbering document elements. Use this tag in addition to other tags specifying what should be numbered (or have its number removed). For {page-numbering} or {line-numbering}, use the respective tag instead.

learn more… | top users | synonyms

11
votes
1answer
11k views

Replace or remove bibliography numbers

I'm using a simple bibliography like this ... \nocite{*} \bibliographystyle{acm} \bibliography{refs} ... and I would like to either replace the numbers ([1], [2], ...) in front of each reference ...
11
votes
1answer
207 views

Change subsection number increment from .1 to .01 -eg 1.02,1.03, etc

As the title states, I would like the subsections to increment by .01 instead of .1. Any help would be greatly appreciated. thank you. \documentclass[]{article} \begin{document} \title{APA ...
11
votes
1answer
1k views

Continuous numbering of figures and tables

I want the figures and tables to be numbered 1, 2, 3, ... until the end of the document instead of 1.1, 1.2, ... in chapter I, 2.1, 2.2, ... in chapter II and so on. I know how to convert the ...
11
votes
2answers
1k views

Reset the counter of references in each chapter

I am currently busy with writing my PhD book in LaTeX. I want to have separate references list at the end of each chapter. Thanks to my colleague, we have added some line for this purpose and it ...
11
votes
1answer
232 views

How to build one efficient alpha numbering?

Seeing this post, I'm looking for one good solution for alpha numbering. For my point of view, the way the numbering must be displayed depends on the maximum of the numbers. If MAX = 26, then the ...
11
votes
2answers
795 views

A theorem and its proof in different places

I have a couple of theorems, proofs of which are quite boring and longish. I would like to place theorem formulations in a usual place and stack up the proofs at the end of the chapter. How to do ...
11
votes
1answer
4k views

Labeling a Footnotemark

Is there a way to label a \footnotemark instance (without redefining the \footnotemark macro)? Labeling the \footnotemark has no effect (it labels whatever environment the command is invoked from) and ...
11
votes
1answer
1k views

listings package: no numbering in case the code has only one line

I have a custom style in lstlisting with numbers on the left and the number step is set every line. I would want to know how the listings could appear without number in case the listing has only one ...
11
votes
1answer
459 views

showonlyrefs and cleveref

This question led to a new package: autonum I know that cleveref is not compatible with showonlyrefs as it says in the cleveref manual. But I have a book-length document that depends on ...
10
votes
3answers
374 views

Transforming numbers to \alph numbers

Is it possible to have a simple command \makeAlph which would do the following : return a when it receives 1 return b when it receives 2 etc. return nothing (or whatever ; actually that's not ...
10
votes
2answers
6k views

Numbering \subsubsection in report class

I used the \subsubsection command hoping that LaTeX would add a subsection inside a section \subsubsection{sub sub section} But it just made the text within the {} bold. It did not give it a ...
10
votes
3answers
3k views

How to Make Theorems and Equations Share Numbering

How do I make theorems and equations share numbering? The default numbering system goes like this: Theorem 1. Blah blah blah... 1=0+1 (1) Theorem 2. More blahs... Theorem 3. No more ...
10
votes
1answer
607 views

More than 26 appendices

For my thesis I have a document that contains more than 26 appendices. The appendices 1 up to 26 are are alphabetical numbered as A up to Z. However at the 27th appendix I get an error (although I ...
10
votes
1answer
2k views

How can I number paragraphs (and sections) in the margin?

I am (still) trying replicate the layout of this document. Sections and paragraphs are all numbered, in the margin (the chapter titles do not treat this as a margin, but I can ignore that). They are ...
10
votes
2answers
843 views

Numbering subsections in one section only

I have a document in which I generally do not want to number the chapters, sections and subsections. Only one section should contain roman numbered subsections, how do I achieve that? I tried ...
10
votes
1answer
6k views

Reset section numbering between unnumbered chapters

The document I'm writing using report class has 2 unnumbered chapters. The sections of the 2nd chapter are numbered following the numbering of the sections of the 1st chapter, like this: MY FIRST ...
10
votes
2answers
603 views

Section based linguistic example numbering with brackets

I would like to have examples in my document look like this: Section 2 (2.1) This is an example. This is a reference to example (2.1). That is: the section number appears both next ...
10
votes
3answers
500 views

Nested footnotes disrupts comma delineation of footnotes

A solution that resolves LaTeX's inability to properly number nested footnotes has the side effect of abolishing comma delination of sequential footnotes (a feature provided by the footmisc package), ...
10
votes
2answers
649 views

Using circled numbers for answer choices in exam document class

I'm using the exam document class for an exam with a multiple choice section. To match the appearance of the scantron form, I'd like to use circled numbers in the choices and oneparchoices ...
10
votes
5answers
2k views

Moving the equation number up

In what's below, the equation numbering is annoying and forcing it to move up would be a solution. Anyway what are your suggestions to fix this without modifying the equations? ...
10
votes
1answer
540 views

Bad position equation number Lualatex

If a math display is too wide, then the \eqno appears on the next line on the left instead of on the right as it should. Does anyone know how to solve this problem? This is an example: ...
10
votes
1answer
322 views

When using longtable, my table counter starts from 2 rather than 1. Why?

When using longtable, my table counter starts from 2 rather than 1. Why? \documentclass[12pt]{article} \usepackage{xcolor} \usepackage{array,booktabs,longtable} %\extrarowheight5pt ...
10
votes
2answers
444 views

Automatically number inequalities

I have a long chain of inequalities and I would like to add some explanation for some of the steps under those inequalities. I have seen people do this like \stackrel{(i)}{\leq}. This is what I would ...
10
votes
1answer
642 views

How do I get the numbers for theorems, lemmas, examples, etc. before the type?

I am using the article document class with amsthm. I would like number the theorems/corollaries/examples, etc., consecutively as follows: 1.1 Theorem 1.2 Example 1.3 Example 1.4 ...
10
votes
2answers
2k views

Listings: different counters for different listing environments

How do I create two lstlisting environments that each have its own counter? If I use for example \lstnewenvironment{algorithm}[2]{ \renewcommand\lstlistingname{Algorithm} \lstset{ ... } } ...
10
votes
2answers
398 views

equation, equation number and itemize bullet all on the same line

I think the following sample says it all. I need to get the item bullet in the right place on the same line as the equation, and have this followed by an normal equation number. Someone asked the ...
10
votes
1answer
5k views

Theorem numbering as chapter.section.subsection.theorem number

This might be a simple question but it's weird that I couldn't find the answer anywhere on the internet. If I set as \newtheorem{-}{-}[section] then I get the numbering as Theorem ...
10
votes
2answers
1k views

How to make page numbering with ligature roman style?

I use roman page number for front matter, I was just wondering, is it possible to make these roman numbers as ligature? See. Roman: and roman:
10
votes
1answer
596 views

How to number floats in sequence with theorems?

I like having all my theorems, examples, defintions etc. numbered in a single sequence. Is it possible to have LaTeX number my floating figures in sequence with them as well? I.e.: Theorem 1.1 A ...
10
votes
1answer
71 views

Automatically number a word in description if used at least twice

I defined an environment with description which automatically numbers the bold words if they appear twice or more often in an \item[]. So far it works fine, but I cannot add a 1 to the first word, if ...
10
votes
1answer
1k views

Changing number format in ToC

I'm using the tocloft package to alter the looks of my table of contents, but there's one thing I can't find in the documentation: splitting the number by level, to insert other delimiters than ".". ...
10
votes
1answer
1k views

Numbers and programming code

This happens when I use programming code and enumeration, how can I add a gap between the numbering and the line numbers of the code. I'm using this in LaTeX Preamble: \usepackage{listings} ...
9
votes
3answers
811 views

How can I number a few equations together

i would like to write few equations, but all the equations will get only once numbered and in the middle (right side) of the equations. e.q. if i write 3 equations, the number will be to the right of ...
9
votes
3answers
284 views

How to set a counter like this?

I want to set a counter like picture I only can do \documentclass[a4paper, 12pt]{article} \usepackage{fouriernc} \usepackage{amsmath}\usepackage[thmmarks,standard,thref]{ntheorem} ...
9
votes
3answers
134 views

Making the “Part 1” disappear in \part format

I am making a bank of exercises for a course. To do this, I use the exam class, which uses the same sectioning as the article class. To do this, I have a separate .tex files with the questions, ...
9
votes
2answers
5k views

Hide section numbers, but keep numbering

How do I hide section number in section heading ? I can't just use \section*{xxxx}, because I want subsections numbered correctly. I also tried : \section*{xxxx} \stepcounter{xxxx} Which hides ...
9
votes
2answers
3k views

How can I change the colour of my document's section numbering?

I know how to change the colour of a section name using for example \section{\color{Red} Foobar} but that still leaves the section number in black. Is there any way to change the colour of the ...
9
votes
3answers
353 views

Numbering a set of horizontally distributed equations

Having different horizontally distributed equations inside an align environment, only lines are numbered, but not individual equations. How can the left equations be numbered using subequations? ...
9
votes
3answers
4k views

Resetting theorem counters: \section and (missing) \subsection

Suppose I define a new theorem "Theorem" and declare that its counter should be reset whenever the subsection counter is incremented or reset: \newtheorem{theorem}{Theorem}[subsection] At some ...
9
votes
2answers
8k views

One chapter without numeration

How can I make one chapter (Introduction) without number? I have: \documentclass[12pt,a4paper]{mwrep} \chapter{Introduction} \chapter{Chapter 1} \chapter{Chapter 2} In ToC I have: ...
9
votes
3answers
2k views

How to change the chapter number to display as text (One, Two, …)?

In LaTeX, how do I change the chapter number to display as text? eg: CHAPTER ONE not CHAPTER 1; CHAPTER THIRTEEN not CHAPTER 13.
9
votes
1answer
3k views

how to enumerate theorems using letters?

how to enumerate theorems using letters?
9
votes
2answers
501 views

How do I use simple integer numbering for subsections?

I want to use a list of \subsection elements numbered "1", "2", "3", "4"... but by default they're numbered "0.1", "0.2", "0.3", "0.4". How do I do this?
9
votes
1answer
3k views

How can I add numbers to specific equations in an eqnarray*?

I know how to use \nonumber or \notag in \begin{eqnarray} \end{eqnarray} environment. But is there something like \addnumber or \addtag in \begin{eqnarray*} \end{eqnarray*} environment ? For ...
9
votes
2answers
196 views

Using memoir, how do I number paragraphs?

I am trying to implement paragraph numbering with memoir. I would like the numbers to be in the outside margin, flush against the text block, and vertically aligned with the first line of the ...
9
votes
1answer
337 views

Negative numbers being assigned to figures

I am using pdflatex distribution. I have many figures in the my latex document. For some reason the numbering stars from Figure 1 ,then Figure 2. It then goes to Figure 0, -1, -2 and so on. The ...
9
votes
1answer
442 views

How can I reset the chapter number from zero with memoir?

I'm working with memoir class, the first chapter was numbering (chapter 1) but I would like numbering it from zero... how can I do this?
9
votes
1answer
144 views

How do I set up sections to be padded with leading 0s?

I am formatting a document for someone, and he wants each section number to be three digits long, starting with 000, and with padding zeros when needed. I found a similar question, and tried to ...
9
votes
1answer
2k views

\nameref — How to display section name AND its number

Is it possible to make \nameref display not only the title of the section but also its number? \section{First Section} \label{sec:some_sec} \subsection*{Unnumbered subsection} \label{sec:subsec} ...
9
votes
2answers
377 views

How to add a counter to beginning of each sentence like the Bible?

1 In the beginning God created the heaven and the earth. 2 And the earth was without form, and void; and darkness was upon the face of the deep. And the Spirit of God moved upon the face of the ...