A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [count]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
16 views

How to count the number of pages between two labels? [duplicate]

How to count the number of pages between two labels? I tried to fined a way using this answer but not helpful. \documentclass[12pt]{book} \usepackage{lipsum} \begin{document} \lipsum[1-20]\label{...
3
votes
2answers
68 views

How to generate error on assignment to \count register if value being assigned contains decimal point?

Please, if possible, plain TeX + eTeX commands only (I compile in XeLaTeX but use TeX commands). I need parameter value to be an integer value, not a decimal. In this example, parameter is being ...
0
votes
1answer
36 views

Word count for files included with input

I'm trying to do a wordcount of my thesis project in LaTeX. I'm using VIM with VIMLaTeX on an ubuntu machine. I have the following code in my main.tex file \newcounter{Hoofdstuk} \newcommand{\file}{...
3
votes
2answers
69 views

How many times has a label been referenced and which one is the most referenced?

Given a LaTeX document, I'd like to use an automatic method to know which one of all the labels is the most referenced one, which one is the second most referenced one and so on. I'll give you an ...
0
votes
0answers
119 views

How to get word count in overleaf?

how can I get a word count on overleaf, of like a particular section? Can I highlight a section for example or a paragraph and get the word count?
3
votes
1answer
2k views

Command for character count including spaces (in overleaf)

I'm becoming increasingly happy with overleaf, now prefering it to vscode or vim. A lot of the stuff I have to write for university needs a character count including spaces. Up until now I've been ...
1
vote
3answers
263 views

How to count rows of a csv?

I am using \csvreader to read a csv and I am trying to do some basic manipulation like counting the number of values and print that value in the document. For instance, how do I calculate the number ...
3
votes
2answers
135 views

LaTeX: Reverse row count or enumerate over tabular rows

I'm drafting my CV and I would like to number the projects, conferences, etc. that I have done but in reverse order (ie: the newest has the highest number and is on top of the list). I found a code ...
1
vote
1answer
75 views

Separate page numbering for multi page environments with total pages counts for each

A document which I try to typeset with LaTeX may contain multi page environments. Such environment has his own page numeration which starting from 1. But it has to be total environment pages number at ...
0
votes
1answer
112 views

Beamer: Display all images only once in article mode

I'm creating a beamer presentation in which I include several images, of which some of them are included in multiple frames. I'm also creating an article version of this presentation with \...
2
votes
0answers
147 views

Do not enumerate and count a page

I want to put a clean page before a new chapter. I can do this with: \newpage $\ $ \thispagestyle{empty} The problem is the page is counting and I don't want this. I want to finish the chapter ...
0
votes
1answer
120 views

Change number to word

Referring to the question below Set counter in exam class to a count based on the first set of questions I would like to change the answer for this. There are \total{s}\ short questions. From There ...
1
vote
0answers
611 views

Print character count

Background inspiration and code: \documentclass{article} \usepackage{bashful} \pagestyle{empty} \bash texcount -sum -1 tmp.tex \END \begin{document} %here is a front page and a table of contents %...
4
votes
1answer
1k views

how to count the number of words in a sentence, the number of sentences in a paragraph, and the number of paragraph?

I am writing an article on latex. I need to count the number of words in a sentence, the number of sentences in a paragraph, and the number of words in the paragraph? e.g. This is the first sentence....
1
vote
0answers
209 views

Count Characters without Spaces [duplicate]

I'm writing my BSc thesis right now in LaTeX using texmaker. The maximum amount of characters (without spaces) for the thesis is 70'000. Is there a decent way to count this? Copy-pasting it into Word ...
1
vote
1answer
76 views

Have pages of a separate document not count into \getpagerefnumber{LastPage}

I want to put a release document before my actual document. Currently I am doing this by using \input{"../Common Subdocuments/Documents/ReleaseDocument"} The problem that arises is the new page ...
4
votes
2answers
421 views

How to access the arithmetic value of count in \foreach, and use them in rotate box{}?

I have a question about access the mathematical value of count in \foreach, I will used that value to do some calculation in the following code. But it didn't work. \documentclass[margin=10pt]{...
5
votes
1answer
681 views

Included PDF pages mess up page numbering in PDF-reader

I have a report with a frontpage, abstract, preface and acknowledgement. These pages are not numbered. Then the remaining pages contain several chapters and all these pages are numbered. Today I added ...
1
vote
1answer
58 views

How to redefine a command to keep track of page assignments w/o exceeding TeX capacity

Seemed straight-forward enough (and I've changed it per Christian's suggestion of using \edef instead and added some status code): \documentclass{memoir} \newcommand{\tabloidpagecount}{} \newcommand{...
7
votes
1answer
4k views

Counting characters in a section of a document

Is there a way to count characters in a document portion? I need to write a summary that is 3000 characters long at most, and every time I compile the document I copy/paste the resulting text to Word ...