I need to figure out how many percent of the text in my latex document which consists of quotes (in block quotes, particularly). I have wrapped all quotes in the block quotes command:
\begin{quote}
\end{quote}
Is there any tool which would easily allow me to either:
- Calculate the percentage directly, or
- Extract all content within the block quotes command, and also (in a separate output) extract all content which is outside of the block quotes command. So that I can input both texts into an online word counter, and calculate the percentage from comparing the resulting amount of words.
I am using Overleaf, so it's limited what packages I can run, but I think it can run most.
texcount
is able to count words of delimited parts of the text, as well as text of some common LaTeX structures. See tex.stackexchange.com/a/277734/11604