Skip to content

Commit

Permalink
docs: 修改文档
Browse files Browse the repository at this point in the history
  • Loading branch information
atxy-blip committed Dec 9, 2021
1 parent bea9295 commit 8f49777
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
1 change: 1 addition & 0 deletions njuvisual-curves.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
% \fi
%
% \subsection{颜色与图形}
% \label{subsec:colors-and-curves}
%
% 本部分定义标准色彩以及用于绘图的 \pkg{tikz} 路径。由于路径本身长达数千行,故在此文档中隐去,仅保留介绍。有兴趣的同学可以自行查阅 \file{njuvisual-curves.dtx}。
%
Expand Down
17 changes: 11 additions & 6 deletions njuvisual.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -210,18 +210,21 @@ through XeTeX.
%
% \pkg{njuvisual} 用于收录南京大学及其各院系制定的标准色彩及图标,并提供简洁的绘制指令。
%
% 本宏包衍生自 \pkg{njuthesis},依赖 \hologo{LaTeX3} 项目
% 本宏包衍生自 \cls{njuthesis},依赖 \hologo{LaTeX3} 项目
% 中的 \pkg{expl3}、\pkg{xparse} 和 \pkg{l3keys2e} 宏包。
% 特别感谢 \pkg{fduthesis} 与 \pkg{zhlipsum} 提供的处理思路。
% 特别感谢 \cls{fduthesis} 与 \pkg{zhlipsum} 提供的处理思路。
%
% 欲使用本宏包,在终端键入下述 \pkg{tlmgr} 的命令(很可能需要管理员权限):
% \begin{shellexample}[morekeywords={tlmgr,install}]
% tlmgr install njuvisual
% \end{shellexample}
% 即可完成安装
% 即可完成安装。
%
%
% \section{使用方法}
%
% 本节提供命令的使用方法。关于绘制的内容,请参阅后文的 \ref{subsec:colors-and-curves}。
%
% \subsection{标准色彩}
%
% \begin{function}{\color}
Expand Down Expand Up @@ -258,13 +261,14 @@ through XeTeX.
% \end{table}
% \endgroup
%
%
% \subsection{标准图标}
%
% \begin{function}[added=2021-09-24,updated=2021-11-27]{\njuemblem}
% \begin{syntax}
% \tn{njuemblem}\oarg{选项}\Arg{宽度}\Arg{高度}
% \end{syntax}
% 生成徽标,默认生成校徽。参数 \meta{选项} 是可选的。注意各
% 生成徽标,默认生成校徽。参数 \oarg{选项} 是可选的,详见下文说明。注意各
% 参数之间不可以有空格。
% \end{function}
%
Expand All @@ -286,7 +290,7 @@ through XeTeX.
%
% \begin{function}[added=2021-11-27]{color,color*}
% \begin{syntax}
% color = \meta{主要颜色}
% color = \meta{主要颜色}
% color* = \meta{辅助颜色}
% \end{syntax}
% 定制图标颜色。
Expand Down Expand Up @@ -330,7 +334,7 @@ through XeTeX.
% \end{table}
% \endgroup
%
% 举例如下
% 对这两个命令的举例如下
% \begin{latexexample}[moretexcs={\njuemblem,\njuname}]
% \njuemblem{!}{3cm} % 生成指定大小的紫色南大校徽
% \njuname{4cm}{!} % 生成指定大小的紫色南大中文校名
Expand All @@ -354,6 +358,7 @@ through XeTeX.
% 生成指定颜色和大小的南京大学校风。
% \end{function}
%
%
% \subsection{导出图像}
% \changes{v0.2}{2021/12/04}{提供导出 PNG 图像的方法。}
%
Expand Down

0 comments on commit 8f49777

Please sign in to comment.