{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

9
votes
1answer
7k views

LyX - changing subsection from numbers to letters

I have a problem set that I want to type up. In my section, i get numbers which is fine since I have 4 problems on my problem set. But each subsection is lettered on my problem set, so I would like ...
6
votes
2answers
6k views

Access the chapter/section number and the chapter/section label through variables

Often I find myself in the situation that I'd like to design how chapters and sections look. I know there are packages that help to design such things, but non of them seems to give me the option to ...
25
votes
3answers
26k views

1st, 2nd and i-th?

Assume I wish to refer to the i-th object, or the n-th function out of some set, where i and n are letters and not numbers (as in "Multiply the $j$th row with the $i$th column and store the result in ...
4
votes
2answers
9k views

How to enumerate equations?

I want to enumerate equations in the following way: An equation is in the same line as the bullet sign. All equations are align to the left. The number of an equation is align to the right. Any ...
41
votes
7answers
5k views

Automatically assign a number to every paragraph

I would like to add a marginal number (don't know the right term; in german „Randnummer“) to every paragraph of text I write. I don't see any other solution, than to write every single number manually ...
46
votes
1answer
14k views

Continuous footnote numbering

I would like footnote numbering to continue over pages and chapters. In my document it's reset every chapter. I'm using the report documentclass.
9
votes
1answer
4k 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 ...
5
votes
4answers
3k views

How to change captions and dots?

I've received my master thesis from proofreader. I've received a lot of small things to fix but they're defined inside my document class which is report. How to change caption name from "Table" to ...
4
votes
2answers
766 views

Split one label into many and append with a, b, c, etc

I am making one table into two (or more) and would like them to have the same label number for these two tables, but append them with an "a" or "b" to differentiate them. Also, I would like to be able ...
47
votes
5answers
11k views

Defining commands/abbreviations that contain numbers

I tend to use \newcommand to define macros for symbols I use often, e.g. \newcommand{\hankel}{H^{(1)}_0}. One inconvenience of this approach is the fact that command names cannot include numbers. ...
5
votes
1answer
15k views

beamer slide number with footer

I am using the warsaw theme and I need to have the footer with frame number the header of the code is: \mode<presentation> { \usetheme{Warsaw} \usecolortheme{crane} \setbeamercovered{...
15
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 ...
7
votes
2answers
1k views

Using one counter for different floats?

I'm using two different floats, and I'd like to use the same counter for both. The standard LaTeX format for a new float is: \newfloat{type}{placement}{ext}[outer counter] I tried using this by ...
17
votes
2answers
867 views

How do I discard a portion of an equation number when cross-referencing?

I am writing a LaTeX document in which I number equations within sections. Thus, in my preamble I have \makeatletter \@addtoreset {equation}{section} \renewcommand{\theequation}{\thesection.\...
7
votes
3answers
778 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 ...
4
votes
1answer
1k views

How can I do numbering with a hanging indent to the left into the page margin?

I am compiling some solutions to textbook exercises, and I am trying to do so in the style of the book. The way the book does it is that the body of each exercise appears unindented, left-aligned, ...
6
votes
2answers
9k views

article vs. report

\section{Section title here}} \subsection*{The subsection without numbers, but want it to appear in TOC} \addcontentsline{toc}{subsection}{The subsection without numbers, but want it to appear in TOC} ...
7
votes
3answers
9k views

Display appendix section title like “Appendix A My Code Listing”?

I'm using the document class scrartcl and appendix. This currently results in a letter instead of a number for section enumeration in the TOC and section title ("A My Code Listing"). I need to change ...
9
votes
1answer
4k 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 ...
1
vote
1answer
967 views

Chapter number on page header is not updated in LaTeX document

I have a small technical problem but I have been unable to find a solution to it so far. In my thesis document, the chapter numbers that are displayed on page headers are not updated. It keeps on ...
3
votes
2answers
3k views

How to Just show \subsubsection numbers

\documentclass{article} \begin{document} \section*{Section1} \subsection*{subsection1} \subsubsection{Another layer of subsection} \end{document} I just want to show the subsubsection ...
1
vote
1answer
758 views

Using contcapt in the sidewaysfigure environment

In a two sidewaysfigure environments across two pages contcapt in the second page has an incremented caption number. Oddly, the subfigure letter on the second page is correct ex. (it will start with ...
4
votes
1answer
636 views

Hyperref links linking to the wrong label.

I'm currently trying to write up some solutions to a set theory text, but some of my labels don't seem to be working correctly. I've uploaded it here, if it's perhaps helpful to look at. Anyway, I ...
3
votes
1answer
801 views

How to change the formating of the title of a “Listing” from roman to arabic?

I recently stepped out of my comfort bounds and decided to add some Code snippets to my paper. I was able to get everything working fine and looking good, except the actual title. Everything else in ...
4
votes
1answer
1k views

Preserve Figure order

Is there a way to ensure that Figure X is always before Figure (X+1)? They are referenced in the text in the correct order but it seems that Latex rearranges their appearance within the document.
5
votes
2answers
4k views

Suppress Numbering of Subfigures

Is there a way to supress the numberings of subfigures within subfigures? Currently, I have something like the following: \begin{figure} \subfigure{ \subfigure{...} \subfigure{...} \...
11
votes
1answer
4k views

How can I create a bibliography like a section?

I have the following: \documentclass{article} \usepackage{multicol} \begin{document} \begin{multicols}{2} \section{} \begin{thebibliography}{99} \subsection{Differentiation} \bibitem{...
5
votes
2answers
2k views

footnote reset in every page

When using \footnote{text} in TeXnicCenter LaTeX, the number is reset in every new page. e.g: page one footnote 1,2,3 page two footnote 1 page three footnote 1,2,3 ... I want that the number ...
3
votes
1answer
847 views

Adding section to appendix causes a compile error

Background Include multiple appendixes in a book. (Using KOMA Script v2.) Problem I have isolated the problem and created a minimal example to demonstrate the issue: Preamble Working LyX File ...
5
votes
1answer
549 views

How to number the ToC?

I need to give a Roman number to the ToC. So basically, I want the ToC to internally use \chapter instead of \chapter*. Is there any way to do that?
7
votes
4answers
2k views

[Optionally] Specifying arbitrary numbers for sections and subsections

I'm working on a package to simplify writing my homework and assignments. Unfortunately, not all of my professors assign problem sets with sequential numbering. Thus, I'd like to optionally be able ...
30
votes
5answers
17k views

How to display numbers using comma as a thousands separator?

I want numbers like 5.5 million to be displayed using a comma as a thousands separator as "5,500,000". Is there a way to do this automatically, without having to manually put commas?
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 ".". ...
4
votes
1answer
6k views

Frame number right of presentation controls

I currently use \setbeamertemplate{footline}[frame number] to get frame numbers on my slides produced by the LaTeX beamer class. But the presentation controls are above them and not on the left and ...
10
votes
1answer
747 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 ...
6
votes
2answers
3k views

Number Algorithm floats with dependency (subalgorithms environment)

What I have: 3 algorithms, like so: \begin{algorithm} \caption{Caption One} ... \label{alg:one} \end{algorithm} \begin{algorithm} \caption{Caption Two} ... \label{alg:two} \end{algorithm} \begin{...
7
votes
1answer
11k views

How can I add the bibliography in a report with its own section, including number?

I'm writing my thesis as a report document using TeXShop (pdflatex and bibtex) and want the bibliography to get its own section number and appear in the table of contents. Here's what I've tried so ...
16
votes
2answers
12k views

How to leave out chapter numbers in section numbering

So, I'm writing my thesis using the book class. I have the following: [Chapter I The fundamentals] using \chapter{The fundamentals} together with \renewcommand{\thechapter}{\Roman{chapter}} ...
60
votes
2answers
6k views

How do I number equations only if they are referred to in the text?

I have a paper where all equations are numbered, but I want to number equations only if they are actually referred to in the .tex file using \ref{}. How can I make that happen? Alternatively, how can ...
5
votes
2answers
3k views

Equation numbers messed up

I'm writing a thesis as a collection of different articles. I'm treating each article as a chapter. The first article has Equations numbering A.1, A.2 etc and the second article has equation numbering ...
16
votes
3answers
26k views

Subfigures in beamer documents

I'm using beamer package to produce slides. I put many figures on a slide by using the subfigure package. The problem is that for captions, the subfigure are labeled "a", "b".. "m", "n" and so on, for ...
9
votes
1answer
16k 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 (...
166
votes
7answers
98k views

What's the quickest way to write “2nd” “3rd” etc in LaTeX?

If I want to use abbreviations for second, third and so on in my LaTeX documents, I am currently doing this: 2$^{nd}$ which seems unsatisfactory. Is there a macro I'm missing? I'm sure I could define ...
20
votes
4answers
7k views

Greek numbering

I wish to use numbering like 1\alpha, 1\beta,... in some subequations. I know that this is obtainable by redefining the \theequation like the following (which gives lower-case Roman numerals, 1.i, 1....
3
votes
2answers
498 views

How do I make custom float environments use the same numbering for captions.

I use a custom float environment that is basically used as a table environment that provides extra formatting. I would like this environment to use the same numbering as the regular table floats. Is ...
10
votes
2answers
3k 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{ ... } } {}...
5
votes
1answer
761 views

\ref giving incorrect number for \label in custom environment

I have defined a custom environment (using the tocloft package, thanx to Juan) that looks like: \newcommand{\listscriptname}{List of Scripts} \newlistof[chapter]{script}{spt}{\listscriptname} \def\...
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]{...
3
votes
2answers
758 views

Label numbering gone crazy

I have redefined the enumerate counters to include the section number, and this works as expected. However, when I try to cross-reference text in my document, the number on the reference doesn't show ...
8
votes
2answers
535 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 ...