Questions tagged [totcount]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
43 views

Why can't the name of a `totcounter` be defined with a variable

I want to print the sum of some counter per subject at the beginning of that subject and I want it to be done automatically. I decided to use the totcount-package. I then define a counter like: \...
0
votes
1answer
42 views

How to make calculations with counters?

I have three counters counterBoat, counterThink and counterWork. I want to print the integer "round"(100*counterBoat/(counterBoat+ counterThink+ counterWork)) in my document. I use the package ...
1
vote
0answers
31 views

Latex get counter value at beginning of section [duplicate]

I am trying to access the final value of a counter in each section at the beginning of the section. The reason for knowing the value ahead of time is to use it in a bar plot that summarizes ...
6
votes
2answers
81 views

Generating statistics on a command with totcount

I have a document that looks like this: \documentclass{report} ...
2
votes
1answer
55 views

Producing a table that provides counts for @article, @proceedings etc. from a bibtex file

Is there any way to produce a table that can provide counts based on the @article, @proceedings and other categories in bibtex?
6
votes
1answer
112 views

Counting section for each chapter

I am newbie with latex and I try to create a section with movable section number tabs as shown below: In the following code, I used both tikz and titlesec packages to format the required sections \...
2
votes
2answers
74 views

How to get to total number of lines in an environment

While trying to figure a complete answer to this post, I was wondering how I could get the total amount of lines in the algorithmic environment. Of course this question can be relevant for other ...
2
votes
2answers
92 views

Use counters in a bar chart

I have a document consisting of different topics within multi-variable calculus. I want to start the document with a bar chart displaying how many problems there are of each kind, based on the number ...
3
votes
1answer
97 views

Totcount depending on environment

I'd like to have a counter, called ProblemPoints in the MWE, which is dependent on an environment problem, such that I can print the total points of each problem. \documentclass{article} \usepackage{...
10
votes
4answers
482 views

How to remember a length across compilations

I'm trying to save a length in the .aux file, so that it is remembered in the following compilation. In other words, I'm looking for something like the totcount package, but which works for lengths. ...
5
votes
2answers
217 views

Total count of Theorem like environments - In all chapters

I am using the following structure to define my custom theorem-like Prob environment using the thmtools package. I want to include the total number of problems in the introduction. For this I am ...
8
votes
3answers
642 views

Counting chapters and appendices

During my last experiences with cross-referencing on total counts between different files, a problem of counting of chapters and appendices appears. As a MWE we can use a MWE given here with some ...
1
vote
1answer
136 views

How to get a total number of literature references and save it to a user defined counter?

During my last experience with Cross-referencing on total counts between different files, which can be read here, a problem of saving the total number of literature references in a user defined ...
5
votes
1answer
287 views

Cross-referencing on total counts between different files

Suppose that we have three .tex files in one folder called PhDThesis.tex, Synopsis.tex and conclusion.tex. There is also one bib-file called my_bibio.bib In Synopsis we have a short description of ...
3
votes
3answers
756 views

Working alternatives to totcount to get the total number of pages of a document

I have encountered a bug in totcount package: sometimes it counts pages incorrectly. For example, the following code produces for me a 2-page PDF file, but totcount thinks there is only one page: \...
6
votes
1answer
160 views

calc breaks assoccnt? [closed]

I want to use totcount to get the number of parts and chapters in my document. To get the correct number of chapters in the presence of appendices, I use assoccnt (see totcount gives wrong chapter ...
4
votes
1answer
214 views

totcount gives wrong chapter count when appendices present

I found that totcount gives the wrong chapter count when appendices are present. In the following MWE, the chapter count should be 3 but is actually 1: \documentclass{report} \usepackage{totcount} \...