{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

4
votes
1answer
3k views

listings caption number

I'm using the listings package with this \begin command: \begin{lstlisting}[ language=Python, caption={Simple Python Program}, ] This yields a nice code listing with a caption like "Listing 1 ...
3
votes
1answer
286 views

Reindexing Theorem Numbers

The amsthm package comes with an several theorem-like environments. Is there a way to adjust the indexing on a sequence of theorems to skip a number? That is, I would like to have it do something like ...
4
votes
2answers
423 views

Numbering Last Equation in List of Equations

I am using the following code to create a list of equations, \begin{equation} \begin{array}{rcll} \| \hat{\textbf{v}}_{i}^{*} \|^{2} & = & \left\| \hat{\textbf{v}}_{i}^{*} + ...
5
votes
1answer
801 views

Disable Algorithm Numbering

I have seen this question but I still disable the numbering of algorithms. I have the following code: \begin{algorithm} \caption{\textsc{FizzBuzz}} \begin{algorithmic} ...
2
votes
3answers
313 views

Customizing theorem environments, eqnarray, and equation

I almost always use the following environments: equation, eqnarray and environments that are defined in the preamble with the command \newtheorem (i.e. definition, theme, Theorema, proposition etc ...
13
votes
1answer
31k views

Theorem/Definition/Lemma problem — Numbering

I am trying to work on the numbering of the theorems/definitions/lemmas etc., and I have some problems with the numbering. I would like the theorems, propositions, corollarys, definitions, ...
7
votes
3answers
887 views

Adding numberless chapters to the table of contents

How do I include a chapter reference within the table of contents without giving it a chapter number? I am using the report document class. Normally, I would create a chapter as follows: ...
10
votes
1answer
983 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} ...
3
votes
1answer
157 views

labbook figure numbering

I am using the labbook document class which is based on scrbook. labbook doesn't number the chapters, but the figure numbering still behaves the way it was in scrbook: it's not running, but each ...
9
votes
1answer
4k 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 ...
4
votes
1answer
2k views

Chngcntr: \counterwithout not working

I need to place the tables section after my appendix. I've used \counterwithin{table}{section} to number appendix tables A.1, A.2, etc. Then I use \counterwithout{table}{section} so that the tables ...
11
votes
2answers
724 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 ...
5
votes
2answers
2k 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}}} ...
1
vote
0answers
72 views

Changed style of caption numbering [duplicate]

Possible Duplicate: Appendix changes sections and figures numbering I have a problem with some captions in a document I am currently working on. Usually when I compile the main file, all ...
3
votes
1answer
191 views

Change the reference style for subfloats: from 1a to 1(a)

How to change the reference style to subfloats (package subfloat) in a figure from <number><letter> to <number>(<letter>).
6
votes
2answers
3k views

How do I reference an appendix when it is defined with \chapter*?

I have a problem with the reference of an annex. In the main .tex file I put %... couple of lines before this \include{ThesisChapter4} % \include{ThesisAppendixA} % Appendix A and in Appendix A I ...
16
votes
3answers
411 views

Extracting the “parent” counter of a sectional unit

I am interested in finding the "parent" counter of a specific sectional unit. For example, in the following document structure 1. A section 1.1 A subsection 1.1.1 A subsubsection 1.1.2 A ...
5
votes
3answers
384 views

Distinct footnotes at the same place

This may be a basic question, but I'm having troubles figuring it out. I'd like to have two distinct footnotes at the same place in the text. However what i get is that the footnote numbers in the ...
11
votes
3answers
476 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 ...
7
votes
1answer
337 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 ...
2
votes
1answer
414 views

Subfigure numbering for Greek - XeLaTeX

I am writing a thesis in Greek. Everything compiles well and the produced document is the desired one except one little problem. The numbering on my subfigures is followed by a small rectangle, i.e. ...
11
votes
3answers
5k views

\footnotetext numbering for many \footnotemark - automatic solution

\documentclass{report} \begin{document} Text\footnote{text1} Text\footnote{text2} \vbox{% \begin{itemize} \item X\footnotemark{} \item Y\footnotemark{} \item Z\footnotemark{} \end{itemize} } ...
1
vote
0answers
1k views

Unnumbered section in article class [closed]

I am trying to include an "Acknowledgments" section in my thesis, I want this to be before the abstract and also not numbered. It doesn't need to appear in the ToC. I'm using the article class and ...
3
votes
1answer
460 views

Numbering for a theorem and enumerated list within that theorem

I have the following amsthm environment defined \newtheorem{cslist}{Comparative Static Hypothesis} In instances of cslist, I would like to have an enumerated list like this. ...
4
votes
1answer
411 views

\ifnum conflict with appendix

Was helped briliantly before, here's another small problem I do not get fixed: Using the fancyhdr package I get, as promised, fancy headers. However, a chapter in the frontmatter gets a 0. ...
7
votes
2answers
1k 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 ...
10
votes
1answer
679 views

