The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [word-count]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
23 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}{...
2
votes
1answer
34 views

Count words in Persian document correctly

when I use the command texcount filename.tex in CMD, half-spaced words count two words instead of one word. How can I solve this problem? \Thanks % Compile with XeLaTeX \documentclass{article} \...
0
votes
0answers
42 views

Overleaf - How to include word count in Chapter/Section heading?

I'm aware that there are previous questions on this forum dealing with Word Counts, but I have a specific issue... Overleaf has previously acknowledged how to include word counts in the main text: Is ...
0
votes
0answers
47 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?
0
votes
1answer
33 views

TexWorks XeLaTex section/paragraph word count

I realize this question has been asked a often, but as I do not have admin rights on my PC (i.e. no way to install pearl) and find copy-pasting text to word or elsewhere annoying, I hope I can find ...
0
votes
1answer
84 views

Wordcount subfiles

Im having a problem with the wordcounter in overleaf v2 not counting the words in the subfiles, but only in the main tex, is it somehow possible to make the word count include subfiles?
2
votes
2answers
54 views

Add two macro results together

I have a macro for a word count in my overleaf document, its currently in each .tex section of my document, but I want to be able to add the results of them together (i.e. the word count of all ...
0
votes
1answer
116 views

Is there any package that does word counting of a document including bibliography and notes?

I need to check my final word including bibliography and notes. I've tried \quickwordcount and the built-in plugin that overleaf comes but I'm just getting the words of the main.tex excluding the .bib ...
0
votes
0answers
111 views

is there a way to view a wordcount in the pdf viewer of texshop

I would really like to view my wordcount in the pdf viewer in texshop, is there any tool I can include into it?
6
votes
2answers
667 views

Dynamically count words in chapter and insert word count at start of chapter

TL;DR Einar's first alternative solution of making a new input command that automatically generates counts at the end of each input section is what I used to generate counts at the end of each chapter:...
0
votes
0answers
46 views

Word count for each collaborator in ShareLateX

Is it possible to do word counting for each collaborator in ShareLateX?
2
votes
1answer
69 views

Is it possible to mark short lines _after_ compilation?

I am writing an academic article (2-columns), and I have a space constraint (say 8 pages). A small optimization of mine when there is only one line on the 9th page is to rephrase some paragraphs, ...
2
votes
1answer
62 views

how to caluclate the no of characters in the particular environment in latex

IS possible to check the character count is more than 1800 character in the particular environment? if it is greater than that it should be thrown the error? how to achieve this? my MWE is \...
0
votes
2answers
200 views

Counting text within tabular environments

Does anyone know how I can count the words within tabular environments?
2
votes
1answer
157 views

LaTeX: Printing word count of an imaginary section

I would like to print the word count in a section of a document. However section doesn't mean \section{...}. It just means an arbitrary collection of paragraphs. The word count should exclude captions ...
4
votes
2answers
192 views

Word Count in ConTeXt document

Is there any way to include the number of words in a ConTeXt document excluding table of contents, other listings, etc.? I found the spellchecker feature that offers word counts but it includes the ...
0
votes
1answer
1k views

Is it possible to do word counting of selected text in sharelatex?

I know we can count the words for a whole document using sharelatex. However when I select a bit of text in the code editor and go to word counting it still display the total number of words of the ...
2
votes
1answer
695 views

Why is there such a huge discrepancy between the Overleaf and Microsoft Office Word word counter

I've just finished my dissertation, which I chose to write using a template on Overleaf (the LaTeX template editor). My word count on Overleaf was about 18,000. I thought I would C&P into Word ...
2
votes
1answer
11k views

Counting the number of words in Texstudio?

How to count the number of words of a document compiled in Texstudio? Is there exist any way to do this? Thanks in Advance. Note: I am using Windows 10, Miktex 2.9 and editor is Texstudio 2.11
1
vote
0answers
111 views

Add paragraph-wise wordcount to compiled PDF

I would like to add a paragraph or section-wise wordcount to the compiled PDF output of a .tex file. Is there anything that makes this possible? I'm aware of some of the options for finding the total ...
-1
votes
1answer
540 views

Dynamic word count for abstract environment in LaTeX using Knitr/Sweave/Rstudio

I am attempting to use TeXcount to count the number of words in my abstract environment and print it out, so that when I update the abstract it prints the new word count. I did my best to search the ...
1
vote
0answers
573 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 %...
0
votes
0answers
97 views

How do get wordcount on our working file pdf? [duplicate]

Is it ok that LaTeX doesn't have a wordcounter? texcount is a very valuable external esource to determine how many words you have in your document, but it relies on console and executing a separate ...
1
vote
0answers
1k views

ShareLatex Word Count: Massive error [closed]

I am writing my report in shareLatex, an online latex environment, and when I click Word Count in the menu, it shows me the number of words, headers and math inlines. However, it also shows me the ...
5
votes
2answers
271 views

Remove all tables from document

I need to do a wordcount of my thesis that excludes tables, but not their legends. I need to remove all of my tables, ideally with a command in the preable. I am currently using Foxit reader's ...
1
vote
0answers
83 views

Can I put a word count right into my LaTeX book? [duplicate]

I want to say inside my book how many words it has. Are you aware of any packages that can help me with this?
5
votes
1answer
409 views

wordcount with xesearch errors

I'm using some code I found here on stackexchange to count words in a LaTeX document. I'm using TeXLive on a Mac and using XeLateX to produce the pdf document. It produces a pdf, but with an error ...
3
votes
3answers
849 views

Count Lines in a Block of Text

I would like to have a macro that counts the number of lines in a block of text. I was able to create one based on the answer for "counting the newlines in title", but I would prefer that the macro ...
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....
3
votes
0answers
2k views

Word Count in Overleaf vs TexPad

I typically use TexPad for writing projects, but a collaborator suggested using Overleaf for a joint publication we're working on. I have noticed massive discrepancies between the word count in ...
5
votes
1answer
2k views

Does the wordcount package do a proper wordcount?

I need to Dynamically count and return number of words in a section with latex and not luatex or context. The latex answer to that question relies on the texcount package, which from my understanding ...
0
votes
1answer
2k views

Installing wordcount

I need to count words in a paper. The journal I am writing for suggests to use wordcount.tex (and the related wordcount.sh). I am using TeX Live on a Mac and I could not find these files; I found them ...
5
votes
1answer
2k views

Count words and spaces

I search for a package or a script, that can count the number of characters including spaces in my document. I have tried to search for it, and I have found many solutions, that should do this, but I ...
17
votes
1answer
751 views

Generate wordcloud of LaTeX document symbols

Is there an automated way to generate either a wordcloud or at the very least a list of all symbols used in all math environments in a LaTeX document? I'd like to generate a symbol-only wordcloud, ...
1
vote
0answers
185 views

Inserting a character count, that only counts certain sections

Is it possible for LaTeX to count the characters (including space) within certain sections (or rather discluding this like abstract and bibliography). And insert the number as a variable within the ...
2
votes
0answers
8k views

Word count in Texshop

I need to add a word count to my document. The TexShop edit-->statistics option says I have 2793 words, whereas Texcount, says I have 3796 words. This is a big difference. Which one should I trust? ...
2
votes
2answers
1k views

Word count in thesis (muthesis) - how to do?

Apologies if this is really simple but I cannot figure this out. I am using the muthesis template for my thesis. A requirement of the University is to include a word count at the end of the toc, lof ...
9
votes
1answer
1k views

Print a total word count that sums up the number of words, tables, and figures

The journal I am submitting to requires a total word count on the title page. My question is more like an extension to Greg's previous question. The journal states that a table/figure is counted as ...
0
votes
2answers
457 views

TexCount: Error using envir in an external options file

I am struggling with adding parsing rules to TexCount in an external options file. I am running TexCount as follows: texcount -sub -html -stat -inc -v3 -opt=tcrules master.tex > count.html The ...
7
votes
3answers
6k views

LaTeX word count for dummies!

I think this question has been here a lot of times. And yes, I have googled it. I've found a lot of different answers. Most say "use another tool to count them". But some have actually scripted ...
2
votes
1answer
157 views

Template Trouble

Following code %Nam scripta a cursus ad philosophíæ scientiae \documentclass[12pt, a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[left=2cm,right=5cm,top=3cm,bottom=2cm]{geometry} \...
2
votes
1answer
573 views

Highlighting of (too) long sentences

I'd like to improve the readability of a very long document. To do so, I'd like to have sentences with more than x words highlighted in the pdf. Is there a way to realise this (either via a package, ...
1
vote
1answer
577 views

Wordcounter package in LaTeX?

I have found a lot of suggestions, mentioning programs and other form of software excluding a direct package in LaTeX. Do you have to use the PDF-word counter or another program to count words? Isn't ...
1
vote
1answer
1k views

Extracting number of words from document with equations [duplicate]

I wonder if there is a systematic way to extract the number of words from a LaTeX document in which there are also mathematical equations. I would appreciate any advice.
0
votes
1answer
160 views

Plotting word count development

I'm working on two-year project using the classicthesis template. My project folder, ie. the classicthesis template folder, includes several .tex files, for example all nine project chapters as their ...
2
votes
0answers
596 views

Dynamically count and return number of characters (including spaces) in a section

I am writing a proposal that requires giving the number of characters (including spaces) of each section. My question is very much related to: Dynamically count and return number of words in a ...
4
votes
1answer
490 views

TeXcount problems with $ dollar sign in shell command

I can't get TeXcount to perform a word count on a LaTeX document that runs a Linux shell command to access a shell variable (i.e. the command involves a "$" dollar symbol). example.tex \...
44
votes
2answers
48k views

Is there a direct way to get word count in TeXstudio?

The Text Analysis tool in TeXstudio is quite useful, but I seems I can not find a direct and accurate way to obtain the total number of words in the compiled PDF file. As I understood, this tool ...
1
vote
1answer
299 views

Counting words with TexCount in quote environment

How can I enter a new counter with texcount to count everything within the \begin{quote} ... \end{quote} environment? I have tried the following, which gives me nil results. %TC:newcounter quote ...
0
votes
1answer
2k views

TexShop Statistics (Word Count) with BasicTeX

I recently re-installed tex on my mac, and decided to go with the BasicTeX package rather than the full (2.4GB) MacTeX package, together with the MacTeX-additions package, which includes TexShop. (...