avatar
请教俩个问题。# TeX - TeX电子排版系统
N*D
1
1。有没有什末命令可以统计一段话有多少个单词?文章里要用,不想每次都数一遍。
2。怎末在一页的右上角放几个字。只有这一页,其他页没有。
合起来,就是在一页的右上角显示这页的某段话有多少个字。
谢谢!
avatar
T*n
2

On Linux/Unix maybe "wc"? But this counts blank-separated
words in the entire file.
Try \usepackage{fancyhdr}, and then \thispagestyle{mypagestyle} when
you want a special page style.
I'm not sure how you would count how many words there are on
a page. For sure you would need to modify the output routines
in LaTeX, which means rewritting part of the LaTeX kernel.

【在 N**D 的大作中提到】
: 1。有没有什末命令可以统计一段话有多少个单词?文章里要用,不想每次都数一遍。
: 2。怎末在一页的右上角放几个字。只有这一页,其他页没有。
: 合起来,就是在一页的右上角显示这页的某段话有多少个字。
: 谢谢!

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。