In my file, i have som tables, which are numbered incorrectly. What I mean by that: I have two tables in chapter 4 and one in chapter 5. They are numbered as 4.1, 4.2 and 5.1, while I want them to be 1, 2 and 3.  MWE is here:  \documentclass{report}  \begin{document}  \section{one}  ...  \section{four}  \begin{table} \caption{Table one} %a table \end{table}  \begin{table} \caption{Table two} %a table \end{table}  \section{five}  \begin{table} \caption{Table three} %a table \end{table}  \end{document}
270
Some document elements (e.g., figures in the book class) are numbered per chapter (figure 1.1, 1.2, 2.1, ...). How can I achieve continuous numbering (figure 1, 2, 3, ...)?  And vice versa: Some document elements (e.g., figures in the article class) are numbered continuously. How can I achieve per-section numbering?  \documentclass{book}% for "vice versa" variant, replace `book` with `article`  \begin{document}  \chapter{foo}% for "vice versa" variant, replace `\chapter` with `\section`  \begin{figure} \centering \rule{1cm}{1cm}% placeholder for graphic \caption{A figure} \end{figure}  \end{document}   Bonus question: Is it possible to adjust the numbering of the sectioning headings themselves? Can I, e.g., switch from per-chapter to continuous numbering of sections in the book class?
3042
It seems I have spent two days trying to find out the solution to my problem. I have just finished typing my M.Sc thesis using Latex (MIKTEX 2.9). Unfortunately, all my chapters begin with the chapter number at the top left corner of a page. My supervisor asked me to remove that numbering of the chapters without removing them from the table of contents.  I have tried my best to do that but I failed. The last attempt I made is \chapter*{chapter title}, the moment I compiled my work, I found out that it began sectioning from 0.1, 0.2, and so on, which I don't like.    I have this code inside my thesis:  \chapter* {\quad \quad \quad \quad \quad\quad \large{CHAPTER ONE}} \addcontentsline{toc}{chapter}{CHAPTER ONE}  %Introduction}{} \pagenumbering{arabic} \onehalfspacing \begin{center} \textbf{\large \quad INTRODUCTION} \end{center}  \section{Introduction} This chapter gives a brief highlight on the concept of the Newton and quasi-Newton methods for solving nonlinear system of equations. The chapter contains motivation of the study, the aim and objectives, scope and limitations, methodology of the research. It includes some basic fundamentals and definitions of some basic terms.     After compiling, it gives me this:  CHAPTER ONE  INTRODUCTION  0.1 Introduction This chapter gives a brief highlight on the concept of the Newton and quasi- Newton methods for solving nonlinear system of equations. The chapter contains motivation of the study, the aim and objectives, scope and limitations, methodol- ogy of the research. It includes some basic fundamentals and definitions of some basic terms.   NB: Please observe how the section "Introduction" is numbered. I want it to be numbered 1.1 not 0.1.
102962
In the following MWE, titles have no displayed number, but sections (the second level) are still numbered 1.1, 1.2, etc, because the titles have an internal number.   I would like the sections to ignore the title above them, and to simply be numbered 1, 2, etc.  (Titles have an internal number so that they can be included in the Table of Contents. This code comes from my answer to . I don't trust that answer completely, by the way.)  \setuphead[title][     incrementnumber=yes, % keep an internal title counter+list     number=no]  % don't display the counter  \title First title        % no number displayed \section A section        % 1.1, should be 1 \subsection A subsection  % 1.1.1, should be 1.1   Some setups take the option prefixsegments=chapter:section — , for example, and . \setupheads, however, does not accept it, and I don't know whether sections numbers are managed as enumerations or as numberings or something else.
70856
I would very much like that the the appendix sections of the Table of Contents doesn't have a section numbers, dots, and page numbers. If I do the following  \documentclass{article} \usepackage{tocloft} \addtocontents{toc}{\cftpagenumbersoff{section}} \renewcommand{\cftdot}{} \begin{document} \tableofcontents \newpage \section{Appendix} \section*{Another Letter} \addcontentsline{toc}{section}{Another Letter} \end{document}   then the section "Another Letter" is left aligned, so it doesn't look like the  others.  Question  Is it possible to have "Another Letter" styled the same way as normal TOC entries, but just without section number, dots, and page number?
95488
I have a directory which contains numbered image files, something like this:  01.png 02.png 03.png 03.svg 04.png 05.png 06.jpg 07.png 08.png 09.png 09.svg 10.png   Sometimes there may be multiple versions of a file in different formats (eg. a png and svg version of the 03 and 09 files above) but the numbers are otherwise consecutive.  Typically there are 40-80 such files in each directory.  The numbers correspond to the order these images appear in a manuscript (a Word document, but that's not important).  There is no other way to determine the order of the images.  If I add a new image to the manuscript I need to place a copy of the image in this directory with the correct numbering.  So if the new image is the fifth in the manuscript I need to rename the files in the directory to this in order to make room for it:  01.png 02.png 03.png 03.svg 04.png 06.png 07.jpg 08.png 09.png 10.png 10.svg 11.png   What is the most straightforward way from the command line, or from a script or macro to renumber all the files starting at a certain number?  I have a standard Fedora Linux install using bash.
53488
I'm attempting to modify the Table of Contents in my document. Currently, chapter one in my document is listed as   1   Introduction   What I would like to see is  Chapter 1   Introduction   Seems like an easy enough thing to ask for, but can't seem to find a good way to do this. Any feedback would be most appreciative.
53908
I have seen similar posts but none seem to work. I simply need to remove the dots in the ToC between the chapter titles and the page numbers. I think the page numbers should line up (as if there were dots). This is using the memoir class. Here is my ToC info:  %%%% Do the ToC \let\oldtoc\tableofcontents \renewcommand{\tableofcontents}{\clearpage\pagestyle{toc}\oldtoc}  \renewcommand{\contentsname}{TABLE OF CONTENTS} \renewcommand{\listfigurename}{LIST OF FIGURES} \renewcommand{\listtablename}{LIST OF TABLES} \renewcommand*{\tocheadstart}{\vspace*{-\topfiddle}} \renewcommand*{\aftertoctitle}{\thispagestyle{plain}%   \par\nobreak \mbox{}\hfill{\normalfont Page}\par\nobreak} \renewcommand*{\cftchapterfont}{\normalfont} \renewcommand*{\cftchapterpagefont}{\normalfont} \renewcommand*{\cftchapterleader}{%   \cftchapterfont\cftdotfill{\cftchapterdotsep}} \renewcommand*{\cftchapterdotsep}{\cftdotsep} %\renewcommand*{\cftchaptername}{CHAPTER~} %%% no extra space before the entry \setlength{\cftbeforechapterskip}{0pt plus 0pt} %% no extra 'chapter' space in LoF/LoT \renewcommand*{\insertchapterspace}{}   I tried everything that was suggested. Nothing seemed to make any difference. I am stuck with this format. Any suggestions would be greately appreciated!
44276
I have a document organized into several chapters. In each chapter, theorems are numbered by section (1.1, 1.2, ... even in chapter 5). I often would like to refer to theorems in different chapters. However, if I am in chapter 6 and refer to theorem 1.3 in chapter 1, it is rather ambiguous, and the reader might assume that "theorem 1.3" meant the current chapter. Is there an automatic way of configuring things so that the cross-referencing will say "theorem 1.3" only if it is really the current chapter, but "theorem I.1.3" (or something like that) if the cross-referencing spans chapters?
103694
I have a table and some of the number inside has some symbol like * and **  which should be explianed as footer ( at the end of the table not the page) I dont know how to do that and I dont want to change my code  my code looks like this   \begin{table}[h]     \caption  {\bf Performance at First Doubles Matches}  % title name of the table     \centering  % centering table     \begin{tabular}{l c c c }  % creating 4 columns         \hline         % here is the info          \hline         % I need the foot note here ( I dont know if it is called fotenote or not ??) but I need the related info at the end of the table      \end{tabular}     \label{tab:PPer} \end{table}
39512
Can you give me some advice for how to obtain the following format of the TOC?        Chapter’s heading 1-7   Chapter’s heading 9-10   Chapter’s heading 11-15
16264
Possible Duplicate:          I have written my thesis in document class 'article' (don't ask me why). Now I want to number my equations by sections, i.e. in section 1 they should go 1.1, 1.2, ..., in section 2 they should go 2.1, 2.2, ...  I don't want to change the document class (e.g. to 'report') because then I would have to change all sections to chapters, subsections to sections and because I fear a lot of other unintended consequences.   How can solve this?  Thanks for any help!
37576
Let me begin by stating that I did google the answers (and I'll reference to them soon). Yet each of the resources I found discussed one particular method, I'm interested in a comparison of the approaches.  So far, I've found three ways to deal with this problem:   split the number into two columns (integer and fractional parts), as documented  or . The LaTeX code is simple, but the approach is a pain when it comes to copying and pasting tables from external sources. use  manually use Mike Zhang's automatic  (). I have yet to test it.   What do most people use? dcolumn? Are there other options?
119286
I often implement numbered list for both print and web projects. At times it is just more efficient to break the list into two, three, or four columns.  How should item ordering be handled?  Should numbers start at 1 in the top left then move down the column, then jump to the next column to continue numbering? (Option A)  Or should numbers start at 1 in the top left the move sideways to #2, #3, etc., jumping columns for each number? (Option B)    In terms of web responsiveness, Option B provides better break points (at times with 3 or 4 columns).  Should this be handled the same in both print and web?
3143
I would like to change the numbering scheme for my theorems per chapter. That's because I have smaller and bigger chapters. Bigger chapters need subsections for proper structuring, and so my theorems are numbered within subsections. For smaller chapters there won't be any subsections so I would like to have my theorems numbered within sections. (That means one less number).  What I'm trying to accomplish is:  Chapter 1.  Section 1.1.  Subsection 1.1.1.  Theorem 1.1.1.1. Theorem 1.1.1.2.  Chapter 2.  Section 2.1.  Theorem 2.1.1. Theorem 2.1.2.  How can I do that?  MWE: (randomize section titles and theorem body text as you please)  \documentclass{book} \usepackage{amsthm} \newtheorem{theorem}{Theorem}[subsection] \begin{document} \chapter{} \section{} \subsection{} \begin{theorem}\end{theorem} \chapter{} \section{} \begin{theorem}\end{theorem} \begin{theorem}\end{theorem} \end{document}   Note: egreg's answer includes a version incorporating the hack he gave me .
67604
My problem is already stated , but I don't have enough reputation to comment on it :-/ I want to know if there are any fixes or solutions to the problem with the hepthesis class?  The last page of the table of contents is numbered with arabic numerals rather than roman numerals. Here is an MWE:  \documentclass[oneside]{hepthesis}  \begin{document}   \begin{frontmatter}     \tableofcontents   \end{frontmatter}    \begin{mainmatter}     \chapter{Introduction}       lalala   \end{mainmatter}  \end{document}
1618
I have the simple following document:  \documentclass[10pt,a4paper]{report} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \setcounter{secnumdepth}{4} \setcounter{tocdepth}{4} \usepackage{algorithm,algcompatible} \begin{document}     \tableofcontents     \listoffigures     \listoftables     \listofalgorithms  \chapter{Chapter First} This is my chapter first.  \chapter{Chapter Two}    This is my chapter two.  \section{sec 1}  \begin{table}     \centering     \caption{my table}     \label{tab1}     \begin{tabular}{|c|c|}         \hline 1 &amp; 2 \\          \hline 3 &amp; 4 \\          \hline      \end{tabular}  \end{table}  \subsection{subsec 1}  \begin{algorithm}     \caption{(\textit{The EGl-FOM})}     \label{myalg}     \begin{algorithmic}[1]         \STATE Choose          \STATE Use the          \STATE Compute $\alpha_m$         \STATE Compute $\lVert R_m\rVert_F=h_{m, m+1}|e_m^T\alpha_m|$.     \end{algorithmic} \end{algorithm}  \subsubsection{subsubsec 1}  \end{document}   I am going to hide chapter, section, subsection and subsubsection titles about chapter two from table of contents. Furthermore, I want to hide tables, figures and algorithms titles about chapter two from list of tables, figures and algorithms. Is there a proper way to do these things?
70163
I have an align environment with 5 equations. I want 3 of them numbered, and the other 2 not numbered. I understand that there's other posts on the issue of selective numbering of those equations that are referred to in the body of the text, but that's different to what I'm trying to achieve.  I want the first three lines (equations) of the following to be numbered and the last two to be without numbering. Thanks.  \documentclass[a4paper,11pt]{article} \usepackage[fleqn]{amsmath} \begin{document}  \begin{align} &amp;R_{i,t} = \alpha_i  \\ &amp;R_{i,t} = \beta_i  \\ &amp;R_{i,t} = \gamma_i  \\ &amp;\mathbb{E}[\epsilon_{it}]=0;\textrm{   } \textrm{Var}[\epsilon_{it}]=\sigma^2_{\epsilon_{i}}\\ &amp;i \in \{1,2,...,N\};\textrm{   } t \in \{1,2,...,T\} \end{align}  \end{document}