From 86082deea30a103cef7c205ec9d0ba7ba4d58999 Mon Sep 17 00:00:00 2001 From: Zeping Lee Date: Sat, 13 May 2023 22:21:02 +0800 Subject: [PATCH] Fix word counting --- ustcsetup.tex | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ustcsetup.tex b/ustcsetup.tex index 97eb150..ecf27a9 100644 --- a/ustcsetup.tex +++ b/ustcsetup.tex @@ -86,11 +86,9 @@ % 用于写文档的命令 \DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}} -%TC:ignore -\DeclareRobustCommand\env{\texttt} -\DeclareRobustCommand\pkg{\textsf} -%TC:endignore -\DeclareRobustCommand\file{\nolinkurl} +\DeclareRobustCommand\env[1]{\texttt{#1}} +\DeclareRobustCommand\pkg[1]{\textsf{#1}} +\DeclareRobustCommand\file[1]{\nolinkurl{#1}} % hyperref 宏包在最后调用 \usepackage{hyperref}