20220924 noon

This commit is contained in:
weiye.wang 2022-09-24 13:58:30 +08:00
parent d667cfaf66
commit 282a1782cf
6 changed files with 1189 additions and 69 deletions

View File

@ -0,0 +1,76 @@
\documentclass[10pt,a4paper,twoside]{article}
\usepackage[UTF8, fontset = none, heading = true]{ctex}
\setCJKmainfont[BoldFont=黑体,ItalicFont=楷体]{华文中宋}
\usepackage{amssymb,amsmath,amsfonts,amsthm,mathrsfs,dsfont,graphicx}
\usepackage{ifthen,indentfirst,enumerate,color,lastpage}
\usepackage{tikz}
\usepackage{multicol}
\usepackage{makecell}
\usepackage{longtable}
\usepackage{diagbox}
\usepackage[top=1in, bottom=1in,left=0.8in,right=0.8in]{geometry}
\usepackage{fancyhdr}
\fancyhf{}
\fancyhead[LO]{学号\blank{50} \ 姓名\blank{80}}
\chead{\notestitle}
\rhead{--\ \thepage\ of \pageref{LastPage} \ --}
\pagestyle{fancy}
\ctexset{section={
name={},
number=\chinese{section},
}}
\CTEXsetup[format={\bfseries\raggedright}]{section}
\usetikzlibrary{arrows,calc,intersections,patterns,decorations.pathreplacing,3d,angles,quotes,positioning,shapes.geometric}
\renewcommand{\baselinestretch}{1.5}
\newtheorem{defi}{定义~}
\newtheorem{eg}{例~}
\newtheorem{ex}{~}
\newtheorem{rem}{注~}
\newtheorem{thm}{定理~}
\newtheorem{coro}{推论~}
\newtheorem{axiom}{公理~}
\newtheorem{prop}{性质~}
\newcommand{\blank}[1]{\underline{\hbox to #1pt{}}}
\newcommand{\bracket}[1]{(\hbox to #1pt{})}
\newcommand{\onech}[4]{\par\begin{tabular}{p{.9\textwidth}}
A.~#1\\
B.~#2\\
C.~#3\\
D.~#4
\end{tabular}}
\newcommand{\twoch}[4]{\par\begin{tabular}{p{.46\textwidth}p{.46\textwidth}}
A.~#1& B.~#2\\
C.~#3& D.~#4
\end{tabular}}
\newcommand{\vartwoch}[4]{\par\begin{tabular}{p{.46\textwidth}p{.46\textwidth}}
(1)~#1& (2)~#2\\
(3)~#3& (4)~#4
\end{tabular}}
\newcommand{\fourch}[4]{\par\begin{tabular}{p{.23\textwidth}p{.23\textwidth}p{.23\textwidth}p{.23\textwidth}}
A.~#1 &B.~#2& C.~#3& D.~#4
\end{tabular}}
\newcommand{\varfourch}[4]{\par\begin{tabular}{p{.23\textwidth}p{.23\textwidth}p{.23\textwidth}p{.23\textwidth}}
(1)~#1 &(2)~#2& (3)~#3& (4)~#4
\end{tabular}}
% 修改标题处
\newcommand{\notestitle}{标题文字待处理}
\begin{document}
\begin{center}
{\bf\large \notestitle}
\end{center}
%\section{课前练习}
\begin{enumerate}[1.]
待替换1
\end{enumerate}
\end{document}

View File

@ -2,15 +2,15 @@
"cells": [
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 47,
"metadata": {},
"outputs": [],
"source": [
"import os,re,json,time\n",
"\n",
"\"\"\"---设置原题目id与新题目id---\"\"\"\n",
"old_id = \"8191\"\n",
"new_id = \"30028\"\n",
"old_id = \"3181\"\n",
"new_id = \"30068\"\n",
"\"\"\"---设置完毕---\"\"\"\n",
"\n",
"old_id = old_id.zfill(6)\n",
@ -50,7 +50,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3.9.7 ('base')",
"display_name": "Python 3.8.8 ('base')",
"language": "python",
"name": "python3"
},
@ -64,12 +64,12 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.7"
"version": "3.8.8"
},
"orig_nbformat": 4,
"vscode": {
"interpreter": {
"hash": "e4cce46d6be9934fbd27f9ca0432556941ea5bdf741d4f4d64c6cd7f8dfa8fba"
"hash": "d311ffef239beb3b8f3764271728f3972d7b090c974f8e972fcdeedf230299ac"
}
}
},

View File

@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 3,
"metadata": {},
"outputs": [
{
@ -11,11 +11,9 @@
"text": [
"正在处理题块 1 .\n",
"题块 1 处理完毕.\n",
"正在处理题块 2 .\n",
"题块 2 处理完毕.\n",
"开始编译教师版本pdf文件: 临时文件/19_复数的几何意义与实系数二次方程预选_教师_20220923.tex\n",
"开始编译教师版本pdf文件: 临时文件/国庆卷_教师_20220924.tex\n",
"0\n",
"开始编译学生版本pdf文件: 临时文件/19_复数的几何意义与实系数二次方程预选_学生_20220923.tex\n",
"开始编译学生版本pdf文件: 临时文件/国庆卷_学生_20220924.tex\n",
"0\n"
]
}
@ -28,29 +26,34 @@
"\"\"\"---设置模式结束---\"\"\"\n",
"\n",
"\"\"\"---设置模板文件名---\"\"\"\n",
"template_file = \"模板文件/第一轮复习讲义模板.tex\"\n",
"# template_file = \"模板文件/第一轮复习讲义模板.tex\"\n",
"# template_file = \"模板文件/测验周末卷模板.tex\"\n",
"template_file = \"模板文件/日常选题讲义模板.tex\"\n",
"\"\"\"---设置模板文件名结束---\"\"\"\n",
"\n",
"\"\"\"---设置其他预处理替换命令---\"\"\"\n",
"#2023届第一轮讲义更换标题\n",
"exec_list = [(\"标题数字待处理\",\"19\"),(\"标题文字待处理\",\"复数的几何意义与实系数二次方程\")] \n",
"enumi_mode = 0\n",
"# exec_list = [(\"标题数字待处理\",\"19\"),(\"标题文字待处理\",\"复数的几何意义与实系数二次方程\")] \n",
"# enumi_mode = 0\n",
"\n",
"#2023届测验卷与周末卷\n",
"# exec_list = [(\"标题替换\",\"周末卷03\")]\n",
"# enumi_mode = 1\n",
"\n",
"#日常选题讲义\n",
"exec_list = [(\"标题文字待处理\",\"2022年国庆卷(易错题订正)\")] \n",
"enumi_mode = 0\n",
"\n",
"\"\"\"---其他预处理替换命令结束---\"\"\"\n",
"\n",
"\"\"\"---设置目标文件名---\"\"\"\n",
"destination_file = \"临时文件/19_复数的几何意义与实系数二次方程预选\"\n",
"destination_file = \"临时文件/国庆卷\"\n",
"\"\"\"---设置目标文件名结束---\"\"\"\n",
"\n",
"\n",
"\"\"\"---设置题号数据---\"\"\"\n",
"problems = [\n",
"\"788,422,637,2010,2020,902,2018,598,2015,3521,3524,3534,2057,3542,168,2085,2086,3541,3544\",\n",
"\"163,2012,3519,3520,3523,3522,3535,831,2016,2017,3528,7313,7314,3551,3758,4167,9032,172\"\n",
"\"30029:30068\"\n",
"]\n",
"\"\"\"---设置题号数据结束---\"\"\"\n",
"\n",
@ -194,7 +197,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3.9.7 ('base')",
"display_name": "Python 3.8.8 ('base')",
"language": "python",
"name": "python3"
},
@ -208,12 +211,12 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.7"
"version": "3.8.8"
},
"orig_nbformat": 4,
"vscode": {
"interpreter": {
"hash": "e4cce46d6be9934fbd27f9ca0432556941ea5bdf741d4f4d64c6cd7f8dfa8fba"
"hash": "d311ffef239beb3b8f3764271728f3972d7b090c974f8e972fcdeedf230299ac"
}
}
},

View File

@ -2,16 +2,16 @@
"cells": [
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 4,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"开始编译教师版本pdf文件: 临时文件/题库_教师用_20220923.tex\n",
"开始编译教师版本pdf文件: 临时文件/国庆卷粗_教师用_20220924.tex\n",
"0\n",
"开始编译学生版本pdf文件: 临时文件/题库_学生用_20220923.tex\n",
"开始编译学生版本pdf文件: 临时文件/国庆卷粗_学生用_20220924.tex\n",
"0\n"
]
}
@ -26,13 +26,14 @@
"\"\"\"---设置题目列表---\"\"\"\n",
"#留空为编译全题库\n",
"problems = r\"\"\"\n",
"30029:30068\n",
"\n",
"\"\"\"\n",
"\"\"\"---设置题目列表结束---\"\"\"\n",
"\n",
"\"\"\"---设置文件名---\"\"\"\n",
"#目录和文件的分隔务必用/\n",
"filename = \"临时文件/题库\"\n",
"filename = \"临时文件/国庆卷粗\"\n",
"\"\"\"---设置文件名结束---\"\"\"\n",
"\n",
"\n",
@ -157,9 +158,7 @@
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"\n"
]
"source": []
}
],
"metadata": {

File diff suppressed because it is too large Load Diff