检测错误排版的非句子结尾句号

检测错误排版的非句子结尾句号

是否有任何方法可以极大地增加句末句号后的间距,以便(直观地)验证所有非句末句号是否都使用\和正确处理\@?谢谢。

答案1

在此处输入图片描述


\documentclass{article}

\setlength\xspaceskip{1cm}
\begin{document}

this is a sentence. This is Foo. is short for FooBar. and that should have been a comma.
This is not XML\@. And this was not written by Dr.\ Carlisle.
What happens after a semicolon; or a question mark?
This is Foo, followed by a comma.
\end{document}

相关内容