diff options
author | Karl Berry <karl@freefriends.org> | 2023-03-11 21:14:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-03-11 21:14:05 +0000 |
commit | b07ff8c82713eb8f4a519d581381555700235e46 (patch) | |
tree | 792d3a8ecff0f7f3617ce8a28382091e140006fa /Master/texmf-dist/doc/latex | |
parent | 3e43ac8f244fa3488d345bdebe8a5b5f7b583f97 (diff) |
hfutexam (11mar23) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2022.final@66555 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r-- | Master/texmf-dist/doc/latex/hfutexam/CHANGELOG.md | 9 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/hfutexam/hfutexam.pdf | bin | 205310 -> 205967 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/hfutexam/hfutexam.tex | 50 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/hfutexam/hfutexam_cankaodaan.pdf | bin | 92517 -> 94308 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/hfutexam/hfutexam_cankaodaan.tex | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/hfutexam/hfutexam_datizhi.pdf | bin | 70714 -> 71061 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/hfutexam/hfutexam_datizhi.tex | 51 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/hfutexam/hfutexam_shijuan.pdf | bin | 95064 -> 95264 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/hfutexam/hfutexam_shijuan.tex | 25 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/hfutexam/hfutexam_simple.pdf | bin | 110469 -> 112375 bytes |
10 files changed, 78 insertions, 61 deletions
diff --git a/Master/texmf-dist/doc/latex/hfutexam/CHANGELOG.md b/Master/texmf-dist/doc/latex/hfutexam/CHANGELOG.md index 6a7de473b76..1e2dd6ee648 100644 --- a/Master/texmf-dist/doc/latex/hfutexam/CHANGELOG.md +++ b/Master/texmf-dist/doc/latex/hfutexam/CHANGELOG.md @@ -1,5 +1,14 @@ # 更新日志 +## [1.7] - 2023/03/10 ++ 精简了文档类的代码。 ++ 将伪粗体权重统一设置为3以更接近Word的加粗效果。 ++ 调整了标题文字的空格分布。 ++ 为`\XiZhuRenQianMing`命令添加了可选参数,以调节该图像的宽度,默认为`5em`. ++ 加入了命令`\hfutstretch`,为标题中带下划线文字两侧空格长度与各分项之间空格长度的比例,默认为`1.5`. ++ 为简易模式的各个部分添加了书签。 ++ 重新调整了标题的字体和位置。 + ## [1.6] - 2022/12/07 + `\fillblank`的默认高度现在均为`0.5cm`. diff --git a/Master/texmf-dist/doc/latex/hfutexam/hfutexam.pdf b/Master/texmf-dist/doc/latex/hfutexam/hfutexam.pdf Binary files differindex a470ca1a02e..69731d6fbce 100644 --- a/Master/texmf-dist/doc/latex/hfutexam/hfutexam.pdf +++ b/Master/texmf-dist/doc/latex/hfutexam/hfutexam.pdf diff --git a/Master/texmf-dist/doc/latex/hfutexam/hfutexam.tex b/Master/texmf-dist/doc/latex/hfutexam/hfutexam.tex index dc0f9769ab5..0579704f5a9 100644 --- a/Master/texmf-dist/doc/latex/hfutexam/hfutexam.tex +++ b/Master/texmf-dist/doc/latex/hfutexam/hfutexam.tex @@ -2,7 +2,7 @@ %% 示例所需的自定义命令 \newcommand{\diff}{\,\mathrm{d}} -\usetikzlibrary{arrows.meta, overlay-beamer-styles} +\usetikzlibrary{arrows.meta} \newfontfamily\couriernew{Courier New} \usepackage{enumitem} \usepackage{tcolorbox} @@ -12,11 +12,11 @@ \definecolor{lightgrey}{rgb}{0.9,0.9,0.9} \definecolor{frenchplum}{RGB}{190,20,83} \lstset{language=[LaTeX]TeX, - basicstyle=\couriernew, - texcsstyle=*\color{winered}, + basicstyle=\couriernew\color{blue}, + rulecolor=\color{black}, + texcsstyle=*\color{red}, mathescape, breaklines=true, - keywordstyle=\color{winered}, commentstyle=\color{green!70!black}, stringstyle=\color{green!50!blue}, frame=single, @@ -24,14 +24,14 @@ framerule=0.5pt, columns=flexible, backgroundcolor=\color{black!5}, - morekeywords={\diff, \maketitle, \titlesep, \BiaoTi, \XueNian, \XueQi, \KeChengDaiMa, \KeChengMingCheng, \XueFen, \KeChengXingZhi, \KaoShiXingShi, \ZhuanYeBanJi, \KaoShiRiQi, \MingTiJiaoShi, \XiZhuRenQianMing, \tigan, \scorebox, \score, \Score, \fillblank, \xx, \notice, \xuanzeti, \yihang, \erhang, \sihang, XeLaTeX}, - keywordstyle=\color{winered}, - morekeywords=[2]{hfutexam, shijuan, datizhi, cankaodaan, simple, nofangzheng, flalign, 5cm, enumerate, align}, - keywordstyle=[2]\color{blue}, + morekeywords={\diff, \maketitle, \titlesep, \BiaoTi, \XueNian, \XueQi, \KeChengDaiMa, \KeChengMingCheng, \XueFen, \KeChengXingZhi, \KaoShiXingShi, \ZhuanYeBanJi, \KaoShiRiQi, \MingTiJiaoShi, \XiZhuRenQianMing, \tigan, \scorebox, \score, \Score, \fillblank, \xx, \notice, \xuanzeti, \yihang, \erhang, \sihang, XeLaTeX, \hfutstretch}, + keywordstyle=\color{red}, + % morekeywords=[2]{hfutexam, shijuan, datizhi, cankaodaan, simple, nofangzheng, flalign, 5cm, enumerate, align}, + % keywordstyle=[2]\color{blue}, } \tcbset{ colback=white, - colframe=blue, + colframe=black, boxrule=0.5pt, arc=0pt, } @@ -56,7 +56,7 @@ \tigan{一、模板选项} \indent -本模板 (2022/12/07 v1.6) 旨在为将合肥工业大学试卷的 word 格式转为\LaTeX{}格式. +本模板 (2023/03/10 v1.7) 旨在为将合肥工业大学试卷的 word 格式转为\LaTeX{}格式. 使用时, 只需在文档开头写上 \begin{lstlisting} \documentclass[shijuan]{hfutexam} @@ -67,10 +67,10 @@ \indent 可使用的选项为: \lstinline|shijuan| (试卷), \lstinline|datizhi| (答题纸), \lstinline|cankaodaan| (参考答案) 和 \lstinline|simple| (简易模式). 如果留空则为默认值 \lstinline|shijuan| (试卷). \begin{enumerate} -\item 试卷/答题纸/参考答案三个选项下页面会设置为 A3 大小, 三种情形的页眉页脚显示的内容以及标题的文字间隔有所不同. +\item 试卷/答题纸/参考答案三个选项下页面会设置为 A3 大小的双栏模式, 相应的标题、页眉和页脚内容有所不同. \item 简易模式选项下页面会设置为 A4 大小, 页眉页脚也较为简单. 此时需要使用命令 \lstinline|\maketitle| 来生成标题. 一般用于保存(多张)试卷的内容,或者便于打印使用. -\item 标题默认使用方正字体, 因此请在使用前先安装字体: {\bfseries\titlesongti 方正小标宋}和{\bfseries\titlefangsong 方正仿宋}(右键选择为所有用户安装), 否则请使用选项 \lstinline|nofangzheng| (采用新宋体和仿宋代替). +\item 标题默认使用方正字体, 因此请在使用前先安装字体: {\bfseries\hfutFontTitle 方正小标宋}和{\bfseries\hfutFontHead 方正仿宋}(右键选择为所有用户安装), 否则请使用选项 \lstinline|nofangzheng| (采用新宋体和仿宋代替). \end{enumerate} \tigan{二、试卷信息} @@ -91,37 +91,38 @@ \ZhuanYeBanJi{少数民族预科班} % 专业班级, 一般不需要填写 \KaoShiRiQi{2022年6月18日8:00-10:00} % 考试日期 \MingTiJiaoShi{集体} % 命题教师 -\XiZhuRenQianMing{dengbing.png} % 系主任签名 +\XiZhuRenQianMing[5em]{dengbing.png} % 系主任签名的对应图片 \end{lstlisting} -其中系主任签名处需要填写相应的图片名, 若不设置或设置为空则不显示. +\indent 若不设置系主任签名或设置为空则不显示, 它的可选参数表示该图片的显示宽度, 默认为 \lstinline|5em|. 其它选项默认均为空, 可根据需要只填部分内容. -\newpage -\tigan{三、命令} +\tigan{三、解答题} \begin{enumerate} -\item \lstinline|\tigan{三、命令}| 用于生成题干, 字体相对较大, 且为黑体. 小题建议使用~{\color{blue}\lstinline|enumerate|} 环境来生成. +\item \lstinline|\hfutstretch{1.5}| 用于设置标题中\uline{带下划线文字两侧空格}与\uline{各分项之间空格}的宽度比, 默认为\lstinline|1.5|. +\item \lstinline|\tigan{三、解答题}| 用于生成题干, 为14pt黑体. 小题用~{\color{blue}\lstinline|enumerate|} 环境来生成. \item \hspace{-8mm}\scorebox\hspace{8mm}\lstinline|\scorebox| 用于生成打分框, 请放置在答题纸一行的开头使用. \vspace{-2mm} \item \lstinline|\notice| 用于生成答题纸提示信息, 请放置在答题纸的正文开始处. \item 答题纸中可能需要设置一定高度的空白, 使用命令 \lstinline|\hspace{5cm}| 之类的命令即可. 也可以使用 \lstinline|\newpage| 换到新的一页(或分栏). +\item 文档默认无缩进, 可在需要处使用命令 \lstinline|\indent| 生成. \end{enumerate} \tigan{填空题相关} \begin{enumerate}[resume] -\item \lstinline|\fillblank[长度][最低高度]{内容}| 用于生成填空题的空白, 内容可以为空. 其中长度默认值是~{\color{blue}{\lstinline|3.5cm|}}, 最低高度默认值是~{\color{blue}{\lstinline|0.5cm|}}. +\item \lstinline|\fillblank[长度][最低高度]{内容}| 用于生成填空题的空白, 内容可以为空. 其中长度默认值是~{\color{blue}{\lstinline|35mm|}}, 最低高度默认值是~{\color{blue}{\lstinline|5mm|}}. \end{enumerate} \textit{\color{blue}{填空题示例:}} \begin{lstlisting} -\textbf{请将你的答案对应填在横线上:}\\[0.5cm] +\textbf{请将你的答案对应填在横线上:}\\[5mm] \textbf{1.} \fillblank{}, \textbf{2.} \fillblank[5cm]{}, \textbf{3.} \fillblank{}. \end{lstlisting} \begin{tcolorbox} -\textbf{请将你的答案对应填在横线上:}\\[0.5cm] +\textbf{请将你的答案对应填在横线上:}\\[5mm] \textbf{1.} \fillblank{}, \textbf{2.} \fillblank[5cm]{}, \textbf{3.} \fillblank{}. @@ -130,8 +131,8 @@ \tigan{选择题相关} \begin{enumerate}[resume] \item \lstinline|\xx{选项}{选项}{选项}{选项}| 用于生成选择题的选项, 直接在选择题题干后使用即可. 该命令会自动根据选项长度设置行数. 只支持四个选项, 选项会自动带上 ABCD. -\item 如果想要手动改变每行显示的选项数, 可使用命令 \lstinline|\xx[每行显示的选项数]{选项}{选项}{选项}{选项}|, 每行只能显示 1, 2 或 4 个选项. -\item \lstinline|\xuanzeti{题号}{答案}| 用于生成答题纸选择题的答题区域, 或参考答案选择题的答案区域. +\item 该命令具有可选参数: \lstinline|\xx[每行显示的选项数]{选项}{选项}{选项}{选项}|, 每行只能显示 1, 2 或 4 个选项. +\item \lstinline|\xuanzeti{题号}{答案}| 用于生成答题纸或参考答案中选择题的答题区域. \end{enumerate} \textit{\color{blue}{选择题示例:}} @@ -175,7 +176,6 @@ \xuanzeti{1}{}\xuanzeti{2}{}\xuanzeti{3}{}\xuanzeti{4}{} \end{tcolorbox} -\newpage \tigan{得分点相关} \begin{enumerate}[resume] \item \lstinline|\score{数值}| 用于在参考答案一行结尾处生成得分点的虚线.\score2 @@ -186,8 +186,8 @@ \begin{lstlisting} \[\int e^x\diff x=e^x+C. \Score{(4分, 缺少常数得2分)}\] \begin{align*} -\int\sin x\diff x&=-\cos x+C, \Score{(4分, 缺少常数得2分)}\\ -\int_0^\pi(1+\sin x)\diff x&=\pi+2. \score5 + \int\sin x\diff x&=-\cos x+C, \Score{(4分, 缺少常数得2分)}\\ + \int_0^\pi(1+\sin x)\diff x&=\pi+2. \score5 \end{align*} \end{lstlisting} diff --git a/Master/texmf-dist/doc/latex/hfutexam/hfutexam_cankaodaan.pdf b/Master/texmf-dist/doc/latex/hfutexam/hfutexam_cankaodaan.pdf Binary files differindex 330e2c8ed72..5be4a7f7c1d 100644 --- a/Master/texmf-dist/doc/latex/hfutexam/hfutexam_cankaodaan.pdf +++ b/Master/texmf-dist/doc/latex/hfutexam/hfutexam_cankaodaan.pdf diff --git a/Master/texmf-dist/doc/latex/hfutexam/hfutexam_cankaodaan.tex b/Master/texmf-dist/doc/latex/hfutexam/hfutexam_cankaodaan.tex index e9ca966fc35..c4e8f069b9d 100644 --- a/Master/texmf-dist/doc/latex/hfutexam/hfutexam_cankaodaan.tex +++ b/Master/texmf-dist/doc/latex/hfutexam/hfutexam_cankaodaan.tex @@ -1,4 +1,4 @@ -\documentclass[cankaodaan,blue]{hfutexam} +\documentclass[cankaodaan]{hfutexam} \usepackage{extarrows} \newcommand{\diff}{\,\mathrm{d}} @@ -14,7 +14,7 @@ \ZhuanYeBanJi{少数民族预科班} \KaoShiRiQi{2022年6月18日8:00-10:00} \MingTiJiaoShi{集体} -%\XiZhuRenQianMing{dengbing.png} +% \XiZhuRenQianMing{dengbing.png} \tigan{一、填空题(每小题3分,共18分)} diff --git a/Master/texmf-dist/doc/latex/hfutexam/hfutexam_datizhi.pdf b/Master/texmf-dist/doc/latex/hfutexam/hfutexam_datizhi.pdf Binary files differindex c1fdcc715a3..28f58baf36c 100644 --- a/Master/texmf-dist/doc/latex/hfutexam/hfutexam_datizhi.pdf +++ b/Master/texmf-dist/doc/latex/hfutexam/hfutexam_datizhi.pdf diff --git a/Master/texmf-dist/doc/latex/hfutexam/hfutexam_datizhi.tex b/Master/texmf-dist/doc/latex/hfutexam/hfutexam_datizhi.tex index c0d3d1fa84a..31e1b3576fb 100644 --- a/Master/texmf-dist/doc/latex/hfutexam/hfutexam_datizhi.tex +++ b/Master/texmf-dist/doc/latex/hfutexam/hfutexam_datizhi.tex @@ -2,24 +2,24 @@ \newcommand{\diff}{\,\mathrm{d}} \begin{document} -\BiaoTi{合肥工业大学考试专用答卷纸(A)} -\XueNian{2021}{2022} -\XueQi{二} -\KeChengDaiMa{034Y01} -\KeChengMingCheng{数学(下)} -\XueFen{5} +\BiaoTi{合肥工业大学考试专用答题纸(A)} +\XueQi{一} +\XueNian{2022}{2023} +\KeChengDaiMa{1400261B} +\KeChengMingCheng{复变函数与积分变换} +\XueFen{2.5} \KeChengXingZhi{必修} \KaoShiXingShi{闭卷} -\ZhuanYeBanJi{少数民族预科班} -\KaoShiRiQi{2022年6月18日8:00-10:00} +\ZhuanYeBanJi{} +\KaoShiRiQi{2022年11月26日19:00-21:00} \MingTiJiaoShi{集体} -%\XiZhuRenQianMing{dengbing.png} - +% 注意事项 \notice -%\scorebox 为打分框, 必须放在行首 -\scorebox\tigan{一、填空题(每小题3分,共18分)} +% \scorebox 为打分框, 必须放在行首 +\scorebox +\tigan{一、填空题(每小题3分,共18分)} \textbf{请将你的答案对应填在横线上:}\\[0.5cm] \textbf{1.} \fillblank{}, @@ -29,7 +29,8 @@ \textbf{5.} \fillblank{}, \textbf{6.} \fillblank{}. -\scorebox\tigan{二、选择题(每小题3分,共18分)} +\scorebox +\tigan{二、选择题(每小题3分,共18分)} \textbf{请将你所选择的字母 A, B, C, D 之一对应填在下列表格里:} @@ -43,29 +44,37 @@ \tigan{三、解答题(每小题8分,共64分)} -\scorebox\textbf{1. (8分)【解】} +\scorebox +\textbf{1. (8分)【解】} % \vspace 用于生成一定高度的空白, \newpage 直接换页 \vspace{3cm} -\scorebox\textbf{2. (8分)【解】} +\scorebox +\textbf{2. (8分)【解】} \newpage -\scorebox\textbf{3. (8分)【解】} +\scorebox +\textbf{3. (8分)【解】} \vspace{7cm} -\scorebox\textbf{4. (8分)【解】} +\scorebox +\textbf{4. (8分)【解】} \newpage -\scorebox\textbf{5. (8分)【解】} +\scorebox +\textbf{5. (8分)【解】} \vspace{7cm} -\scorebox\textbf{6. (8分)【证明】} +\scorebox +\textbf{6. (8分)【证明】} \newpage -\scorebox\textbf{7. (8分)【证明】} +\scorebox +\textbf{7. (8分)【证明】} \vspace{7cm} -\scorebox\textbf{8. (8分)【解】} +\scorebox +\textbf{8. (8分)【解】} \end{document} diff --git a/Master/texmf-dist/doc/latex/hfutexam/hfutexam_shijuan.pdf b/Master/texmf-dist/doc/latex/hfutexam/hfutexam_shijuan.pdf Binary files differindex b8e5045e710..35222d2cab5 100644 --- a/Master/texmf-dist/doc/latex/hfutexam/hfutexam_shijuan.pdf +++ b/Master/texmf-dist/doc/latex/hfutexam/hfutexam_shijuan.pdf diff --git a/Master/texmf-dist/doc/latex/hfutexam/hfutexam_shijuan.tex b/Master/texmf-dist/doc/latex/hfutexam/hfutexam_shijuan.tex index e4a5617329f..9be69f2a92a 100644 --- a/Master/texmf-dist/doc/latex/hfutexam/hfutexam_shijuan.tex +++ b/Master/texmf-dist/doc/latex/hfutexam/hfutexam_shijuan.tex @@ -1,6 +1,6 @@ \documentclass{hfutexam} \newcommand{\diff}{\,\mathrm{d}} -\usetikzlibrary{arrows.meta, overlay-beamer-styles} +\usetikzlibrary{arrows.meta} \begin{document} \BiaoTi{合肥工业大学试卷(A)} @@ -12,10 +12,9 @@ \KeChengXingZhi{必修} \KaoShiXingShi{闭卷} \ZhuanYeBanJi{少数民族预科班} -\KaoShiRiQi{2022年6月18日8:00-10:00} +\KaoShiRiQi{2022年2月29日8:00-10:00} \MingTiJiaoShi{集体} -\XiZhuRenQianMing{} -% \XiZhuRenQianMing{dengbing.png} +% \XiZhuRenQianMing[4em]{dengbing.png} \tigan{一、填空题(每题3分,共18分)} \begin{enumerate} @@ -37,15 +36,15 @@ \item 设 $f(x)=\arctan\dfrac1{x(x-1)^2}$, 则 $x=0$ 是 $f(x)$ 的(~~~~). \xx{可去间断点}{跳跃间断点}{第二类间断点}{连续点} \item -\begin{tikzpicture}[overlay,xshift=13cm,yshift=-3.5cm] -\draw[-Stealth,thick](-3,0)--(3,0); -\draw[-Stealth,thick](0,-1)--(0,3); -\draw[very thick,smooth,domain=-55:55] plot ({\x/50-1.3}, {tan(\x)*tan(\x)}); -\draw[very thick,smooth,domain=0.15:2] plot ({\x}, {-ln(\x)}); -\draw - (-0.3,-0.3) node {$O$} - (2.8,-0.3) node {$x$} - (-0.3,2.8) node {$y$}; +\begin{tikzpicture}[overlay,xshift=130mm,yshift=-35mm] + \draw[-Stealth,thick](-3,0)--(3,0); + \draw[-Stealth,thick](0,-1)--(0,3); + \draw[very thick,smooth,domain=-55:55] plot ({\x/50-1.3}, {tan(\x)*tan(\x)}); + \draw[very thick,smooth,domain=0.15:2] plot ({\x}, {-ln(\x)}); + \draw + (-0.3,-0.3) node {$O$} + (2.8,-0.3) node {$x$} + (-0.3,2.8) node {$y$}; \end{tikzpicture} 设 $f(x)$ 是定义在 $(-\infty,+\infty)$ 上的连续函数, 且 $f'(x)$ 的图像如下图所示, 则 $f(x)$ 有(~~~~). % 手动设置为每行1个 diff --git a/Master/texmf-dist/doc/latex/hfutexam/hfutexam_simple.pdf b/Master/texmf-dist/doc/latex/hfutexam/hfutexam_simple.pdf Binary files differindex b7008d98fe4..157e0a4c4ff 100644 --- a/Master/texmf-dist/doc/latex/hfutexam/hfutexam_simple.pdf +++ b/Master/texmf-dist/doc/latex/hfutexam/hfutexam_simple.pdf |