How do I get sub-numbering for theorems (Theorem 1.A., Theorem 1.B., Theorem 2.)?

I am trying to number my theorems as follows: Theorem 1.A. First part of a theorem. Theorem 1.B. Second part of the theorem. Theorem 2. A theorem with no parts. The following almost works: ...
2
votes
1answer
2k views

Formatting new list of definitions with tocloft

Using the tocloft package in LaTeX, I created a List of Definitions. From the package documentation and some online examples I came up with: \newcommand{\listdefinitionname}{My list of definitions} ...
6
votes
1answer
2k views

Section numbering

I'm having a bit of trouble with section numbering. When I use \section{} it starts at 0.1 rather than 1.0. Here's my preamble: \documentclass[12pt]{report} \usepackage{hyperref} ...
4
votes
1answer
5k views

Configuring the section with \renewcommand in the appendix won't work

My appendix consits of a chapter which tells the TOC that an appendix exists. All other headings in my appendix are sections. Now I want that a section header looks like: Appendix A. Some Text ...
29
votes
3answers
14k views

align* but show one equation number at the end

I am using align*, but I still need an equation number. I know one solution is to use align and add \nonumber to all lines but the last. Is there a 'lazy' way to do it? I searched a little and found ...
2
votes
1answer
462 views

Subnumbering in chemstyle

When I use \schemeref and \schemerefsub, instead of 1 and 2a 2b I get 1 and 1a 1b. So my subnumbering doesn't seem to follow my regular numbering, but when I refer to the compounds I get 1 and then, ...
9
votes
1answer
1k views

Revert (reverse) \numberwithin effect

How can I revert the action of \numberwithin{mycounter}{section} so that mycounter does not reset with a new section? Example: (This is not exactly my case but this is easy to understand.) I would ...
2
votes
1answer
781 views

Numbered mdframed environment but without using theorem hacks

I'm trying to make an mdframed environment for numbered multi-page boxes. The problem I'm having is that I can't seem to make the formatting and the numbering work as I want it to. I've tried the ...
8
votes
2answers
5k 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 ...
2
votes
1answer
263 views

Enumeration and Label issue with 'List of Equations / Table of Equations'

I finally managed to include a "List of Equations" in my LaTeX-Template. I use the Example from Lev Bishop here on Stackexchange . The code looks like this: \documentclass[english]{article} ...
8
votes
2answers
2k 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: ...
1
vote
2answers
498 views

How to identify the counter of Equation, Theorem, and Section

I asked before how to identify the counter of Equation and Theorem. A simple answer suggested there is \newtheorem{thm}[equation]{Theorem} A simple variation allows me to identify the Theorem and ...
1
vote
3answers
2k views

eqnarray with subnumber

When I use eqnarray \begin{eqnarray} eq\\ eq\\ eq\\ \end{eqnarray} this show me eq (1) eq (2) eq (3) In some papers I see this output eq (1a) eq (1b) eq (1c) how I can make this way ?
2
votes
1answer
717 views

Unnumbered theorem-like environments using thmtools

This produces an error (\* already defined): \documentclass{report} \usepackage{thmtools} \declaretheorem[numbered=no]{theorem} \begin{document} Nothing. \end{document} Adding package amsthm ...
3
votes
1answer
496 views

Numbering Sections with Sequential Integers [duplicate]

Possible Duplicate: Continuous v. per-chapter/section numbering of figures, tables, and other document elements I am using the book document class and have parts, chapters, sections and ...
8
votes
1answer
906 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 ...
10
votes
3answers
466 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), ...
11
votes
2answers
6k 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. ...
3
votes
0answers
233 views

Wrong numbering persists in LyX [closed]

When I try to organise my notes using Section\Subsection\Subsubsection numeration, I keep getting the wrong numbers in the editor: Previously, I've got help finding the solution to fix this problem ...
1
vote
1answer
265 views

Wrong numeration in LyX Subsubsection

I'm typing my lecture notes in one big .lyx file, and I use numeration to keep stuff organised in the TOC: Numbered Sections for Lectures\Recitations\Tutorials Numbered Subsections for ...
11
votes
1answer
3k 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 ...
4
votes
1answer
310 views

Nested Footnotes + Hyperref

Footnoting a footnote can be performed by placing a \footnotemark within a footnote, followed later by the accompanying \footnotetext. However, only a single footnote can be placed within a footnote ...
18
votes
3answers
19k views

Adding letters to equation numbers

I want to number use a equation and add a letter to the equation number such as: f(x) =a x and g(x) = b x (3.1.1a,b) That is e.g. using \begin{equation} ... \label{eq} ...
18
votes
1answer
944 views

Nested footnotes

The footception post (Footception: Footnote within a footnote within a footnote) describes how to recursively footnote. I am trying to make a nested footnote that is placed in the same footnote ...