Skip to content

Commit ab3687b

Browse files
committed
feat: sampletextnum
1 parent 80d4447 commit ab3687b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

public_resources/doc.cls

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
% 文类版本设定
1515
% -----------------------------------------------
1616
\NeedsTeXFormat{LaTeX2e} % 该文类所需的 Tex 系统版本。
17-
\ProvidesClass{doc}[2025/10/22 v2.2.0 General Document Template] % 该文类的名称、发布日期、版本序号等。(date 的写法格式为 YYYY/MM/DD,其中月和日不能写成一位。否则编译会报两个错误 Missing = inserted for \ifnum. 和 Missing number, treated as zero.)
17+
\ProvidesClass{doc}[2026/01/02 v2.2.1 General Document Template] % 该文类的名称、发布日期、版本序号等。(date 的写法格式为 YYYY/MM/DD,其中月和日不能写成一位。否则编译会报两个错误 Missing = inserted for \ifnum. 和 Missing number, treated as zero.)
1818

1919
% -----------------------------------------------
2020
% 文类新选项设定
@@ -382,6 +382,7 @@
382382
% 定义样例文本 - 测试排版
383383
\newcommand{\sampletext}{滚滚长江东逝水,浪花淘尽英雄。是非成败转头空,青山依旧在,几度夕阳红。白发渔樵江渚上,惯看秋月春风。一壶浊酒喜相逢,古今多少事,都付笑谈中。}
384384
\newcommand{\sampletexten}{The quick brown fox jumps over the lazy dog. }
385+
\newcommand{\sampletextnum}{0123456789}
385386

386387
% 定义将一位数字转换成两位数字(4->04)
387388
\newcommand\twodigits[1]{%

0 commit comments

Comments
 (0)