CmdID

CmdID / Commands

texcount

Count words in TeX documents omitting macros. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Count words in TeX documents omitting macros. Note: If the TeX document uses \include or \input and you want to count the included files, texcount must be run in the directory of the root TeX file.

Count words in a TeX file

texcount path/to/file.texIdentify

Count words in a document and subdocuments built with \input or \include

texcount -merge file.texIdentify

Count words in a document and subdocuments, listing each file separately (and a total count)

texcount -inc file.texIdentify

Count words in a document and subdocuments, producing subcounts by chapter (instead of subsection)

texcount -merge -sub=chapter file.texIdentify

Count words with verbose output

texcount -v path/to/file.texIdentify