{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

8
votes
3answers
228 views

How can I have numbered verbatim environments?

How can I have an automatically numbered verbatim environment, just like equations? I tried putting it like this: \begin{equation} \begin{verbatim} bla... bla... bla... \end{verbatim} \end{equation} ...
8
votes
2answers
74 views

Modifying an individual subsection number

I have an article divided into sections and subsections. I need to insert a subsection "5.2a" between "5.2" and "5.3". What is the easiest way to do this?
8
votes
2answers
674 views

Smartly omit chapter number in equation numbering

In my thesis I use chapters, sections and subsection. I like to have my equations numbered with respect to section, but I want the displayed equations numbers not to include the chapter number. ...
8
votes
3answers
416 views

How can I number the references in a bibliography irrespective of their order of appearance in a document?

I'm putting together a linguistics bibliography using lsalike.bib and lsalike.sty. I'm generating it by using \nocite{*} and would like the references to be numbered (but kept in the usual order). ...
8
votes
2answers
3k views

Common, per-section numbering of theorems, lemmas etc.

I use amsthm for my theorems, lemmas etc. I'd like their numbering to look like that: Theorem 1.1.1 Lemma 1.1.2 Definition 1.1.3 Theorem 1.2.1 Definition 1.2.2 Corollary 1.2.3 Theorem 2.1.1 etc. ...
8
votes
2answers
2k views

How do I reset paragraph numbering only after new chapter?

I'm writing a report that needs some annoying formatting. The \chapters and \paragraphs need to be numbered using arabic numbers. The paragraph numbering needs to be reset at the commencement of each ...
8
votes
1answer
1k views

Why is LaTeX giving all of my theorems the same number?

Whenever I try to number my theorems according to the section they are in, they all end up having the same number. I tried the other numbering schemes to see what they do, and the only one that gives ...
8
votes
2answers
125 views

Custom counter steps twice when invoked from caption using caption package

I made a custom counter with a custom command that steps the counter and sets an automatic label for it. However, when invoking this from a caption AND using the caption package, my counter steps two ...
8
votes
1answer
12k views

Getting correct section numbering for Appendix in a large document

I'm writing a thesis which is an aggregate of separate articles. I have the source code for the articles and I'm using \include to include them in the main document of the thesis. So in my main.tex ...
8
votes
1answer
918 views

Having 'Appendix A' instead of 'A Appendix'

I would like to have my appendices labelled 'Appendix A', 'Appendix B', etc. However, when I use appendices in LaTeX (specifically llncs document class, downloadable at ...
8
votes
2answers
408 views

KOMA-Script scrbook: width of chapter and section number

I'm using KOMA-Script’s scrbook class and have problems with the Table of Contents. When the chapter number is too large, the chapter number is glued to the chapter heading. The chapter-section ...
8
votes
1answer
356 views

KOMA-Script and subcaption: wrong counting

I'm getting a to-me strange behavior when using scrartcl and subcaption. In particular, numbering is doubled for each table with the default option captions=tableheading. Here's an image (code at ...
8
votes
1answer
642 views

\part and \chapter commands output both numbered and named headings

I have the following LaTeX document being compiled in TeXstudio 2.3 on Windows 7 (mode is PdfLatex + PdfViewer): \documentclass[a4paper,12pt]{report} % Modified \part and \chapter from report.cls ...
8
votes
1answer
638 views

How to type Eastern Arabic Numerals

Is there any easy way to type Eastern Arabic Numerals in TeX? I mean these numbers: (٠‎ ١‎ ٢‎ ٣‎ ٤‎ ٥‎ ٦‎ ٧‎ ٨‎ ٩‎). Please note that I don't want to change the localization settings of my computer to ...
8
votes
2answers
3k views

How to change table numbering scheme at a new section?

I am trying to implement a style to name tables and figures depending on the section for a thesis and can't figure out how to do it with LaTeX. In the end it should look like this: and my document: ...
8
votes
1answer
1k views

How to number subtheorems hierarchically?

Problem in a nutshell: I'd like to number theorems that are embedded within other theorems' proofs with numbers that indicate the parent-child relationship between the two theorems. Problem in ...
8
votes
1answer
2k views

Placing equation number on left with reqno option in amsart document class

Is there a way to force individual equations to place their equation numbers (or more specifically the result of a \tag*{blah}) on a specific side of the page regardless of the options to amsart. I ...
8
votes
1answer
183 views

Numbering equations with letter and number?

I need all the equations in one of the sections to be numbered as letter (R) and an ascending number (1, 2, 3...). So they look like (R1), (R2), (R3) etc. I do not want the number of the ...
8
votes
2answers
139 views

Change the numbering of equations with floating equation

I an trying to change the numbering of the equations in my document. The reason is that I have a 'floating' equation that always needs to be on top of the page, but I want it to be numbered according ...
8
votes
2answers
398 views

Multiple appendices, distributed throughout document

For my dissertation, I have multiple parts to represent each separate paper. I'm trying to get the appendix for each part to follow the part, and then have chapter numbering reset to 1 (rather than ...
8
votes
1answer
637 views

custom automatic equation numbering

I just read a book where the equations in the Introduction were numbered slightly differently compared to the other sections, namely by (In.x) where x stands for the number (so it starts off as ...
8
votes
1answer
809 views

Different section numbering styles for toc and body

I'm looking for a way to display section numbering differently in the text body and in the toc. I've set up the numbering in the body as ...
8
votes
1answer
401 views

Aberrant footnote numbering behavior with footnoted captions

I don't have an explanation for the behavior shown by the following two MWEs. Clearly, the footnote number is altered by the length of text in the caption. Please advise me as to why this strange ...
8
votes
1answer
587 views

Changing the format of ordinal numbers (\the…) and related strings

I develop a package that improves LaTeX support for the Latvian language. One of the things I have here is different style used for things like Chapter 1, Theorem 1.1 etc. First, the phrase is written ...
8
votes
2answers
1k views

Customize section numbering in TOC

I'm working with report class and I would like to customize headings of chapters, sections and subsections, abvoe all the look of numbers before their respective headings, both in the text and in the ...
8
votes
1answer
201 views

Resume numbering within the \tcolorbox environment

I have used this site so many times but this time, no answer to my problem. I am creating a lab manual for my ocenaography class. I am using the \tcolorbox package to highlight my multiple choice ...
8
votes
1answer
299 views

Endnotes numbered by regular arabic numbers (instead of superscripts) and without indentation

The Latex document below (from my earlier question Chapter name appearing in the endnotes) produces endnotes which are numbered by arabic numbers in the superscript, and there is indentation for each ...
8
votes
2answers
661 views

How do I make a Theorem n followed by a Theorem n' ?

I am writing a paper where I have a stated a theorem, and then a short time later I state another theorem which is equivalent to the first. Is it possible to number them so that the second is a primed ...
8
votes
2answers
508 views

Place all floats last without changing numbering

I'd like to place some of my floats (specifically code listings) in my documents in a section at the end, without disturbing the numbering. Currently, I have them numbered within sections, so in ...
8
votes
1answer
112 views

Changing Figure Numbering depending on how many occur in an \item

While trying to typeset examination papers in LaTeX, I've become the victim of shifting figure numbering standards laid down by my institution. The old way required figures to be numbered like this: ...
8
votes
1answer
337 views

Subbibliography with roman numbers and Biblatex

I am currently working on a thesis, where I have to use one subbibliography. This works pretty well with Biblatex and keywords. Now my faculty wants to have this subbibliography (and only this) to be ...
8
votes
0answers
151 views

Too many footnotes [duplicate]

I have a text with about 31000 lines, so it is quite long. There are many footnotes in the text (1 every second line or so). I am using footmisc with the option perpage. Halfway through compiling I ...
7
votes
2answers
3k views

Using the same number for repeated use of the same equation

I'm a LyX beginner so please don't worry about stating the obvious. I'm numbering equations by section in my document. That's working fine. However, when I refer to the same equation later on in the ...
7
votes
2answers
413 views

Equation numbering: how can I get (1.1), (2.1), (3.2) in the article class?

I know how to make them do 1, 2, 3....just need to know 1.1, 1.2, 3.2, 3.3 etc \begin{align} \end{align} This will produce 1, 2, 3 etc, I know this but need the other.
7
votes
2answers
7k views

Table numbering mismatch in caption and in text

I have created 2 tables in my LaTeX document \begin{table}[hb] \centering \begin{tabular}{|c|c|r|} \hline ... not important... \end{tabular} \label{tab:2} \caption{Določanje prioritet mojstrov ...
7
votes
3answers
12k 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: ...
7
votes
2answers
356 views

Equation number with an apostrophe

I am writing two equations in an align environment: \begin{align} x^2+y^2=z^2, \\ x^2=7, \end{align} I would like the first equation to be labelled with e.g. (1.1) and the second equation to be ...
7
votes
3answers
576 views

Changing the section number to a fraction

In between two sections that really ought to be numbered 23 and 24, I want to add another section, which I would like to call 23.5. The code \setcounter{section}{23.5} \section{...}, however, results ...
7
votes
2answers
2k views

Equations and defining equation variables

I have a main equation that should be numbered and now I want to define the variables of the equations which may contain another set of equations. For example please have a look; code: \begin{align} ...
7
votes
2answers
5k views

How can I add acknowledgements on the title page as a numbered footnote?

I was asked to add acknowledgements to the right of the author name as the first footnote. (So the footnote should be numbered as "1" but for some reason it only shows asterisk "*".) Could anyone ...
7
votes
3answers
877 views

A vertically centered equation number on a multline environment

The multline environment does exactly what I want in splitting a long formula between lines by utilizing the horizontal space to the fullest. (I don't want the alignment features of the align ...
7
votes
1answer
3k 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 ...
7
votes
2answers
3k 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}}} ...
7
votes
2answers
2k views

Defining a custom environment with per-section numbering

I have an enumerate environment that I want to refer to later in my document using \ref and \label, but enumerate doesn't get numbered by section (the way, say, figure would). How can I add section ...
7
votes
2answers
175 views

How to number only labeled equations?

I'm writing all my equations with \begin{equation} ... \end{equation} so all of them are numbered but only some of them are labeled. I don't want all of them with numbers but only the labeled ...
7
votes
3answers
204 views

Numbering Theorems/Definitions together, by section and without section symbol

I am fairly new to LaTeX and I am looking for a particular style: I want to number my theorems/propositions/corollaries/definitions together and by section. For example, Definition 1.1, Theorem 1.2, ...
7
votes
3answers
2k views

Longtable caption numbering

I am trying to prevent a table from showing up in the list of tables. I used long table to create the table. This is the first table in my document. I know \caption*{} command should do the trick but ...
7
votes
3answers
279 views

Part numbering with suffixes: I, II, IIIa, IIIb, IV,

I would like to have my parts numbered like this: I, II, IIIa, IIIb, ... , IV, ... I have written some code which works fine. But when using hyperref, I get this warning: destination with the same ...
7
votes
2answers
2k views

List of figures as a section with number

How can I get the list of figures as a section in an article document, so it will be listed in the table of contents? At the moment it's listed in the ToC, but without number.
7
votes
2answers
459 views

change label of a single theorem using ntheorem

My question refers to the minimal example pasted below. I would like to change the title of the second theorem (the one with yyy) to Theorem 7' without affecting the theorem counter. That is, the ...