{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.
4
votes
1answer
74 views
List of Figures sorted by Figure number
I am using
\usepackage{imakeidx}
\usepackage{hyperref}
and the command \listoffigures to get the list of figures. Some figures are double-column, some are single-column, and LaTeX does not ...
4
votes
2answers
53 views
Custom name & justification, single line spread and “within chapter” numbering of figure captions [closed]
I now know how to add images with captions but still need help how to tweak the captions.
\begin{figure}[h]
\begin{center}
\includegraphics[width=100mm]{01.jpg}
\caption*{\textbf{Bild 2.1:} Curtiss ...
3
votes
3answers
80 views
table numbering style
The tables in my document are labeled 1...N; I like this format. I also have a table which belongs to the appendix of my paper that I would labeled A1 or A.1 . Is there a way to change the numbering ...
3
votes
0answers
77 views
Is it possible to reprint an equation without actually rewriting it? [duplicate]
I have an equation like:
\begin{equation} \label{whatever}
x+y=1
\end{equation}
I want to write it again, keeping the same number. I know I could do the following:
\begin{equation}
x+y=1 ...
2
votes
1answer
31 views
How to suppress Table of Contents section numbers?
I am using the following to suppress the numbering of \sections:
\makeatletter
\renewcommand\@seccntformat[1]{}
\makeatother
But in my \tableofcontents, the section numbers still appear. Is there a ...
0
votes
1answer
27 views
Change bibliography starting number
I am currently using the usual field \begin{thebibliography} for my references at the end of my scientific papers.
The numbers of the citations go from [1] to [19], as usual.
I would like to change ...
24
votes
2answers
746 views
Why does an environment's label have to appear after the caption?
\documentclass{article}
\usepackage{algorithm}
\begin{document}
\setcounter{section}{54}
\section{A section with no label}
\begin{algorithm}
\label{myalg}
\caption{An algorithm with the label ...
2
votes
2answers
64 views
Lemma numbering by first instance of referencing
My document is long with proofs broken into several lemmas and many of them are in the appendix. However, it seems odd when I am using Lemma 25 (which should ideally be Lemma 1) to prove Lemma 2.
It ...
5
votes
1answer
58 views
Annotated equations
I need many of my equations to have annotations stating their domain of validity, or certain conditions for which the equation is true. Preferably, these would be flush right against the equation ...
4
votes
1answer
47 views
How do I reference in appendix a theorem given in the body?
I have a theorem given in the body text of a paper, say Theorem 2 with label {theorem-abc}.
I would like to provide the proof of this theorem in the appendix.
1) How do I cross-reference this theorem ...
1
vote
1answer
107 views
How to change the starting reference number in Natbib in a given bibunit?
I'm using bibunit and Natbib packages with a numerical numbering.
\begin{bibunit}[plainnat]
\nocite{ref1,ref2}
\putbib[mybiblio]
\end{bibunit}
\begin{bibunit}[plainnat]
...
4
votes
1answer
137 views
How to set the number of the first citation?
I am using BibTeX and natbib for my citations. In the bibliography the first entry usually starts with [1]. Now I would like to shift all the numbers in the bibliography and text by a certain offset, ...
6
votes
1answer
73 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 ...
1
vote
1answer
42 views
Display appendix chapter like: “Appendix”, and sections like “Appendix A: My appendix title”
I wish to make my appendix chapter like: "Appendix", and sections like "Appendix A: My appendix title" "Appendix B: My second title" by writing:
\chapter{Appendix}
\section{My appendix title}
...
2
votes
2answers
51 views
How to label text with equation number?
I'm trying to put equation numbers next to text as if said text was an equation. If I use \text{} in an align* environment, it typesets the text right-aligned and the whole environment centered, but ...
0
votes
0answers
28 views
LyX numbering tables wrong in PDF [closed]
I've got a remarkable problem in LyX. In the LyX document all the tables are numbered correctly. Although when I convert my document to a pdf file, the numbers are incorrect.
Lyx: table 3.1 => ...
2
votes
1answer
47 views
Ajdust width for the number of section [duplicate]
I have a problem with table of contents. I have changed the numbers of sections, that instead of numbers I have words, lets say "Dodatok A". But now, when the "number" of section is longer, the title ...
1
vote
0answers
27 views
Enumerate with combination of numbers and letters without using item labels
I want to achieve something like this:
1 blah
2 blub
3a something
3b an alternative of something
4 blob
Sure I could use \item[3a] and \item[3b] to get the numbers right BUT the enumeration is part ...
5
votes
2answers
34 views
Is there a way to use #.# style for theorems and definitions, but #.#.# for associated examples?
EDIT: Question solved. Answer below.
I would like to be able to do this sort of thing with my examples:
1 Mathematical Logic
Theorem 1.1 blahblah
Definition 1.2 blahblah
Theorem 1.3 blahblah
...
0
votes
0answers
50 views
Numbering all equations [duplicate]
How can I number the equations of a document all at once?
I've tried to find an option in LyX but I didn't find any.
0
votes
0answers
47 views
Is it possible to remove chapter number from align environment? [duplicate]
Basically I have written a proof using the align environment in a new .tex file and the numbers in the proof came like this (how I want them):
Line1 (1)
Line2 (2)
Line3 (3)
Now I've ...
12
votes
2answers
3k views
Multiple subequation labels in one \ref
I'm trying to write a macro that puts subequations' labels in parentheses in a compact form. For example, if I have
\begin{subequations}
\begin{align}
y - ax &= b \label{subeq1}\\
x^2 + ...
0
votes
0answers
32 views
LaTeX numbering one figure incorrectly (Figure 2 instead of Figure 2.1) [duplicate]
All of my figures seem to be referencing correctly except for one. I have
Text text text \ref{fig:label}.
\begin{figure}
\begin{center}
<TikZ Drawing>
\end{center}
...
1
vote
1answer
42 views
Alternative numbering for theorem
I am using thmtools as a front end to amsthm and I have a definition environment as follows.
\declaretheorem[
style=mydefinitionstyle,
name=Definition,
numberwithin=chapter
]{definition}
...
3
votes
1answer
60 views
How can I start the numbering of my appendices by “B” (instead of “A”)?
Let us consider the following example :
\documentclass[12pt,twoside,a4paper]{book}
\usepackage[left=.45in,right=.45in,top=.50in,bottom=.50in]{geometry}
\usepackage{fancyhdr,amsthm}
...
9
votes
1answer
81 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, ...
4
votes
1answer
31 views
Is there any way to put the section numbers after titles like “axiom”, “theorem”, etc?
The normal LaTeX input and output would be something like
\subsection{Theorem (Fundamental Theorem of Calculus)}
1.1 Theorem (Fundamental Theorem of Calculus)
Is there any way to use a ...
10
votes
1answer
56 views
Automatically number a word in description if used at least twice
I defined an environment with description which automatically numbers the bold words if they appear twice or more often in an \item[].
So far it works fine, but I cannot add a 1 to the first word, if ...
5
votes
1answer
74 views
How can I give the same figure number to five different figures on five different pages?
How can I give the same figure number to five different figures on five different pages using latex? For example, fig. 1.1, fig. 1.1 cont'd (player I), fig. 1.1 cont'd (player II), fig. 1.1 cont'd ...
3
votes
1answer
37 views
appendix package: making appendix subsections
The problem with the code below is, it treats the Safety section as its own independent section. So in the table of contents, I've got 'Appendices' and 'Safety' as separate sections. I want Safety to ...
3
votes
1answer
30 views
parametrized variable with if else statements
I need to create parametrized variable \mycolor like in this example.
The variable \mycolor defined colour based on an argument. I need to compare #1 with values 1, 2 and so forth, but how to use if ...
0
votes
1answer
36 views
Changing the format of figure, algorithm and equation numbering [duplicate]
This is a follow-up to this question. That allowed me to format references to an equation/figure/algorithm so that they started with an 'S'. What if I want to change the format in the original ...
8
votes
3answers
112 views
Numbering a set of horizontally distributed equations
Having different horizontally distributed equations inside an align environment, only lines are numbered, but not individual equations.
How can the left equations be numbered using subequations? ...
6
votes
2answers
82 views
Resetting numerical labels in \foreach commands on a numberline
I am looking to create quick number lines. What I have so far is this:
\documentclass[letterpaper,12pt]{book}
\usepackage{tikz}
\usetikzlibrary{shapes,snakes,backgrounds,arrows}
\begin{document}
...
4
votes
1answer
60 views
References numbers
I'm writing a document with the class amsbook. I have several chapters, and inside the sections only (no subsections). I've used
\swapnumbers
\theoremstyle{theorem}
...
9
votes
3answers
310 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 ...
2
votes
1answer
36 views
Adding Subsubsection & Subsubsection* to the TOC with lyx?
I'm using, lyx 2.0.2, how can I add the Subsubsection in a document with a report class to the TOC, I tried the solution provided in this Question but didn't work for me, it generated no errors but no ...
3
votes
1answer
206 views
Multibib: how to reset references counter?
Im using a complex template to write my document. It is old and I'm having a problem. I have two separate reference list, "Internet References" and "Literature". The problem is that the references ...
4
votes
2answers
61 views
Assign numbering of theorems to figures
How can I assign numbering of theorems to numbering of figures? I have a certain figure and instead of it being called Figure 2.1: Figure for Theorem 2.2, it would be much batter to have it simply ...
4
votes
1answer
44 views
Theorem/Definition/Lemma/etc independent numbering in Lyx
I am using the Koma-script book class in Lyx. By default, theorems, definitions, lemmas, and so on, follow the same numbering. So after "Theorem 1" comes "Definition 2", then "Lemma 3", and so on, ...
6
votes
2answers
92 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}
...
2
votes
0answers
49 views
Numbering figures and tables in part
Here is the deal: I'm writing my thesis and I divided the thesis into 3 parts, each part had 2 chapters.
At the beginning of each part, I added two pages of introduction. However, the numbering of ...
3
votes
2answers
68 views
How to add correctly numbered footnotes in RevTex4-1
So, I'm using RevTex4-1 and at some point I need to add a footnote, which in Revtex goes to the bibliography. However, the footnote is not being numbered according to the natural numeration of the ...
6
votes
1answer
95 views
Dividing chapters into ch. 1, ch. 2a, ch. 2b, ch. 3 etc
I'm typesetting a book and one of the chapters separates into two chapters so I need it to count like so:
chapter 1
---------
chapter 2a
----------
chapter 2b
----------
chapter 3
---------
...
4
votes
2answers
890 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
1answer
42 views
Section numbers have a zero in front with report document class [duplicate]
I wrote my tex file first in article mode. Now that I switched the document class to report, unfortunately I am getting a zero before my sections and subsections which I want to be removed. Changing ...
0
votes
1answer
49 views
Setting section counter
I am writing a lab report and there are four "questions" corresponding to lab instructions 6.1 through to 6.4. How can I set the section counter to start at 6.1 and then continue in 0.1 increments? I ...
5
votes
2answers
3k 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}}
...
0
votes
1answer
44 views
\newtheorem Causes paragraph ended by thmnumber [closed]
I'm trying to build my dissertation using our university provided latex style file (wsuthesis - available here). All other packages are the default ones provided by using MacPorts.
Ok, everything ...
2
votes
2answers
43 views
Unnumbered line inside align
Basically, I have two equations that I wanted to use align to number, but I also wanted to put the word 'and' in between the lines.
Here's what I have so far
\begin{document}
\usepackage{amsmath}
...

