{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

12
votes
1answer
4k 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
8k 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 ...
12
votes
1answer
2k 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 ...
12
votes
1answer
922 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
1answer
423 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, ...
12
votes
2answers
877 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 ...
12
votes
0answers
191 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
4answers
3k 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
9k views

Getting section numbering to start at 0

\documentclass[11pt,a4paper]{article} \usepackage[T1]{fontenc} \usepackage{lipsum} \usepackage{tocloft} \begin{document} \tableofcontents \thispagestyle{empty} ...
11
votes
2answers
8k 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. ...
11
votes
3answers
5k views

Automatic table row numbers

Is there any way to get automatic row numbers in table? For example, if I define table contents as \begin{tabular} % black magic column definition \rownumber & foo\\ \rownumber & bar\\ ...
11
votes
1answer
10k 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 ...
11
votes
1answer
7k views

algorithm numbering

I am having trouble numbering and referencing algorithms. I want to have the references labeled by the chapter, then within the chapter, such as: First algorithm in chapter 1 - Algorithm 1.1 ...
11
votes
2answers
401 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 ...
11
votes
1answer
215 views

Strip section number from equation range reference

I am trying to adjust equation range numbering from (1.10)-(1.15) to (1.10-15). By calling this in the preamble: \crefrangelabelformat{equation}{(#3#1#4-#5#2#6)} and then this in the document: ...
11
votes
1answer
409 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 ...
11
votes
1answer
678 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 ...
11
votes
1answer
229 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

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:
11
votes
2answers
2k 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
236 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
1answer
6k 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
2k 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
540 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
494 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
4answers
10k views

How to add a dot after the section number?

I wonder is there any way to change the format of section numbering from 1.1 to 1.1. ? I know this is trivial, but I really need to add one more dot after the section number. Does anybody know how to ...
10
votes
4answers
28k views

How to remove chapter numbering without removing it from tableofcontents

It seems I have a two day trying to find out the solution of my problem. I have just finished typing my M.Sc thesis using LATEX (MIKTEX 2.9). Unfortunately, all my chapters begin with the chapter ...
10
votes
3answers
1k 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 ...
10
votes
2answers
10k views

How to increase counter for \subsection

How can I make the first subsection under a section start on "d"? I currently have the following code to get a,b,c,d...: \renewcommand{\thesubsection}{\alph{subsection}} and I tried this to make it ...
10
votes
1answer
851 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
4answers
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.
10
votes
1answer
4k views

Redefining a theorem counter

I have a document with a lot of lemmas and theorems. In the main part of the document there are sections and subsections, so I defined \newtheorem{lem}{Lemma}[subsection] to number the lemmas ...
10
votes
2answers
609 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?
10
votes
2answers
984 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
3answers
10k views

How to reset chapter and section counter with \part

To get the output Toc or pdf bookmark below: Part I Chapter I Chapter II Part II Chapter I Chapter II I need to reset the chapter counter. I google and get one method. ...
10
votes
2answers
4k 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}}} ...
10
votes
1answer
453 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 ...
10
votes
2answers
755 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
535 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
829 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
3answers
2k views

How to reference part of a theorem?

I have a corollary with a number of parts whose parts need to be referenced individually later on, so something like: \begin{cor}\label{cor} \begin{enumerate} \item Part one \label{partone} ...
10
votes
5answers
3k 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
4k 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} ...
10
votes
1answer
687 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
2answers
528 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
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
545 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
2answers
2k 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 ...
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
658 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 ...