{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

14
votes
2answers
13k views

Difference between (split, align) and (gather, aligned)?

Here is an MWE which shows that they seem to do the same thing. Is there any reason to prefer one over the other for typesetting groups of equations? I would prefer the align syntax because it allows ...
14
votes
2answers
13k views

Table of Contents or TOC lines without page numbers

Is it possible to create a TOC (table of contents) with \sections and \subsections, but without the page numbers on the right hand side? I know this defeats the purpose of a TOC but for knowledge's ...
14
votes
6answers
7k views

ToC numbering problem

My LaTeX document is acting strangely. Here is a simplified version of it: \documentclass{article} \begin{document} \tableofcontents \newpage \addcontentsline{toc}{part}{A Part of My Document} \...
14
votes
3answers
3k views

Number exercises according to chapter

I'm using the exercise package together with memoir class. How do I number my exercises according to chapter number, in the same way that display equations are numbered? Here's a minimal example \...
14
votes
3answers
1k views

Setting arbitrary chapter values

Friends, a colleague of mine showed me a book with a intriguing chapter structure: I was wondering how we could achieve something similar. I understand that this unusual numbering will break the ...
14
votes
1answer
8k views

How can I position equation numbers always to the left side?

Equations and amsmath environments put equation numbers to the right side by default, the output of \begin{multline} some equation \end{multline} is: equation (number) How can I change it this ...
14
votes
1answer
23k 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 ...
14
votes
1answer
685 views

Theorem with separate tikz environments for header and body

My initial question: I'm writing my lecture notes in LaTeX and used some customized theorem environments with amsthm so far. Now I wanted to redesign those theorems with help of tikzpicture. That's ...
14
votes
1answer
494 views

“\thechapter” as prefixnumbers for bibliography with biblatex

I have a huge document and would like to do the following with biblatex: Have one (actually, several) seperate bibliography for each chapter. Add a prefix to each citation number to make them ...
14
votes
1answer
939 views

Put equation numbers in the sidemargin with Tufte-Latex class

In Tufte-Latex all captions etc. are in the side margin. I want to put the equation numbers there as well. Is it possible to do this?
14
votes
1answer
740 views

How to have both symbolic footnote (counters reset per page) and numeric footnote (numbering never resets) threads on top of each other?

I would like two footnote threads: one that uses traditional American footnote symbols (such as *†‡§¶‖) and whose counter is reset every page one that uses continuous (Arabic numeral) numbering ...
14
votes
1answer
10k 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 ...
13
votes
3answers
1k views

Hooking every line of the source code

I've been considering a more radical solution to the problem k.t.hagen posed a while back. Would it be possible (perhaps by catcode hijacking) to put hooks on individual lines of the source code? (...
13
votes
3answers
1k views

Numbering theorem-like environments

I would like all my theorem-like environments (theorem, example, etc.) to be numbered but such that the number appears before the environment's name, more or less like this: 1. Theorem 2. Example ...
13
votes
1answer
244 views

Defining a counter

I'm trying to define a new counter which does the following: \documentclass[10pt]{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{array} \usepackage{tikz} \usepackage{longtable} \...
13
votes
1answer
1k views

Adding multiple paragraphs between aligned equations

Some people have asked about how to add multiple paragraphs (when \intertext and \shortintertext no longer work), a fix was proposed by Peter Grill here: He wrote: My first thought was to hack ...
13
votes
5answers
4k 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? \documentclass[11pt]{...
13
votes
1answer
3k 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 "...
13
votes
1answer
2k 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:
13
votes
1answer
611 views

Change format of hyperref generated PDF bookmarks

In a generic way, how can I change the format of bookmarks generated automatically by hyperref (or bookmark)? By generic, I mean the ability the customize the bookmark format for part, chapter, ...
13
votes
2answers
353 views

French section numbering using bis, ter, etc

I'm in the process of transcribing an old French engineering text (circa 1890) that uses a somewhat non-standard section numbering. As I am attempting to make a more-or-less verbatim copy, it is ...
12
votes
3answers
868 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 ...
12
votes
2answers
4k views

How can I make LaTeX number my quotes

I would like to number the quotations that appear in my document. I like what LaTeX does with the equation environment, and would like something similar, so that if I had typed \begin{quote} Quote ...
12
votes
2answers
8k views

Ignore citations in captions in list of figures when numbering

When using the \cite command in figure captions and the ieeetr bibliography style, then BibTeX numbers the citations as appearing earlier than they do in reality (i.e. the first citation in the ...
12
votes
3answers
22k views

How can I add abstract and acknowledgement pages into the table of contents?

I followed Mike's solution from my first question: Roman numeral page numbering My next question is how to add entries (for the abstract and acknowledgements pages) into the table of contents.
12
votes
2answers
2k views

How do I produce Theorems and equations which are numbered by hand?

I'd like to be able to write a LaTex document with numbered theorems and equations, but I would like not to have them numbered automatically, but rather put in by hand. Ideally, I'd like to be able ...
12
votes
3answers
24k views

LaTeX locally change equation numbering

I want my document to look like this: Normal document text. equation (1) Definition Definition text. equation (D1) More definition text. Normal ...
12
votes
2answers
5k 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 ...
12
votes
2answers
7k views

How to remove “zero” preceding section number?

\documentclass[11pt]{book} \usepackage[svgnames]{xcolor} \makeatletter \let\stdl@section\l@section \renewcommand*{\l@section}[2]{% \stdl@section{\textcolor{blue}{#1}}{\textcolor{blue}{#2}}} \let\...
12
votes
2answers
13k views

How to change the numbering for different figures?

Let's say I have two standard figures and two supplementary figures. If I change the name of figure using \renewcommand{\figurename} the figure counter will still count all figures continuously (i.e. ...
12
votes
2answers
310 views

Delete commas within numbers

To use package{calc} for calculation, number should not include any commas. So I tried to use \def\commatonone #1,#2.00 {#1#2} to get the number without commas. \documentclass{article} \usepackage{...
12
votes
2answers
4k views

How to skip an \item in sub-enumerate level

I would like to skip an \item in a sub-enumerate level. More specifically, I want the output to look something like: 1. a) b) e) f) etc. 2. However, when I use \...
12
votes
5answers
3k views

Wrong reference number for subfloat

I am trying to reference a subfigure in my text but it is numbered incorrectly. Here is a minimal working example: \documentclass{scrartcl} \usepackage[demo]{graphicx} \usepackage{subfig} \begin{...
12
votes
5answers
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.
12
votes
1answer
1k views

Infinite-depth list

I want to create a command set that allows me to do something like \nestedlist{ \listitem An item \sublist{ \listitem A sub item \listitem Another sub item } } and get An item 1.1 A ...
12
votes
1answer
16k views

Numbering of subsections in the appendix

I trying to write an appendix where: The appendix is considered a section, and has the title "appendice" Subsections are numbered with letters (it does it for sections by default) but I can't get ...
12
votes
2answers
8k views

Change appearance of equation numbers locally

In the MWE below, I would like to have the equation numbers in the Chapter "Appendix" (but only there!) being displayed as follows: (A.1), (A.2), (A.3) ... \documentclass{book} \usepackage{amsmath}...
12
votes
1answer
5k views

Adding section number after section title with titlesec package

I am having difficulty adding the section number after the section title. Normally the order is section number followed by section title. I want it to be the opposite. I am looking for what I should ...
12
votes
1answer
11k views

Reset equation numbering after each section

I would like to reset equation numbering after each section or subsection. Right now I use \setcounter{equation}{0} I saw in another page you could also reset it by adding the following line to the ...
12
votes
2answers
817 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 ...
12
votes
2answers
4k views

Figure subnumbering 1a

I'm wondering how to give subnumberings like "2a" and "2b" for separate floats. I know both the subfigure and subcaption packages do the subnumbering but they demand the subfigures be in a single ...
12
votes
1answer
1k views

Biblatex and citation reset between chapters

I have a feeling that there is an obvious answer to this question that I'm somehow managing to miss. However, I've tried most of the commands in the biblatex documentation and I still can't figure it ...
12
votes
2answers
1k 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 this?...
12
votes
0answers
202 views

“Chapter 2 1/2”: Custom Chapter Number [duplicate]

I'm copying to LaTeX my notes on Maths subject. My professor is quite weird, and "invented" a Chapter 2 1/2 (two and a half) between chapter 2 and chapter 3. For example: Chapter 2 Vector spaces and ...
11
votes
3answers
3k 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 ...
11
votes
3answers
25k views

Roman numerals for sections and subsections

I want to have my sections numbered using Roman numerals. However, I can only get the section number to be a Roman numeral, not the subsection. Here is some code: \renewcommand{\thesection}{\Roman{...
11
votes
4answers
4k views

Alternative symbol sets for footnote marks

The footmisc package describes 3 additional systems in which one can apply numbering to footnotes in a paper: bringhurst: ∗, †, ‡, §, ||, ¶. chicago: ∗, †, ‡, §, ||, #. wiley: ∗, ∗∗, †, ‡...
11
votes
1answer
2k 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 ...
11
votes
1answer
25k views

Using \newtheorem

Edited to include complete code, as suggested: Here is what the preamble of my main file looks like: \documentclass[12pt]{report} \usepackage{epsfig} \usepackage{upmathgrad2} \usepackage{...
11
votes
2answers
817 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?