{chngcntr} is for questions related to the chngcntr package.

learn more… | top users | synonyms

1
vote
2answers
21 views

Group LOF figures by chapter in article class

In the article class, is is possible to group items in the list of figures by chapter? e.g.: Already I'm using the following to allow figures to by numbered relative to their chapter in the article ...
2
votes
1answer
24 views

per-section figures in un-numbered sections

I'm trying to write a document with un-numbered sections (i.e., \setcounter{secnumdepth}{0}) and numbered figures, with the figures numbered within section. I can't get secnumdepth and chngcntr to ...
2
votes
0answers
49 views

\counterwithout and \captionlistentry leads to omitting figure numbering [closed]

Here is my MWE: \documentclass[]{scrreprt} \usepackage[]{todonotes} % only for the dummy-figure \usepackage[]{caption} \usepackage{subcaption} \usepackage{chngcntr} \usepackage{hyperref} % needs to ...
4
votes
1answer
41 views

Reference to longtable wrong if \numberwithin{table}{section} is activated

I've encountered something weird while using the longtable package together with \numberwithin{table}{section} or \counterwithin{table}{section}: if a longtable is the first table in a section, it ...
4
votes
1answer
156 views

Reset counter \section in \part*

I'm a rookie with LaTeX, I'm using LyX, but I think this is a LaTeX problem. Im using this LaTeX preamble for reset counter after parts \usepackage{chngcntr} \counterwithin*{section}{part} But it ...
1
vote
1answer
106 views

exercise package; how to get counter for a custom exercise type to increment with memoir sections?

Just started learning LaTeX, because I'm trying to write a short math book. I started out using LyX, but ultimately I want more control over the typesetting, so I have to learn LaTeX. Anyway, I want ...
4
votes
2answers
422 views

counterwithin problems with table of content

I would like to use the option counterwithin to get my numbering as I, I.1., I.2, .., II, II.1, II.2,... I use the following minimal script \documentclass[11pt, a4paper, twoside, openany]{scrbook} ...
4
votes
1answer
139 views

Verbments: listofpyglistings numwidth

im really new to latex and now have tryed to make an List of my SourceCode. To Highlight I used verbments. It provides the Command ListOfPyglist. This works fine. Now I want to set the Counter to ...
1
vote
1answer
119 views

Changing counters across and within sections

I am making a document with glosses (using package gb4e) and sections. The glosses correspond to certain numbers within certain chapters, but these chapters do not correspond to the sections I'm ...
7
votes
1answer
172 views

How can I combine endfloat and chngcntr?

Is there any way to combine the packages endfloat and chngcntr? I would like to have all tables at the end of the document (with endfloat) and a numbering that includes the section number (e.g., ...
1
vote
0answers
71 views

Table of contents looks bad with package chngcntr [duplicate]

I'm using the package "chngcntr" to restart the chapter count in each part of my work. It's working just fine. However, in the table of contents, the chapters and all other sections numbers overlap ...
7
votes
1answer
143 views

Numbering figures and tables in a problem set

A standard problem set from a physics textbook is divided into sections, with problems numbered sequentially from start to finish (i.e., not resetting in every section). Tables and figures are ...
2
votes
0answers
312 views

Table numbering starts at 2 when chngcntr / \counterwithout used [closed]

I have used the \counterwithout{table}{chapter} to remove the chapter number prefixing from table numbering yet my only table in the document is coming back as '2' I have just done a little debug and ...
9
votes
2answers
643 views

Consecutive caption numbers without chngcntr?

As many before me I need consecutive caption numbers for figures and tables instead of chapter-based numbers like Figure 1.2. I use scrreprt and the caption-package for my document. I also need roman ...
5
votes
2answers
468 views

How to use chngcntr with an enumitem newlist with resume?

With the following M(ish)WE, I expected the numbering of my examples list to be reset at the opening of the second chapter, but it is not. \documentclass{book} \usepackage{chngcntr} ...
3
votes
1answer
3k views

Reference to figures in appendix is not printed properly

When citing a figure in a section in my report body, the reference prints the correct number: Figure\ref{fig:UML} illustrates complexity arising from the non-modularity of the existing design: ...