2
votes
1answer
63 views

Using decimal values for figure-captions (floats)

Given a figure and a section i need the figures in that section to be labeled in a section.counter manner. Example First figure, section 3. should be Figure 3.1 I can only use \documentclass{article} ...
1
vote
0answers
20 views

counter by chapter [duplicate]

Im using \usepackage{float} to make my own float of the name Chart. So that i can use \captionof{chart}{<caption>} when insering a chart. I won't the counter to be chapter based so that chart 1 ...
12
votes
1answer
189 views

How to make figure and listing share their counter

I'm using the "listings" package to write pieces of code (XML, RDF, Java, etc) and I want them to have the same counter of the Figure environment. For example, Listing 1: blablabla Listing 2: ...
4
votes
2answers
91 views

Temporarily resetting figure counters within a chapter

The code below works perfectly in an article (permitting me to put two captions in the same figure and have one of them called Table, picking up the table counter—there’s a sensible reason for doing ...
1
vote
1answer
222 views

How can I change the counters of tables in the appendices? [duplicate]

I have multiple appendices and in some appendices I have tables. What I want is that each appendix itself has a letter as a number (e.g. Appendix A: title). A second thing that I want to achieve is ...
0
votes
0answers
54 views

Figure counter and figure label issues [duplicate]

i ve got an issue with Figure counting and, i think, labeling. Though I set the counter for figures at 0, my first figure, that I d like to have counted as 'Fig.1' and that is labeled as ...
6
votes
1answer
865 views

Referencing equation counter value in custom float caption

I have used the float package to create an equation float, eqfloat, so I can add captions to equations. Within the eqfloat I used the equation environment to typeset the math. I want to keep the ...
2
votes
0answers
424 views

Lyx incorrect figure numbering [closed]

Just a quick question. I am currently working on writing my thesis. I have many figures and I want the numbering to be something like 4.1 or 5.3. Where the first number is my section number and the ...
4
votes
1answer
156 views

Use float counter in a section title

I defined a new float environment for examples \usepackage{float \newfloat{example}{htp}{example} \floatname{example}{Example} that I the use throughout the document \begin{example} ... ...
7
votes
3answers
2k views

Count number of figures, tables and citations in report class

I'm using report documentclass and trying to use totcount for counting figures, tables and references, but there are two problems: Figures and tables counters are reset for each chapter, so ...
3
votes
1answer
205 views

Figure refs stop working after I added a new counter

I was using the amspset document class for generating exam practice problems. I had wanted to add some referencing to the problems so I started a new counter like this (adapted from some Tex Exchange ...
4
votes
2answers
916 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 ...