Automatically capitalize first letter of first word in a new sentence in LaTeX

后端 未结 3 956
情书的邮戳
情书的邮戳 2021-02-06 01:06

I know one of LaTeX\'s bragging points is that it doesn\'t have this Microsoftish behavior. Nevertheless, it\'s sometimes useful.

LaTeX already adds an extra space after

3条回答
  •  失恋的感觉
    2021-02-06 01:36

    I decided to solve it in the following way:

    Since I always compile the LaTeX code three times before i okular the result (to get pagination and references right), I decided to build the capitalization of sentences into that process.

    Thus, I now have a shell script that calls my capitalization script (written in CRM114) first, then pdflatex three times, and then okular. This way, all the stuff happens as the result of a single command.

提交回复
热议问题