summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-06-23 23:26:54 +0000
committerKarl Berry <karl@freefriends.org>2014-06-23 23:26:54 +0000
commiteebd4ae245ee096e3f02f10db88408cb906aa7ec (patch)
treecd9961d84df8bb8f46ded64c200e8a1920931ac0 /Master/texmf-dist
parent54d546a4891626936992e9cdf0b1cdf4e6cc0aeb (diff)
bhcexam (23jun14)
git-svn-id: svn://tug.org/texlive/trunk@34360 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/bhcexam/Makefile88
-rw-r--r--Master/texmf-dist/doc/latex/bhcexam/README2
-rw-r--r--Master/texmf-dist/doc/latex/bhcexam/test1.tex214
-rw-r--r--Master/texmf-dist/doc/latex/bhcexam/test2.tex213
-rw-r--r--Master/texmf-dist/doc/latex/bhcexam/test3.tex207
-rw-r--r--Master/texmf-dist/doc/latex/bhcexam/test4.tex213
-rw-r--r--Master/texmf-dist/source/latex/bhcexam/BHCexam.dtx378
-rw-r--r--Master/texmf-dist/source/latex/bhcexam/BHCexam.ins214
-rw-r--r--Master/texmf-dist/tex/latex/bhcexam/BHCexam.cfg7
-rw-r--r--Master/texmf-dist/tex/latex/bhcexam/BHCexam.cls131
10 files changed, 354 insertions, 1313 deletions
diff --git a/Master/texmf-dist/doc/latex/bhcexam/Makefile b/Master/texmf-dist/doc/latex/bhcexam/Makefile
deleted file mode 100644
index c7875fbf417..00000000000
--- a/Master/texmf-dist/doc/latex/bhcexam/Makefile
+++ /dev/null
@@ -1,88 +0,0 @@
-PACKAGE = BHCexam
-########################################################################
-## LaTeX2e Makefile
-##
-## Update the following defines for your local configuration,
-##
-TEXMFDIR = ~/texmf/tex/latex/BHCexam
-GZIP = gzip
-XELATEX = xelatex
-PDFLATEX = pdflatex
-MAKEINDEX = makeindex
-########################################################################
-## make [all] Generates the class(.cls) file, the configuration(.cfg)
-## file and the documentation (.pdf). If you don't have
-## the required MAKEINDEX (along with `gglo.ist' and
-## `gind.ist'), then change the first dependency
-## of "all" from "fullpdf" to "pdf" below.
-## make [un]install Install or uninstall the class(.cls) file and
-## the configuration(.cfg) file.
-## make [very]clean Clean out various auxillary files. "veryclean"
-## cleans out more stuff.
-########################################################################
-## make [full]doc Generate the documentation. The "fulldoc" version
-## adds the change log and the cross-references.
-## make idx Generate the change log and the cross-references
-## (for fulldoc -- requires MAKEINDEX).
-## make cls Generate the class(.cls) file and the
-## configuration(.cfg) file.
-
-########################################################################
-## make test Run test file(s)
-## make src Builds a src distribution (.tar.gz) file.
-## make distribtion Builds a distribution (.tar.gz) file.
-########################################################################
-
-all: veryclean cls fulldoc test clean
-
-install: cls
- cp $(PACKAGE).{cls,cfg} $(TEXMFDIR)
-uninstall: ; rm $(TEXMFDIR)/$(PACKAGE).{cls,cfg}
-clean: ; -rm -f *.dvi *.log *.aux *.lof *.lot *.toc
- -rm -f *.idx *.ind *.glo *.gls *.ilg *.out
-veryclean: ; -rm -f *.dvi *.log *.aux *.lof *.lot *.toc
- -rm -f *.idx *.ind *.glo *.gls *.ilg *.out
- -rm -f *.idx *.ind *.glo *.gls *.ilg *.out
- -rm -f *.sty *.cls *.pdf *pk *.cfg *.tar
-
-
-doc: ; $(XELATEX) $(PACKAGE).dtx
-
-cls: ; $(XELATEX) $(PACKAGE).ins
-
-fulldoc: doc $(PACKAGE).gls $(PACKAGE).ind
- $(XELATEX) $(PACKAGE).dtx
-
-src: ; mkdir $(PACKAGE)
- cp -p README Makefile $(PACKAGE)
- cp -p $(PACKAGE).dtx $(PACKAGE).ins $(PACKAGE)
- cp -p test*.tex $(PACKAGE)
- tar -cvf $(PACKAGE)-src.tar ./$(PACKAGE)
- rm -rf $(PACKAGE)
- $(GZIP) -9 $(PACKAGE)-src.tar
-
-distribution: veryclean cls fulldoc test clean
- mkdir $(PACKAGE)
- cp -p $(PACKAGE).cls $(PACKAGE).cfg $(PACKAGE)
- cp -p *.tex $(PACKAGE)
- cp -p *.pdf $(PACKAGE)
- tar -cvf $(PACKAGE).tar ./$(PACKAGE)
- rm -rf $(PACKAGE)
- $(GZIP) -9 $(PACKAGE).tar
-
-$(PACKAGE).gls: doc
- $(MAKEINDEX) -s gglo.ist -o $(PACKAGE).gls $(PACKAGE).glo
-
-$(PACKAGE).ind: doc
- $(MAKEINDEX) -s gind.ist -o $(PACKAGE).ind $(PACKAGE).idx
-
-test: cls
- $(XELATEX) test1.tex
- $(XELATEX) test1.tex
- $(XELATEX) test2.tex
- $(XELATEX) test2.tex
- $(XELATEX) test3.tex
- $(XELATEX) test3.tex
- $(PDFLATEX) test4.tex
- $(PDFLATEX) test4.tex
-
diff --git a/Master/texmf-dist/doc/latex/bhcexam/README b/Master/texmf-dist/doc/latex/bhcexam/README
index 29b31c60664..c7ede393ba3 100644
--- a/Master/texmf-dist/doc/latex/bhcexam/README
+++ b/Master/texmf-dist/doc/latex/bhcexam/README
@@ -1,4 +1,4 @@
-This is version 0.1 of the BHCexam document class, dated July 23, 2011.
+This is version 0.3 of the BHCexam document class, dated Feb 18, 2014.
The BHCexam document class attempts to make it easy for even a LaTeX novice to prepare exams.
diff --git a/Master/texmf-dist/doc/latex/bhcexam/test1.tex b/Master/texmf-dist/doc/latex/bhcexam/test1.tex
deleted file mode 100644
index 216ad5f2fbd..00000000000
--- a/Master/texmf-dist/doc/latex/bhcexam/test1.tex
+++ /dev/null
@@ -1,214 +0,0 @@
-\documentclass[printbox,marginline,noindent]{BHCexam}
-\begin{document}
-\printmlol
-\maketitle
-
-\begin{questions}
-\tiankong
-\question 已知~$\bm{a}=(k,-9)$、$\bm{b}=(-1,k)$, $\bm{a}$~与~$\bm{b}$~为平行向量,
- 则~$k=$\sixb.
-\begin{solution}
-$\pm3$
-\end{solution}
-\question 若函数~$f(x)=x^{6m^2-5m-4}\,(m\in\mathbb{Z})$~的图像关于~$y$~轴对称,
- 且~$f(2)<f(6)$, 则~$f(x)$~的解析式为\tenb.
-\begin{solution}
-$f(x)=x^{-4}$
-\end{solution}
-
-\question 若~$f(x+1)=x^2\,(x\leq0)$, 则~$f^{-1}(1)=$\sixb.
-\begin{solution}
-0
-\end{solution}
-
-\question 在~$b\g$~糖水中含糖~$a\g$\,($b>a>0$), 若再添加~$m\g$~糖~($m>0$),
- 则糖水就变甜了.试根据这个事实, 提炼一个不等式\tenb.
-\begin{solution}
-$\dfrac{a+m}{b+n}>\dfrac{a}{b}$
-\end{solution}
-
-\question 已知~$f(x)=1-\rc_8^1x+\rc_8^2x^2-\rc_8^3x^3+\cdots+\rc_8^8x^8$,
- 则~$f\big(\dfrac{1}{2}+\dfrac{\sqrt{3}}{2}\ri\big)$~的值是\sixb\twob{}.
-\begin{solution}
-$-\dfrac{1}{2}-\dfrac{\sqrt{3}}{2}\ri$
-\end{solution}
-
-\question 自然数~$1,2,3,\ldots,10$~的方差记为~$\sigma^2$,
- 其中的偶数~$2,4,6,8,10$~的方差记为~$\sigma_1^2$,
- 则~$\sigma^2$~与~$\sigma_1^2$~的大小关系为~$\sigma^2$\sixb$\sigma_1^2$.
-\begin{solution}
-$>$
-\end{solution}
-
-\question 若~$\theta$~为三角形的一个内角, 且~$\sin\theta+\cos\theta=\dfrac{2}{3}$,
- 则方程~$x^2\csc\theta-y^2\sec\theta=1$~表示的曲线的焦点坐标是\sixb{}.
-\begin{solution}
-$\big(\pm\dfrac{\sqrt{6}}{3},0\big)$
-\end{solution}
-
-\question 高为~$h$~的棱锥被平行于棱锥底面的截得棱台侧面积是
- 原棱锥的侧面积的~$\dfrac{5}{9}$,
- 则截得的棱台的体积与原棱锥的体积之比是\sixb.
-\begin{solution}
-$19:27$
-\end{solution}
-
-\question 以椭圆~$\dfrac{x^2}{169}+\dfrac{y^2}{144}=1$~的右焦点为圆心,
- 且与双曲线~$\dfrac{x^2}{9}-\dfrac{y^2}{16}=1$~的渐近线相切的圆方程是\tenb.
-\begin{solution}
-$(x-5)^2+y^2=16$
-\end{solution}
-
-
-\question 若~$\sqrt{\,\sin x}$~是有理数且~$x$~不是~$\dfrac{\pi}{6}$~的整数倍,
- 则~$x$~可能取的值是\tenb.(只要求写出一个)
-\begin{solution}
-$\arcsin\dfrac{1}{4}$ 等
-\end{solution}
-
-\question 马路上有编号~1~到~10~的~10~盏路灯, 为节约用电又不影响照明,
- 可以关掉其中的~3~盏, 但又不能同时关掉相邻的两盏, 也不能关掉两端的路灯,
- 满足条件的关灯方法有\sixb{}种.
-\begin{solution}
-20
-\end{solution}
-\question 以椭圆~$\dfrac{x^2}{169}+\dfrac{y^2}{144}=1$~的右焦点为圆心,
- 且与双曲线~$\dfrac{x^2}{9}-\dfrac{y^2}{16}=1$~的渐近线相切的圆方程是\tenb.
-\begin{solution}
-$(x-5)^2+y^2=16$
-\end{solution}
-
-\newpage
-
-\question 若~$\sqrt{\,\sin x}$~是有理数且~$x$~不是~$\dfrac{\pi}{6}$~的整数倍,
- 则~$x$~可能取的值是\tenb.(只要求写出一个)
-\begin{solution}
-$\arcsin\dfrac{1}{4}$ 等
-\end{solution}
-
-\question 马路上有编号~1~到~10~的~10~盏路灯, 为节约用电又不影响照明,
- 可以关掉其中的~3~盏, 但又不能同时关掉相邻的两盏, 也不能关掉两端的路灯,
- 满足条件的关灯方法有\sixb{}种.
-\begin{solution}
-20
-\end{solution}
-\xuanze
-\question 已知集合~$A=\left\{\,x\mid \abs{x-1}<3\,\right\}$,
-集合~$B=\{\,y\mid y=x^2+2x+1,x\in\mathbb{R}\,\}$, 则~$A\cap
-\complement_U B$~为
-\begin{choices}
-\choice $[\,0,4)$
-\choice $(-\infty,-2\,]\cup[4,+\infty)$
-\choice $(-2,0)$
-\choice $(0,4)$
-\end{choices}
-\begin{solution}
-C
-\end{solution}
-
-\question 若~$a$、$b$~是直线, $\alpha$、$\beta$~是平面,
-则以下命题中真命题是
-\begin{choices}
-\choice 若~$a$、$b$~异面, $a\subset\alpha$,
-$b\subset\beta$, 且~$a\perp b$, 则~$\alpha\perp\beta$
-\choice 若~$a\pingxing b$, $a\subset\alpha$, $b\subset\beta$,
-则~$\alpha\pingxing\beta$
-\choice 若~$a\pingxing \alpha$,
-$b\subset\beta$, 则~$a$、$b$ 异面
-\choice 若~$a\perp b$, $a\perp\alpha$,
-$b\perp\beta$, 则~$\alpha\perp\beta$
-\end{choices}
-\begin{solution}
-D
-\end{solution}
-
-\question 已知集合~$A=\left\{\,x\mid \abs{x-1}<3\,\right\}$,
-集合~$B=\{\,y\mid y=x^2+2x+1,x\in\mathbb{R}\,\}$, 则~$A\cap
-\complement_U B$~为
-\begin{choices}
-\choice $[\,0,4)$
-\choice $(-\infty,-2\,]\cup[4,+\infty)$
-\choice $(-2,0)$
-\choice $(0,4)$
-\end{choices}
-\begin{solution}
-C
-\end{solution}
-
-\question 若~$a$、$b$~是直线, $\alpha$、$\beta$~是平面,
-则以下命题中真命题是
-\begin{choices}
-\choice 若~$a$、$b$~异面, $a\subset\alpha$,
-$b\subset\beta$, 且~$a\perp b$, 则~$\alpha\perp\beta$
-\choice 若~$a\pingxing b$, $a\subset\alpha$, $b\subset\beta$,
-则~$\alpha\pingxing\beta$
-\choice 若~$a\pingxing \alpha$,
-$b\subset\beta$, 则~$a$、$b$ 异面
-\choice 若~$a\perp b$, $a\perp\alpha$,
-$b\perp\beta$, 则~$\alpha\perp\beta$
-\end{choices}
-\begin{solution}
-D
-\end{solution}
-\newpage
-\jianda
-\question 已知复数~$z$ 满足:$\abs{z}-z^*=\dfrac{10}{1-w\ri}$(其中~$z^*$
-是~$z$ 的共轭复数).
-\begin{parts}
-\part[7] 求复数~$z$;
-\part[7] 若复数~$w=\cos\theta+\ri\sin\theta\,(\theta\in\mathbb{R})$, 求~$\abs{z-2}$ 的取值范围.
-\end{parts}
-
-\begin{solution}
-\begin{parts}
-\part $z=3+4\ri$
-\part $\abs{z-w}\in[4,6]$
-\end{parts}
-\end{solution}
-
-\question[14] 函数~$f(x)=4\sin\dfrac{\pi}{12}x\cdot\sin
- \left(\dfrac{\pi}{2}+\dfrac{\pi}{12}x\right),x\in[a,a+1]$,
- 其中常数~$a\in[0,5]$, 求函数~$f(x)$ 的最大值~$g(a)$.
-
-\begin{solution}
-略
-\end{solution}
-
-\newpage
-\printmlor
-
-\question[16] 函数~$f(x)=4\sin\dfrac{\pi}{12}x\cdot\sin
- \left(\dfrac{\pi}{2}+\dfrac{\pi}{12}x\right),x\in[a,a+1]$,
- 其中常数~$a\in[0,5]$, 求函数~$f(x)$ 的最大值~$g(a)$.
-
-\begin{solution}
-略
-\end{solution}
-
-\newpage
-\question 已知复数~$z$ 满足:$\abs{z}-z^*=\dfrac{10}{1-w\ri}$(其中~$z^*$
-是~$z$ 的共轭复数).
-\begin{parts}
-\part[8] 求复数~$z$;
-\part[8] 若复数~$w=\cos\theta+\ri\sin\theta\,(\theta\in\mathbb{R})$, 求~$\abs{z-2}$ 的取值范围.
-\end{parts}
-
-\begin{solution}
-\begin{parts}
-\part $z=3+4\ri$
-\part $\abs{z-w}\in[4,6]$
-\end{parts}
-\end{solution}
-
-\newpage
-
-\question[18] 函数~$f(x)=4\sin\dfrac{\pi}{12}x\cdot\sin
- \left(\dfrac{\pi}{2}+\dfrac{\pi}{12}x\right),x\in[a,a+1]$,
- 其中常数~$a\in[0,5]$, 求函数~$f(x)$ 的最大值~$g(a)$.
-
-\begin{solution}
-略
-\end{solution}
-
-\end{questions}
-\end{document}
diff --git a/Master/texmf-dist/doc/latex/bhcexam/test2.tex b/Master/texmf-dist/doc/latex/bhcexam/test2.tex
deleted file mode 100644
index ac2c041c24c..00000000000
--- a/Master/texmf-dist/doc/latex/bhcexam/test2.tex
+++ /dev/null
@@ -1,213 +0,0 @@
-\documentclass[16kpaper]{BHCexam}
-\begin{document}
-
-\maketitle
-\mininotice
-
-\begin{questions}
-\tiankong
-\question 已知~$\bm{a}=(k,-9)$、$\bm{b}=(-1,k)$, $\bm{a}$~与~$\bm{b}$~为平行向量,
- 则~$k=$\sixb.
-\begin{solution}
-$\pm3$
-\end{solution}
-\question 若函数~$f(x)=x^{6m^2-5m-4}\,(m\in\mathbb{Z})$~的图像关于~$y$~轴对称,
- 且~$f(2)<f(6)$, 则~$f(x)$~的解析式为\tenb.
-\begin{solution}
-$f(x)=x^{-4}$
-\end{solution}
-
-\question 若~$f(x+1)=x^2\,(x\leq0)$, 则~$f^{-1}(1)=$\sixb.
-\begin{solution}
-0
-\end{solution}
-
-\question 在~$b\g$~糖水中含糖~$a\g$\,($b>a>0$), 若再添加~$m\g$~糖~($m>0$),
- 则糖水就变甜了.试根据这个事实, 提炼一个不等式\tenb.
-\begin{solution}
-$\dfrac{a+m}{b+n}>\dfrac{a}{b}$
-\end{solution}
-
-\question 已知~$f(x)=1-\rc_8^1x+\rc_8^2x^2-\rc_8^3x^3+\cdots+\rc_8^8x^8$,
- 则~$f\big(\dfrac{1}{2}+\dfrac{\sqrt{3}}{2}\ri\big)$~的值是\sixb\twob{}.
-\begin{solution}
-$-\dfrac{1}{2}-\dfrac{\sqrt{3}}{2}\ri$
-\end{solution}
-
-\question 自然数~$1,2,3,\ldots,10$~的方差记为~$\sigma^2$,
- 其中的偶数~$2,4,6,8,10$~的方差记为~$\sigma_1^2$,
- 则~$\sigma^2$~与~$\sigma_1^2$~的大小关系为~$\sigma^2$\sixb$\sigma_1^2$.
-\begin{solution}
-$>$
-\end{solution}
-
-\question 若~$\theta$~为三角形的一个内角, 且~$\sin\theta+\cos\theta=\dfrac{2}{3}$,
- 则方程~$x^2\csc\theta-y^2\sec\theta=1$~表示的曲线的焦点坐标是\sixb{}.
-\begin{solution}
-$\big(\pm\dfrac{\sqrt{6}}{3},0\big)$
-\end{solution}
-
-\question 高为~$h$~的棱锥被平行于棱锥底面的截得棱台侧面积是
- 原棱锥的侧面积的~$\dfrac{5}{9}$,
- 则截得的棱台的体积与原棱锥的体积之比是\sixb.
-\begin{solution}
-$19:27$
-\end{solution}
-
-\question 以椭圆~$\dfrac{x^2}{169}+\dfrac{y^2}{144}=1$~的右焦点为圆心,
- 且与双曲线~$\dfrac{x^2}{9}-\dfrac{y^2}{16}=1$~的渐近线相切的圆方程是\tenb.
-\begin{solution}
-$(x-5)^2+y^2=16$
-\end{solution}
-
-\question 若~$\sqrt{\,\sin x}$~是有理数且~$x$~不是~$\dfrac{\pi}{6}$~的整数倍,
- 则~$x$~可能取的值是\tenb.(只要求写出一个)
-\begin{solution}
-$\arcsin\dfrac{1}{4}$ 等
-\end{solution}
-
-\question 马路上有编号~1~到~10~的~10~盏路灯, 为节约用电又不影响照明,
- 可以关掉其中的~3~盏, 但又不能同时关掉相邻的两盏, 也不能关掉两端的路灯,
- 满足条件的关灯方法有\sixb{}种.
-\begin{solution}
-20
-\end{solution}
-\question 以椭圆~$\dfrac{x^2}{169}+\dfrac{y^2}{144}=1$~的右焦点为圆心,
- 且与双曲线~$\dfrac{x^2}{9}-\dfrac{y^2}{16}=1$~的渐近线相切的圆方程是\tenb.
-\begin{solution}
-$(x-5)^2+y^2=16$
-\end{solution}
-
-\newpage
-
-\question 若~$\sqrt{\,\sin x}$~是有理数且~$x$~不是~$\dfrac{\pi}{6}$~的整数倍,
- 则~$x$~可能取的值是\tenb.(只要求写出一个)
-\begin{solution}
-$\arcsin\dfrac{1}{4}$ 等
-\end{solution}
-
-\question 马路上有编号~1~到~10~的~10~盏路灯, 为节约用电又不影响照明,
- 可以关掉其中的~3~盏, 但又不能同时关掉相邻的两盏, 也不能关掉两端的路灯,
- 满足条件的关灯方法有\sixb{}种.
-\begin{solution}
-20
-\end{solution}
-\xuanze
-\question 已知集合~$A=\left\{\,x\mid \abs{x-1}<3\,\right\}$,
-集合~$B=\{\,y\mid y=x^2+2x+1,x\in\mathbb{R}\,\}$, 则~$A\cap
-\complement_U B$~为
-\begin{choices}
-\choice $[\,0,4)$
-\choice $(-\infty,-2\,]\cup[4,+\infty)$
-\choice $(-2,0)$
-\choice $(0,4)$
-\end{choices}
-\begin{solution}
-C
-\end{solution}
-
-\question 若~$a$、$b$~是直线, $\alpha$、$\beta$~是平面,
-则以下命题中真命题是
-\begin{choices}
-\choice 若~$a$、$b$~异面, $a\subset\alpha$,
-$b\subset\beta$, 且~$a\perp b$, 则~$\alpha\perp\beta$
-\choice 若~$a\pingxing b$, $a\subset\alpha$, $b\subset\beta$,
-则~$\alpha\pingxing\beta$
-\choice 若~$a\pingxing \alpha$,
-$b\subset\beta$, 则~$a$、$b$ 异面
-\choice 若~$a\perp b$, $a\perp\alpha$,
-$b\perp\beta$, 则~$\alpha\perp\beta$
-\end{choices}
-\begin{solution}
-D
-\end{solution}
-
-\question 已知集合~$A=\left\{\,x\mid \abs{x-1}<3\,\right\}$,
-集合~$B=\{\,y\mid y=x^2+2x+1,x\in\mathbb{R}\,\}$, 则~$A\cap
-\complement_U B$~为
-\begin{choices}
-\choice $[\,0,4)$
-\choice $(-\infty,-2\,]\cup[4,+\infty)$
-\choice $(-2,0)$
-\choice $(0,4)$
-\end{choices}
-\begin{solution}
-C
-\end{solution}
-
-\question 若~$a$、$b$~是直线, $\alpha$、$\beta$~是平面,
-则以下命题中真命题是
-\begin{choices}
-\choice 若~$a$、$b$~异面, $a\subset\alpha$,
-$b\subset\beta$, 且~$a\perp b$, 则~$\alpha\perp\beta$
-\choice 若~$a\pingxing b$, $a\subset\alpha$, $b\subset\beta$,
-则~$\alpha\pingxing\beta$
-\choice 若~$a\pingxing \alpha$,
-$b\subset\beta$, 则~$a$、$b$ 异面
-\choice 若~$a\perp b$, $a\perp\alpha$,
-$b\perp\beta$, 则~$\alpha\perp\beta$
-\end{choices}
-\begin{solution}
-D
-\end{solution}
-\newpage
-\jianda
-\question 已知复数~$z$ 满足:$\abs{z}-z^*=\dfrac{10}{1-w\ri}$(其中~$z^*$
-是~$z$ 的共轭复数).
-\begin{parts}
-\part[7] 求复数~$z$;
-\part[7] 若复数~$w=\cos\theta+\ri\sin\theta\,(\theta\in\mathbb{R})$, 求~$\abs{z-2}$ 的取值范围.
-\end{parts}
-
-\begin{solution}
-\begin{parts}
-\part $z=3+4\ri$
-\part $\abs{z-w}\in[4,6]$
-\end{parts}
-\end{solution}
-
-\question[14] 函数~$f(x)=4\sin\dfrac{\pi}{12}x\cdot\sin
- \left(\dfrac{\pi}{2}+\dfrac{\pi}{12}x\right),x\in[a,a+1]$,
- 其中常数~$a\in[0,5]$, 求函数~$f(x)$ 的最大值~$g(a)$.
-
-\begin{solution}
-略
-\end{solution}
-
-\newpage
-
-\question[16] 函数~$f(x)=4\sin\dfrac{\pi}{12}x\cdot\sin
- \left(\dfrac{\pi}{2}+\dfrac{\pi}{12}x\right),x\in[a,a+1]$,
- 其中常数~$a\in[0,5]$, 求函数~$f(x)$ 的最大值~$g(a)$.
-
-\begin{solution}
-略
-\end{solution}
-
-\newpage
-\question 已知复数~$z$ 满足:$\abs{z}-z^*=\dfrac{10}{1-w\ri}$(其中~$z^*$
-是~$z$ 的共轭复数).
-\begin{parts}
-\part[8] 求复数~$z$;
-\part[8] 若复数~$w=\cos\theta+\ri\sin\theta\,(\theta\in\mathbb{R})$, 求~$\abs{z-2}$ 的取值范围.
-\end{parts}
-
-\begin{solution}
-\begin{parts}
-\part $z=3+4\ri$
-\part $\abs{z-w}\in[4,6]$
-\end{parts}
-\end{solution}
-
-\newpage
-
-\question[18] 函数~$f(x)=4\sin\dfrac{\pi}{12}x\cdot\sin
- \left(\dfrac{\pi}{2}+\dfrac{\pi}{12}x\right),x\in[a,a+1]$,
- 其中常数~$a\in[0,5]$, 求函数~$f(x)$ 的最大值~$g(a)$.
-
-\begin{solution}
-略
-\end{solution}
-
-\end{questions}
-\end{document}
diff --git a/Master/texmf-dist/doc/latex/bhcexam/test3.tex b/Master/texmf-dist/doc/latex/bhcexam/test3.tex
deleted file mode 100644
index 1a01eb41bc7..00000000000
--- a/Master/texmf-dist/doc/latex/bhcexam/test3.tex
+++ /dev/null
@@ -1,207 +0,0 @@
-\documentclass[answers]{BHCexam}
-\begin{document}
-
-\maketitle
-\mininotice
-
-\begin{questions}
-\tiankong
-\question 已知~$\bm{a}=(k,-9)$、$\bm{b}=(-1,k)$, $\bm{a}$~与~$\bm{b}$~为平行向量,
- 则~$k=$\sixb.
-\begin{solution}
-$\pm3$
-\end{solution}
-\question 若函数~$f(x)=x^{6m^2-5m-4}\,(m\in\mathbb{Z})$~的图像关于~$y$~轴对称,
- 且~$f(2)<f(6)$, 则~$f(x)$~的解析式为\tenb.
-\begin{solution}
-$f(x)=x^{-4}$
-\end{solution}
-
-\question 若~$f(x+1)=x^2\,(x\leq0)$, 则~$f^{-1}(1)=$\sixb.
-\begin{solution}
-0
-\end{solution}
-
-\question 在~$b\g$~糖水中含糖~$a\g$\,($b>a>0$), 若再添加~$m\g$~糖~($m>0$),
- 则糖水就变甜了.试根据这个事实, 提炼一个不等式\tenb.
-\begin{solution}
-$\dfrac{a+m}{b+n}>\dfrac{a}{b}$
-\end{solution}
-
-\question 已知~$f(x)=1-\rc_8^1x+\rc_8^2x^2-\rc_8^3x^3+\cdots+\rc_8^8x^8$,
- 则~$f\big(\dfrac{1}{2}+\dfrac{\sqrt{3}}{2}\ri\big)$~的值是\sixb\twob{}.
-\begin{solution}
-$-\dfrac{1}{2}-\dfrac{\sqrt{3}}{2}\ri$
-\end{solution}
-
-\question 自然数~$1,2,3,\ldots,10$~的方差记为~$\sigma^2$,
- 其中的偶数~$2,4,6,8,10$~的方差记为~$\sigma_1^2$,
- 则~$\sigma^2$~与~$\sigma_1^2$~的大小关系为~$\sigma^2$\sixb$\sigma_1^2$.
-\begin{solution}
-$>$
-\end{solution}
-
-\question 若~$\theta$~为三角形的一个内角, 且~$\sin\theta+\cos\theta=\dfrac{2}{3}$,
- 则方程~$x^2\csc\theta-y^2\sec\theta=1$~表示的曲线的焦点坐标是\sixb{}.
-\begin{solution}
-$\big(\pm\dfrac{\sqrt{6}}{3},0\big)$
-\end{solution}
-
-\question 高为~$h$~的棱锥被平行于棱锥底面的截得棱台侧面积是
- 原棱锥的侧面积的~$\dfrac{5}{9}$,
- 则截得的棱台的体积与原棱锥的体积之比是\sixb.
-\begin{solution}
-$19:27$
-\end{solution}
-
-\question 以椭圆~$\dfrac{x^2}{169}+\dfrac{y^2}{144}=1$~的右焦点为圆心,
- 且与双曲线~$\dfrac{x^2}{9}-\dfrac{y^2}{16}=1$~的渐近线相切的圆方程是\tenb.
-\begin{solution}
-$(x-5)^2+y^2=16$
-\end{solution}
-
-\question 若~$\sqrt{\,\sin x}$~是有理数且~$x$~不是~$\dfrac{\pi}{6}$~的整数倍,
- 则~$x$~可能取的值是\tenb.(只要求写出一个)
-\begin{solution}
-$\arcsin\dfrac{1}{4}$ 等
-\end{solution}
-
-\question 马路上有编号~1~到~10~的~10~盏路灯, 为节约用电又不影响照明,
- 可以关掉其中的~3~盏, 但又不能同时关掉相邻的两盏, 也不能关掉两端的路灯,
- 满足条件的关灯方法有\sixb{}种.
-\begin{solution}
-20
-\end{solution}
-\question 以椭圆~$\dfrac{x^2}{169}+\dfrac{y^2}{144}=1$~的右焦点为圆心,
- 且与双曲线~$\dfrac{x^2}{9}-\dfrac{y^2}{16}=1$~的渐近线相切的圆方程是\tenb.
-\begin{solution}
-$(x-5)^2+y^2=16$
-\end{solution}
-
-\question 若~$\sqrt{\,\sin x}$~是有理数且~$x$~不是~$\dfrac{\pi}{6}$~的整数倍,
- 则~$x$~可能取的值是\tenb.(只要求写出一个)
-\begin{solution}
-$\arcsin\dfrac{1}{4}$ 等
-\end{solution}
-
-\question 马路上有编号~1~到~10~的~10~盏路灯, 为节约用电又不影响照明,
- 可以关掉其中的~3~盏, 但又不能同时关掉相邻的两盏, 也不能关掉两端的路灯,
- 满足条件的关灯方法有\sixb{}种.
-\begin{solution}
-20
-\end{solution}
-\xuanze
-\question 已知集合~$A=\left\{\,x\mid \abs{x-1}<3\,\right\}$,
-集合~$B=\{\,y\mid y=x^2+2x+1,x\in\mathbb{R}\,\}$, 则~$A\cap
-\complement_U B$~为
-\begin{choices}
-\choice $[\,0,4)$
-\choice $(-\infty,-2\,]\cup[4,+\infty)$
-\choice $(-2,0)$
-\choice $(0,4)$
-\end{choices}
-\begin{solution}
-C
-\end{solution}
-
-\question 若~$a$、$b$~是直线, $\alpha$、$\beta$~是平面,
-则以下命题中真命题是
-\begin{choices}
-\choice 若~$a$、$b$~异面, $a\subset\alpha$,
-$b\subset\beta$, 且~$a\perp b$, 则~$\alpha\perp\beta$
-\choice 若~$a\pingxing b$, $a\subset\alpha$, $b\subset\beta$,
-则~$\alpha\pingxing\beta$
-\choice 若~$a\pingxing \alpha$,
-$b\subset\beta$, 则~$a$、$b$ 异面
-\choice 若~$a\perp b$, $a\perp\alpha$,
-$b\perp\beta$, 则~$\alpha\perp\beta$
-\end{choices}
-\begin{solution}
-D
-\end{solution}
-
-\question 已知集合~$A=\left\{\,x\mid \abs{x-1}<3\,\right\}$,
-集合~$B=\{\,y\mid y=x^2+2x+1,x\in\mathbb{R}\,\}$, 则~$A\cap
-\complement_U B$~为
-\begin{choices}
-\choice $[\,0,4)$
-\choice $(-\infty,-2\,]\cup[4,+\infty)$
-\choice $(-2,0)$
-\choice $(0,4)$
-\end{choices}
-\begin{solution}
-C
-\end{solution}
-
-\question 若~$a$、$b$~是直线, $\alpha$、$\beta$~是平面,
-则以下命题中真命题是
-\begin{choices}
-\choice 若~$a$、$b$~异面, $a\subset\alpha$,
-$b\subset\beta$, 且~$a\perp b$, 则~$\alpha\perp\beta$
-\choice 若~$a\pingxing b$, $a\subset\alpha$, $b\subset\beta$,
-则~$\alpha\pingxing\beta$
-\choice 若~$a\pingxing \alpha$,
-$b\subset\beta$, 则~$a$、$b$ 异面
-\choice 若~$a\perp b$, $a\perp\alpha$,
-$b\perp\beta$, 则~$\alpha\perp\beta$
-\end{choices}
-\begin{solution}
-D
-\end{solution}
-
-\jianda
-\question 已知复数~$z$ 满足:$\abs{z}-z^*=\dfrac{10}{1-w\ri}$(其中~$z^*$
-是~$z$ 的共轭复数).
-\begin{parts}
-\part[7] 求复数~$z$;
-\part[7] 若复数~$w=\cos\theta+\ri\sin\theta\,(\theta\in\mathbb{R})$, 求~$\abs{z-2}$ 的取值范围.
-\end{parts}
-
-\begin{solution}
-\begin{parts}
-\part $z=3+4\ri$
-\part $\abs{z-w}\in[4,6]$
-\end{parts}
-\end{solution}
-
-\question[14] 函数~$f(x)=4\sin\dfrac{\pi}{12}x\cdot\sin
- \left(\dfrac{\pi}{2}+\dfrac{\pi}{12}x\right),x\in[a,a+1]$,
- 其中常数~$a\in[0,5]$, 求函数~$f(x)$ 的最大值~$g(a)$.
-
-\begin{solution}
-略
-\end{solution}
-
-\question[16] 函数~$f(x)=4\sin\dfrac{\pi}{12}x\cdot\sin
- \left(\dfrac{\pi}{2}+\dfrac{\pi}{12}x\right),x\in[a,a+1]$,
- 其中常数~$a\in[0,5]$, 求函数~$f(x)$ 的最大值~$g(a)$.
-
-\begin{solution}
-略
-\end{solution}
-
-\question 已知复数~$z$ 满足:$\abs{z}-z^*=\dfrac{10}{1-w\ri}$(其中~$z^*$
-是~$z$ 的共轭复数).
-\begin{parts}
-\part[8] 求复数~$z$;
-\part[8] 若复数~$w=\cos\theta+\ri\sin\theta\,(\theta\in\mathbb{R})$, 求~$\abs{z-2}$ 的取值范围.
-\end{parts}
-
-\begin{solution}
-\begin{parts}
-\part $z=3+4\ri$
-\part $\abs{z-w}\in[4,6]$
-\end{parts}
-\end{solution}
-
-
-\question[18] 函数~$f(x)=4\sin\dfrac{\pi}{12}x\cdot\sin
- \left(\dfrac{\pi}{2}+\dfrac{\pi}{12}x\right),x\in[a,a+1]$,
- 其中常数~$a\in[0,5]$, 求函数~$f(x)$ 的最大值~$g(a)$.
-
-\begin{solution}
-略
-\end{solution}
-
-\end{questions}
-\end{document}
diff --git a/Master/texmf-dist/doc/latex/bhcexam/test4.tex b/Master/texmf-dist/doc/latex/bhcexam/test4.tex
deleted file mode 100644
index 8830455e745..00000000000
--- a/Master/texmf-dist/doc/latex/bhcexam/test4.tex
+++ /dev/null
@@ -1,213 +0,0 @@
-\documentclass[UTF8,printbox]{BHCexam}
-\begin{document}
-\title{你好}
-\maketitle
-\notice
-
-\begin{questions}
-\tiankong
-\question 已知~$\bm{a}=(k,-9)$、$\bm{b}=(-1,k)$, $\bm{a}$~与~$\bm{b}$~为平行向量,
- 则~$k=$\sixb.
-\begin{solution}
-$\pm3$
-\end{solution}
-\question 若函数~$f(x)=x^{6m^2-5m-4}\,(m\in\mathbb{Z})$~的图像关于~$y$~轴对称,
- 且~$f(2)<f(6)$, 则~$f(x)$~的解析式为\tenb.
-\begin{solution}
-$f(x)=x^{-4}$
-\end{solution}
-
-\question 若~$f(x+1)=x^2\,(x\leq0)$, 则~$f^{-1}(1)=$\sixb.
-\begin{solution}
-0
-\end{solution}
-
-\question 在~$b\g$~糖水中含糖~$a\g$\,($b>a>0$), 若再添加~$m\g$~糖~($m>0$),
- 则糖水就变甜了.试根据这个事实, 提炼一个不等式\tenb.
-\begin{solution}
-$\dfrac{a+m}{b+n}>\dfrac{a}{b}$
-\end{solution}
-
-\question 已知~$f(x)=1-\rc_8^1x+\rc_8^2x^2-\rc_8^3x^3+\cdots+\rc_8^8x^8$,
- 则~$f\big(\dfrac{1}{2}+\dfrac{\sqrt{3}}{2}\ri\big)$~的值是\sixb\twob{}.
-\begin{solution}
-$-\dfrac{1}{2}-\dfrac{\sqrt{3}}{2}\ri$
-\end{solution}
-
-\question 自然数~$1,2,3,\ldots,10$~的方差记为~$\sigma^2$,
- 其中的偶数~$2,4,6,8,10$~的方差记为~$\sigma_1^2$,
- 则~$\sigma^2$~与~$\sigma_1^2$~的大小关系为~$\sigma^2$\sixb$\sigma_1^2$.
-\begin{solution}
-$>$
-\end{solution}
-
-\question 若~$\theta$~为三角形的一个内角, 且~$\sin\theta+\cos\theta=\dfrac{2}{3}$,
- 则方程~$x^2\csc\theta-y^2\sec\theta=1$~表示的曲线的焦点坐标是\sixb{}.
-\begin{solution}
-$\big(\pm\dfrac{\sqrt{6}}{3},0\big)$
-\end{solution}
-
-\question 高为~$h$~的棱锥被平行于棱锥底面的截得棱台侧面积是
- 原棱锥的侧面积的~$\dfrac{5}{9}$,
- 则截得的棱台的体积与原棱锥的体积之比是\sixb.
-\begin{solution}
-$19:27$
-\end{solution}
-
-\question 以椭圆~$\dfrac{x^2}{169}+\dfrac{y^2}{144}=1$~的右焦点为圆心,
- 且与双曲线~$\dfrac{x^2}{9}-\dfrac{y^2}{16}=1$~的渐近线相切的圆方程是\tenb.
-\begin{solution}
-$(x-5)^2+y^2=16$
-\end{solution}
-
-\question 若~$\sqrt{\,\sin x}$~是有理数且~$x$~不是~$\dfrac{\pi}{6}$~的整数倍,
- 则~$x$~可能取的值是\tenb.(只要求写出一个)
-\begin{solution}
-$\arcsin\dfrac{1}{4}$ 等
-\end{solution}
-
-\question 马路上有编号~1~到~10~的~10~盏路灯, 为节约用电又不影响照明,
- 可以关掉其中的~3~盏, 但又不能同时关掉相邻的两盏, 也不能关掉两端的路灯,
- 满足条件的关灯方法有\sixb{}种.
-\begin{solution}
-20
-\end{solution}
-\question 以椭圆~$\dfrac{x^2}{169}+\dfrac{y^2}{144}=1$~的右焦点为圆心,
- 且与双曲线~$\dfrac{x^2}{9}-\dfrac{y^2}{16}=1$~的渐近线相切的圆方程是\tenb.
-\begin{solution}
-$(x-5)^2+y^2=16$
-\end{solution}
-
-\newpage
-
-\question 若~$\sqrt{\,\sin x}$~是有理数且~$x$~不是~$\dfrac{\pi}{6}$~的整数倍,
- 则~$x$~可能取的值是\tenb.(只要求写出一个)
-\begin{solution}
-$\arcsin\dfrac{1}{4}$ 等
-\end{solution}
-
-\question 马路上有编号~1~到~10~的~10~盏路灯, 为节约用电又不影响照明,
- 可以关掉其中的~3~盏, 但又不能同时关掉相邻的两盏, 也不能关掉两端的路灯,
- 满足条件的关灯方法有\sixb{}种.
-\begin{solution}
-20
-\end{solution}
-\xuanze
-\question 已知集合~$A=\left\{\,x\mid \abs{x-1}<3\,\right\}$,
-集合~$B=\{\,y\mid y=x^2+2x+1,x\in\mathbb{R}\,\}$, 则~$A\cap
-\complement_U B$~为
-\begin{choices}
-\choice $[\,0,4)$
-\choice $(-\infty,-2\,]\cup[4,+\infty)$
-\choice $(-2,0)$
-\choice $(0,4)$
-\end{choices}
-\begin{solution}
-C
-\end{solution}
-
-\question 若~$a$、$b$~是直线, $\alpha$、$\beta$~是平面,
-则以下命题中真命题是
-\begin{choices}
-\choice 若~$a$、$b$~异面, $a\subset\alpha$,
-$b\subset\beta$, 且~$a\perp b$, 则~$\alpha\perp\beta$
-\choice 若~$a\pingxing b$, $a\subset\alpha$, $b\subset\beta$,
-则~$\alpha\pingxing\beta$
-\choice 若~$a\pingxing \alpha$,
-$b\subset\beta$, 则~$a$、$b$ 异面
-\choice 若~$a\perp b$, $a\perp\alpha$,
-$b\perp\beta$, 则~$\alpha\perp\beta$
-\end{choices}
-\begin{solution}
-D
-\end{solution}
-
-\question 已知集合~$A=\left\{\,x\mid \abs{x-1}<3\,\right\}$,
-集合~$B=\{\,y\mid y=x^2+2x+1,x\in\mathbb{R}\,\}$, 则~$A\cap
-\complement_U B$~为
-\begin{choices}
-\choice $[\,0,4)$
-\choice $(-\infty,-2\,]\cup[4,+\infty)$
-\choice $(-2,0)$
-\choice $(0,4)$
-\end{choices}
-\begin{solution}
-C
-\end{solution}
-
-\question 若~$a$、$b$~是直线, $\alpha$、$\beta$~是平面,
-则以下命题中真命题是
-\begin{choices}
-\choice 若~$a$、$b$~异面, $a\subset\alpha$,
-$b\subset\beta$, 且~$a\perp b$, 则~$\alpha\perp\beta$
-\choice 若~$a\pingxing b$, $a\subset\alpha$, $b\subset\beta$,
-则~$\alpha\pingxing\beta$
-\choice 若~$a\pingxing \alpha$,
-$b\subset\beta$, 则~$a$、$b$ 异面
-\choice 若~$a\perp b$, $a\perp\alpha$,
-$b\perp\beta$, 则~$\alpha\perp\beta$
-\end{choices}
-\begin{solution}
-D
-\end{solution}
-\newpage
-\jianda
-\question 已知复数~$z$ 满足:$\abs{z}-z^*=\dfrac{10}{1-w\ri}$(其中~$z^*$
-是~$z$ 的共轭复数).
-\begin{parts}
-\part[7] 求复数~$z$;
-\part[7] 若复数~$w=\cos\theta+\ri\sin\theta\,(\theta\in\mathbb{R})$, 求~$\abs{z-2}$ 的取值范围.
-\end{parts}
-
-\begin{solution}
-\begin{parts}
-\part $z=3+4\ri$
-\part $\abs{z-w}\in[4,6]$
-\end{parts}
-\end{solution}
-
-\question[14] 函数~$f(x)=4\sin\dfrac{\pi}{12}x\cdot\sin
- \left(\dfrac{\pi}{2}+\dfrac{\pi}{12}x\right),x\in[a,a+1]$,
- 其中常数~$a\in[0,5]$, 求函数~$f(x)$ 的最大值~$g(a)$.
-
-\begin{solution}
-略
-\end{solution}
-
-\newpage
-
-\question[16] 函数~$f(x)=4\sin\dfrac{\pi}{12}x\cdot\sin
- \left(\dfrac{\pi}{2}+\dfrac{\pi}{12}x\right),x\in[a,a+1]$,
- 其中常数~$a\in[0,5]$, 求函数~$f(x)$ 的最大值~$g(a)$.
-
-\begin{solution}
-略
-\end{solution}
-
-\newpage
-\question 已知复数~$z$ 满足:$\abs{z}-z^*=\dfrac{10}{1-w\ri}$(其中~$z^*$
-是~$z$ 的共轭复数).
-\begin{parts}
-\part[8] 求复数~$z$;
-\part[8] 若复数~$w=\cos\theta+\ri\sin\theta\,(\theta\in\mathbb{R})$, 求~$\abs{z-2}$ 的取值范围.
-\end{parts}
-
-\begin{solution}
-\begin{parts}
-\part $z=3+4\ri$
-\part $\abs{z-w}\in[4,6]$
-\end{parts}
-\end{solution}
-
-\newpage
-
-\question[18] 函数~$f(x)=4\sin\dfrac{\pi}{12}x\cdot\sin
- \left(\dfrac{\pi}{2}+\dfrac{\pi}{12}x\right),x\in[a,a+1]$,
- 其中常数~$a\in[0,5]$, 求函数~$f(x)$ 的最大值~$g(a)$.
-
-\begin{solution}
-略
-\end{solution}
-
-\end{questions}
-\end{document}
diff --git a/Master/texmf-dist/source/latex/bhcexam/BHCexam.dtx b/Master/texmf-dist/source/latex/bhcexam/BHCexam.dtx
index dd3233e8bc9..b030f7e462d 100644
--- a/Master/texmf-dist/source/latex/bhcexam/BHCexam.dtx
+++ b/Master/texmf-dist/source/latex/bhcexam/BHCexam.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 2011 by Charles Bao <charley792@gmail.com>
+% Copyright (C) 2014 by Charles Bao <charley792@gmail.com>
%
% This file is part of the BHCexam package project.
% ---------------------------------------------------
@@ -44,7 +44,7 @@
%<cls>\NeedsTeXFormat{LaTeX2e}[1995/12/01]
%<cls>\ProvidesClass{BHCexam}
%<cfg>\ProvidesFile{BHCexam.cfg}
- [2011/07/27 v0.2 BHCexam
+ [2014/02/18 v0.3 BHCexam
%<cls> document class]
%<cfg> configuration file]
%
@@ -80,6 +80,7 @@
% \changes{v0.0}{2011/07/22}{Initial version}
% \changes{v0.1}{2011/07/23}{version 0.1}
% \changes{v0.2}{2011/07/27}{version 0.2}
+% \changes{v0.3}{2014/02/18}{version 0.3}
%
%
% \DoNotIndex{\begin,\end,\begingroup,\endgroup}
@@ -112,39 +113,6 @@
% \setlength{\parskip}{0.75ex plus .2ex minus .5ex}
% \renewcommand{\baselinestretch}{1.2}
%
-% \newcommand{\rc}{\text{C}}
-% \newcommand{\ri}{\text{i}}
-% \newcommand{\ra}{\text{A}}
-% \newcommand{\rd}{\text{d}}
-% \renewcommand\m{\ensuremath{\text{m}}}
-% \newcommand\tian{\ensuremath{\text{d}}}
-% \newcommand\A{\ensuremath{\text{A}}}
-% \newcommand\g{\ensuremath{\text{g}}}
-% \newcommand\kg{\ensuremath{\text{kg}}}
-% \newcommand\degree{\ensuremath{^\circ}}
-% \newcommand\ssd{\ensuremath{\text{\textcelsius}}}
-% \newcommand\rad{\ensuremath{\text{rad}}}
-% \newcommand\N{\ensuremath{\text{N}}}
-% \newcommand\Pa{\ensuremath{\text{Pa}}}
-% \newcommand\J{\ensuremath{\text{J}}}
-% \newcommand\W{\ensuremath{\text{W}}}
-% \newcommand\ohm{\ensuremath{\Omega}}
-% \newcommand\mol{\ensuremath{\text{mol}}}
-% \newcommand\K{\ensuremath{\text{K}}}
-% \newcommand\h{\ensuremath{\text{h}}}
-% \newcommand\ton{\ensuremath{\text{t}}}
-% \newcommand\squarem{\ensuremath{\text{m$^2$}}}
-% \newcommand\cubicm{\ensuremath{\text{m$^3$}}}
-% \newcommand\cm{\ensuremath{\text{cm}}}
-% \newcommand\mm{\ensuremath{\text{mm}}}
-% \newcommand\squarecm{\ensuremath{\text{cm$^2$}}}
-% \newcommand\cubiccm{\ensuremath{\text{cm$^3$}}}
-% \newcommand\squaremm{\ensuremath{\text{mm$^2$}}}
-% \newcommand\cubicmm{\ensuremath{\text{mm$^3$}}}
-% \newcommand\liter{\ensuremath{\text{L}}}
-% \newcommand{\abs}[1]{\left|#1\right|}
-% \newcommand\arccot{\mathop{\text{arccot}}}
-%
% \makeatletter
% \def\parg#1{\mbox{$\langle${\it #1\/}$\rangle$}}
% \def\@smarg#1{{\tt\string{}\parg{#1}{\tt\string}}}
@@ -163,7 +131,7 @@
% \maketitle
%
% \begin{abstract}
-% \BHCexam~宏包提供了一个中学教学设计的~\LaTeX{}~文档类。
+% \BHCexam~宏包提供了一个中学试卷排版的~\LaTeX{}~文档类。
%
% \BHCexam~主要文件包括~\texttt{BHCexam.cls}~文档类和配置文件
% ~\texttt{BHCexam.cfg}。
@@ -232,29 +200,30 @@
% \subsection{题目}
% \label{sec:Example}
% \DescribeMacro{\question}
-% \DescribeMacro{\choice}
+% \DescribeMacro{\stk}
+% \DescribeMacro{\onech}
% \DescribeMacro{\part}
-% \DescribeMacro{\tiankong}
-% \DescribeMacro{\xuanze}
-% \DescribeMacro{\jianda}
% 在\verb"questions"环境中用\verb"\question"输入题目。
-% 在\verb"choices"环境中用\verb"\choice"输入选项。
-% 在\verb"parts"环境中用\verb"\part"输入小问。
+% 在\verb"parts"环境中用\verb"\part"输入大题的小问。
+% 用\verb"\stk"、\verb"\mtk"
+% 和\verb"\ltk"输入填空题的答案。
+% 用\verb"\onech"、\verb"\twoch"
+% 和\verb"\fourch"输入选择题的选项。
% 在\verb"questions"环境中用\verb"\tiankong"、\verb"\xuanze"
% 和\verb"\jianda"分别显示填空题、选择题、简答题的提示语。
% \begin{verbatim}
% \begin{questions}
% \tiankong
-% \question 这是第1道填空题
-% \question 这是第2道填空题
+% \question 这是第1道填空题\stk{答案,不显示答案时显示段横线}
+% \question 这是第2道填空题\mtk{答案,不显示答案时显示段横线}
+% \question 这是第2道填空题\ltk{答案,不显示答案时显示段横线}
% \xuanze
-% \question 问题3是一道选择题
-% \begin{choices}
-% \choice 选项1
-% \choice 选项2
-% \choice 选项3
-% \choice 选项4
-% \begin{choices}
+% \question 问题3是一道选择题,四个选项显示在一行
+% \onech{选项1}{选项2}{选项3}{选项4}
+% \question 问题3是一道选择题,四个选项显示在两行
+% \twoch{选项1}{选项2}{选项3}{选项4}
+% \question 问题3是一道选择题,四个选项显示在四行
+% \fourch{选项1}{选项2}{选项3}{选项4}
% \jianda
% \question 问题4是一道简答题
% \begin{parts}
@@ -298,8 +267,8 @@
% \begin{quote}
% |\biaoti|\marg*{TEXT}
% \end{quote}
-% \DescribeMacro{\kemu}
-% 设置科目信息,他会显示在标题下方和页脚内。
+% \DescribeMacro{\fubiaoti}
+% 设置副标题,他会显示在标题下方。
% \begin{quote}
% |\kemu|\marg*{TEXT}
% \end{quote}
@@ -328,7 +297,7 @@
% \subsection{环境}
% \label{sec:Environment}
-% 经常使用的环境有\verb"questions"环境、\verb"choices"环境、\verb"parts"环境,
+% 经常使用的环境有\verb"questions"环境、\verb"parts"环境,
% 关于它们的简单介绍,请参考\ref{sec:Example},这里做一点补充说明,
% 更详细的介绍,请参考~\exam~文档。\\\\
% 在排版简答题时需要用\verb"\part"命令输入各小问的分值,宏包会自动算出总分并显示在该简答题的第一行。
@@ -369,49 +338,8 @@
% 在当前页为正面时,在左边插入装订线(仅在使用marginline选项时有效)。\\
% \DescribeMacro{\printmalol}
% 在当前页为反面时,在左边插入装订线(仅在使用marginline选项时有效)。\\
-
-% \subsection{数学符号}
-% \begin{tabular}{ll}
-% \hline
-% \verb"\oneb" & 生成一条很小的供排版填空题空格用的横线\\\hline
-% \verb"\twob" & 生成一条长一些的供排版填空题空格用的横线\\\hline
-% \verb"\fourb" & 生成一长更长的供排版填空题空格用的横线\\\hline
-% \verb"\sixb" & 生成一长较长的供排版填空题空格用的横线\\\hline
-% \verb"\tenb" & 生成一条很长的供排版填空题空格用的横线\\\hline
-% \verb"\rc" & 在数学模式下输入正体的~C(组合数符号)\\\hline
-% \verb"\ra" & 在数学模式下输入正体的~A(排列数符号)\\\hline
-% \verb"\ri" & 在数学模式下输入正体的~i(虚数单位)\\\hline
-% \verb"\abs{...}" & 用以输入绝对值\\\hline
-% \verb"\arccot" & 在数学模式下输入$\arccot$\\\hline
-% \verb"\m" & 在文本模式和数学模式下均可使用,生成单位符号~\m\\\hline
-% \verb"\W" & 在文本模式攻数学模式下均可使用,生成单位符号~\W\\\hline
-% \verb"\A" & 在文本模式和数学模式下均可使用,生成单位符号~\A\\ \hline
-% \verb"\g" & 在文本模式和数学模式下均可使用,生成单位符号~\g\\ \hline
-% \verb"\kg" & 在文本模式和数学模式下均可使用,生成单位符号~\kg\\ \hline
-% \verb"\degree" & 在文本模式和数学模式下均可使用,生成单位符号~\degree\\\hline
-% \verb"\ssd" & 在文本模式和数学模式下均可使用,生成单位符号~\ssd\\\hline
-% \verb"\rad" & 在文本模式和数学模式下均可使用,生成单位符号~\rad\\\hline
-% \verb"\N" & 在文本模式和数学模式下均可使用,生成单位符号~\N\\\hline
-% \verb"\Pa" & 在文本模式和数学模式下均可使用,生成单位符号~\Pa\\\hline
-% \verb"\J" & 在文本模式和数学模式下均可使用,生成单位符号~\J\\\hline
-% \verb"\ohm" & 在文本模式和数学模式下均可使用,生成单位符号~\ohm\\\hline
-% \verb"\mol" & 在文本模式和数学模式下均可使用,生成单位符号~\mol\\\hline
-% \verb"\K" & 在文本模式和数学模式下均可使用,生成单位符号~\K\\\hline
-% \verb"\h" & 在文本模式和数学模式下均可使用,生成单位符号~\h\\\hline
-% \verb"\ton" & 在文本模式和数学模式下均可使用,生成单位符号~\ton\\\hline
-% \verb"\squarem" & 在文本模式和数学模式下均可使用,生成单位符号~\squarem\\\hline
-% \verb"\cubicm" & 在文本模式和数学模式下均可使用,生成单位符号~\cubicm\\\hline
-% \verb"\cm" & 在文本模式和数学模式下均可使用,生成单位符号~\cm\\\hline
-% \verb"\mm" & 在文本模式和数学模式下均可使用,生成单位符号~\mm\\\hline
-% \verb"\squarecm" & 在文本模式和数学模式下均可使用,生成单位符号~\squarecm\\\hline
-% \verb"\cubiccm" & 在文本模式和数学模式下均可使用,生成单位符号~\cubiccm\\\hline
-% \verb"\squaremm" & 在文本模式和数学模式下均可使用,生成单位符号~\squaremm\\\hline
-% \verb"\cubicmm" & 在文本模式和数学模式下均可使用,生成单位符号~\cubicmm\\\hline
-% \verb"\liter" & 在文本模式和数学模式下均可使用,生成单位符号~\liter\\\hline
-% \end{tabular}
-%
-% \StopEventually{
-% } ^^A end StopEventually
+%
+% \StopEventually{}
%
% \section{源代码说明}
%
@@ -435,8 +363,8 @@
% 16k纸张大小设置,缺省选项为a4paper
% \begin{macrocode}
%<*cls>
-\newif\if@sixteenkpaper \@sixteenkpapertrue
-\DeclareOption{16kpaper}{\@sixteenkpaperfalse}
+\newif\if@sixteenkpaper \@sixteenkpaperfalse
+\DeclareOption{16kpaper}{\@sixteenkpapertrue}
%</cls>
% \end{macrocode}
% \end{macro}
@@ -474,7 +402,6 @@
% \end{macrocode}
% \end{macro}
%
-%
% 把没有定义的选项传递给缺省的文档类
% \begin{macrocode}
%<cls>\DeclareOption*{\PassOptionsToClass{\CurrentOption}{exam}}
@@ -504,17 +431,21 @@
% 我们需要使用的一些宏包
% \begin{macrocode}
%<*cls>
-\RequirePackage{amsmath,amssymb,bm}
-\RequirePackage{graphicx}
\RequirePackage{ifpdf,ifxetex}
+\RequirePackage{amsmath,amssymb,amsthm,bm,bbding,pifont,dsfont}
+\RequirePackage{mathtools}
+\RequirePackage{paralist,cases,tabularx}
+\RequirePackage{pstricks,pst-plot,xcolor,graphicx}
%</cls>
% \end{macrocode}
%
% 用geometry宏包进行页面设置
% \changes{v0.2}{2011/07/27}{改用geometry宏包实现纸张设置}
+% \changes{v0.3}{2014/02/18}{修正了纸张的尺寸}
% \begin{macrocode}
%<*cls>
\if@marginline
+\marginparwidth = 2cm
\if@sixteenkpaper
\RequirePackage[papersize={184mm,260mm},hmargin={3cm,2cm},
vmargin={2cm,2cm},marginparsep=0.5cm,hoffset=0cm,voffset=0cm,
@@ -530,7 +461,7 @@ headsep=0.5cm,twoside]{geometry}
vmargin={2cm,2cm},marginparsep=0.5cm,hoffset=0cm,voffset=0cm,
footnotesep=0.5cm,headsep=0.5cm]{geometry}
\else
-\RequirePackage[paper=a4paper,hmargin={2cm,2cm},vmargin={2cm,2cm},
+\RequirePackage[papersize={210mm,297mm},hmargin={2cm,2cm},vmargin={2cm,2cm},
marginparsep=0.5cm,hoffset=0cm,voffset=0cm,footnotesep=0.5cm,
headsep=0.5cm]{geometry}
\fi
@@ -545,12 +476,8 @@ headsep=0.5cm]{geometry}
%<*cls>
\renewcommand{\baselinestretch}{1.5}
\pagestyle{headandfoot}
-%\runningheadrule
-%\firstpageheadrule
-%\runningfootrule
-%\firstpagefootrule
\header{}{}{}
-\footer{}{\small \kaishu{\@kemu}\quad 第~\thepage~页(共~\numpages~页)}{}
+\footer{}{\small \quad 第~\thepage~页(共~\numpages~页)}{}
%</cls>
% \end{macrocode}
%
@@ -562,16 +489,13 @@ headsep=0.5cm]{geometry}
%</cls>
% \end{macrocode}
%
-% 解的显示
-% \begin{macrocode}
-%<*cls>
-\renewcommand{\solutiontitle}{\noindent\heiti{解:}\noindent}
-%</cls>
-% \end{macrocode}
-%
-% 小问的显示
+% 问题的显示
% \begin{macrocode}
%<*cls>
+\renewcommand{\questionshook}{
+ \settowidth{\leftmargin}{22.\hskip\labelsep}
+ \if@noindent \setlength\leftmargin{0pt} \fi
+}
\renewcommand{\thepartno}{\arabic{partno}}
\renewcommand{\partlabel}{(\thepartno)}
\renewcommand{\partshook}{
@@ -581,28 +505,21 @@ headsep=0.5cm]{geometry}
%</cls>
% \end{macrocode}
%
-% 选项的显示
-% \begin{macrocode}
-%<*cls>
-\renewcommand{\choiceshook}{
- \settowidth{\leftmargin}{W.\hskip\labelsep}
- \if@noindent \setlength\leftmargin{0pt} \fi
-}
-%</cls>
-% \end{macrocode}
-%
% 解答的显示
% \begin{macrocode}
%<*cls>
+\newif\if@cancelspace \@cancelspacetrue
+\renewcommand{\solutiontitle}{\noindent 解:\noindent}
\renewenvironment{solution}%
{%
\ifprintanswers
+ %\unskip
\begingroup
\Solution@Emphasis
\begin{TheSolution}%
\else
- \ifcancelspace
- % Do nothing
+ \if@cancelspace
+ %\unskip
\else
\par
\penalty 0
@@ -631,27 +548,27 @@ headsep=0.5cm]{geometry}
% 装订线
% \begin{macrocode}
%<*cls>
-\if@marginline
+\if@marginline
\newsavebox{\zdxl}
\sbox{\zdxl}{
-\begin{minipage}{0.7\paperheight}
+\begin{minipage}{0.7\paperheight}
\begin{center}
\heiti 班级\underline{\hspace{15ex}} \quad
姓名 \underline{\hspace{15ex}} \quad
-学号 \underline{\hspace{15ex}} \quad \\
+学号 \underline{\hspace{15ex}} \quad \\
\vspace{3ex}
-\dotfill 装 \dotfill 订 \dotfill 线 \dotfill
+\dotfill 装 \dotfill 订 \dotfill 线 \dotfill
\end{center}
\end{minipage}
}
\newsavebox{\zdxr}
\sbox{\zdxr}{
-\begin{minipage}{0.7\paperheight}
+\begin{minipage}{0.7\paperheight}
\begin{center}
\heiti \hfill 请 \hfill 不 \hfill 要 \hfill 在 \hfill
- 装 \hfill 订 \hfill 线 \hfill 内 \hfill 答 \hfill 题 \hfill \\
+ 装 \hfill 订 \hfill 线 \hfill 内 \hfill 答 \hfill 题 \hfill \\
\vspace{3ex}
-\dotfill 装 \dotfill 订 \dotfill 线 \dotfill
+\dotfill 装 \dotfill 订 \dotfill 线 \dotfill
\end{center}
\end{minipage}
}
@@ -669,19 +586,15 @@ headsep=0.5cm]{geometry}
% \end{macro}
%
% \begin{macro}{\biaoti}
-% \begin{macro}{\kemu}
+% \begin{macro}{\fubiaoti}
% 标题
% \begin{macrocode}
-%<*cfg>
-\def\@biaoti{2011年全国普通高等学校招生统一考试(上海卷)}
-\def\@kemu{数学(理科)}
-%</cfg>
%<*cls>
\newcommand\biaoti[1]{\def\@biaoti{#1}}
-\newcommand\kemu[1]{\def\@kemu{#1}}
+\newcommand\fubiaoti[1]{\def\@fubiaoti{#1}}
\renewcommand\maketitle{
\begin{center}{\heiti \Large{\@biaoti}}\end{center}
- \begin{center}{\heiti \Large{\@kemu}}\end{center}
+ \begin{center}{\heiti \Large{\@fubiaoti}}\end{center}
}
%</cls>
% \end{macrocode}
@@ -691,11 +604,7 @@ headsep=0.5cm]{geometry}
% \begin{macro}{\mininotice}
% \begin{macro}{\xinxi}
% 一行内显示考试时间和考试总分
-% \begin{macrocode}{\mininotice}
-%<*cfg>
-\def\@zongfen{150}
-\def\@shijian{120}
-%</cfg>
+% \begin{macrocode}
%<*cls>
\newcommand\xinxi[2]{
\def\@zongfen{#1}
@@ -740,7 +649,7 @@ headsep=0.5cm]{geometry}
\hline
得分 & 评卷人\\
\hline
- & \\
+ & \\
\hline
\end{tabular}
\end{minipage}
@@ -765,28 +674,15 @@ headsep=0.5cm]{geometry}
%</cls>
% \end{macrocode}
% \end{macro}
+%
%
-% \begin{macro}{\oneb}
-% \begin{macro}{\twob}
-% \begin{macro}{\sixb}
-% \begin{macro}{\tenb}
-% 空格
-% \begin{macrocode}
-%<*cls>
-\newcommand\oneb{\underline{\hspace{1em}}\hspace{0.001em}}
-\newcommand\twob{\oneb\oneb}
-\newcommand{\sixb}{\twob\twob}
-\newcommand\tenb{\twob\twob\twob\twob\twob}
-%</cls>
-% \end{macrocode}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-%
-% 填空题、选择题、简答题
+% 一些参数及变量
% \begin{macrocode}
%<*cfg>
+\def\@biaoti{2011年全国普通高等学校招生统一考试(上海卷)}
+\def\@fubiaoti{数学(理科)}
+\def\@zongfen{150}
+\def\@shijian{120}
\def\@tiankong@zongfen{56}
\def\@tiankong@tishu{14}
\def\@tiankong@fen{4}
@@ -799,6 +695,13 @@ headsep=0.5cm]{geometry}
%<*cls>
\newcounter{@dati}
\newif\if@houpinfen \@houpinfenfalse
+%</cls>
+% \end{macrocode}
+%
+% 填空题提示语
+% \begin{macro}{\tiankong}
+% \begin{macrocode}
+%<*cls>
\newcommand\settk[3]{
\def\@tiankong@zongfen{#1}
\def\@tiankong@tishu{#2}
@@ -806,14 +709,53 @@ headsep=0.5cm]{geometry}
}
\newcommand\tiankong{
\@houpinfenfalse
- \stepcounter{@dati}
+ \stepcounter{@dati}
\fullwidth{
\if@printbox \pinfen \fi
\begin{minipage}{\textwidth-\@boxwidth}
- \heiti \chinese{@dati}. 填空题(\kaishu 本大题满分~\@tiankong@zongfen~分) \heiti 本大题有~\@tiankong@tishu~题, 考生应在答题纸相应编号的空格内直接写结果, 每个空格填对得~\@tiankong@fen~分, 否则一律得零分.
+ \heiti \chinese{@dati}. 填空题:本大题共~\@tiankong@tishu~题,满分~\@tiankong@zongfen~分. 请在横线上方填写最终的、最准确的、最完整的结果. 每题填写正确得~\@tiankong@fen~分,否则一律得0分.
\end{minipage}
}
}
+%</cls>
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\stk}
+% \begin{macro}{\mtk}
+% \begin{macro}{\ltk}
+% \changes{v0.3}{2014/02/18}{设置三种长度的横线,并支持在横线上输出答案}
+% 填空题横线
+% \begin{macrocode}
+%<*cls>
+\newcommand{\stk}[1]{
+ \ifprintanswers
+ \underline{~#1~}
+ \else
+ \underline{~\hspace{1cm}~}
+ \fi}
+\newcommand{\mtk}[1]{
+ \ifprintanswers
+ \underline{~#1~}
+ \else
+ \underline{~\hspace{2cm}~}
+ \fi}
+\newcommand{\ltk}[1]{
+ \ifprintanswers
+ \underline{~#1~}
+ \else
+ \underline{~\hspace{3cm}~}
+ \fi}
+%</cls>
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% 选择题提示语
+% \begin{macro}{\xuanze}
+% \begin{macrocode}
+%<*cls>
\newcommand\setxz[3]{
\def\@xuanze@zongfen{#1}
\def\@xuanze@tishu{#2}
@@ -821,68 +763,88 @@ headsep=0.5cm]{geometry}
}
\newcommand\xuanze{
\@houpinfenfalse
- \stepcounter{@dati}
+ \stepcounter{@dati}
\fullwidth{
\if@printbox \pinfen \fi
- \begin{minipage}{\textwidth-\@boxwidth}
- \heiti \chinese{@dati}. 选择题(\kaishu 本大题满分~\@xuanze@zongfen~分) \heiti 本大题共有~\@xuanze@tishu~题, 每题有且只有一个正确答案, 考生应在答题纸的相应编号上, 将代表答案的小方格涂黑, 选对得~\@xuanze@fen~分, 否则一律得零分.
+ \begin{minipage}{\textwidth-\@boxwidth}
+ \heiti \chinese{@dati}. 选择题:本大题共~\@xuanze@tishu~题,满分~\@xuanze@zongfen~分. 请选择你认为最正确的答案(每小题有且只有一个)写在括号内. 每题填写正确得~\@xuanze@fen~分,否则得0分.
\end{minipage}
}
}
+%</cls>
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\onech}
+% \begin{macro}{\twoch}
+% \begin{macro}{\fourch}
+% \changes{v0.3}{2014/02/18}{分一行、两行、四行显示选项}
+% 选择题的选项
+% \begin{macrocode}
+%<*cls>
+\newcommand{\onech}[4]{
+\renewcommand\arraystretch{1.4}
+\begin{tabularx}{\linewidth}{XXXX}
+\setlength\tabcolsep{0pt}
+(A) #1 & (B) #2 & (C) #3 & (D) #4 \\
+\end{tabularx}
+\unskip \unskip}
+\newcommand{\twoch}[4]{
+\renewcommand\arraystretch{1.4}
+\begin{tabularx}{\linewidth}{XX}
+\setlength\tabcolsep{0pt}
+(A) #1 & (B) #2 \\
+(C) #3 & (D) #4
+\end{tabularx}
+\unskip \unskip}
+\newcommand{\fourch}[4]{
+\renewcommand\arraystretch{1.4}
+\begin{tabularx}{\linewidth}{X}
+\setlength\tabcolsep{0pt}
+(A) #1 \\
+(B) #2 \\
+(C) #3 \\
+(D) #4 \\
+\end{tabularx}
+\unskip \unskip}
+%</cls>
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% 简答题提示语
+% \begin{macro}{\jianda}
+% \begin{macrocode}
+%<*cls>
\newcommand\setjd[2]{
\def\@jianda@zongfen{#1}
\def\@jianda@tishu{#2}
}
\newcommand\jianda{
+ \@cancelspacefalse
\@houpinfentrue
- \qformat{\hskip\labelsep \kaishu \thequestion.~~(本题满分~\totalpoints~分)\hfill}
\stepcounter{@dati}
\fullwidth{
- \if@printbox \pinfen \fi
+ \if@printbox \pinfen \fi
\begin{minipage}{\textwidth-\@boxwidth}
- \heiti \chinese{@dati}. 简答题(\kaishu 本大题满分~\@jianda@zongfen~分)~\heiti 本大题共有~\@jianda@tishu~题, 解答下列各题必须在答题纸相应的编号规定区域内写出必要的步骤.
+ \heiti \chinese{@dati}. 简答题:本大题共~\@jianda@tishu~题,满分~\@jianda@zongfen~分. 请在题后空处写出必要的推理计算过程.
\end{minipage}
}
}
%</cls>
% \end{macrocode}
+% \end{macro}
%
% 数学运算符号、单位
% \begin{macrocode}
%<*cls>
-\newcommand{\rc}{\text{C}}
-\newcommand{\ri}{\text{i}}
-\newcommand{\ra}{\text{A}}
-\newcommand{\rd}{\text{d}}
-\newcommand\tian{\ensuremath{\text{d}}}
-\newcommand\A{\ensuremath{\text{A}}}
-\def\m{\ensuremath{\text{m}}}
-\newcommand\g{\ensuremath{\text{g}}}
-\newcommand\kg{\ensuremath{\text{kg}}}
-\newcommand\degree{\ensuremath{^\circ}}
-\newcommand\ssd{\ensuremath{\text{\textcelsius}}}
-\newcommand\rad{\ensuremath{\text{rad}}}
-\newcommand\N{\ensuremath{\text{N}}}
-\newcommand\Pa{\ensuremath{\text{Pa}}}
-\newcommand\J{\ensuremath{\text{J}}}
-\newcommand\W{\ensuremath{\text{W}}}
-\newcommand\ohm{\ensuremath{\Omega}}
-\newcommand\mol{\ensuremath{\text{mol}}}
-\newcommand\K{\ensuremath{\text{K}}}
-\newcommand\h{\ensuremath{\text{h}}}
-\newcommand\ton{\ensuremath{\text{t}}}
-\newcommand\squarem{\ensuremath{\text{m$^2$}}}
-\newcommand\cubicm{\ensuremath{\text{m$^3$}}}
-\newcommand\cm{\ensuremath{\text{cm}}}
-\newcommand\mm{\ensuremath{\text{mm}}}
-\newcommand\squarecm{\ensuremath{\text{cm$^2$}}}
-\newcommand\cubiccm{\ensuremath{\text{cm$^3$}}}
-\newcommand\squaremm{\ensuremath{\text{mm$^2$}}}
-\newcommand\cubicmm{\ensuremath{\text{mm$^3$}}}
-\newcommand\liter{\ensuremath{\text{L}}}
-\newcommand{\abs}[1]{\left|#1\right|}
-\newcommand\arccot{\mathop{\text{arccot}}}
-\newcommand\pingxing{\parallel}
+\delimitershortfall-1sp
+\newcommand\abs[1]{\left|#1\right|}
+\renewcommand{\geq}{\geqslant}
+\renewcommand{\ge}{\geqslant}
+\renewcommand{\leq}{\leqslant}
+\renewcommand{\le}{\leqslant}
%<\cls>
% \end{macrocode}
%
diff --git a/Master/texmf-dist/source/latex/bhcexam/BHCexam.ins b/Master/texmf-dist/source/latex/bhcexam/BHCexam.ins
index dfe55a8a6fd..d832e3c1a85 100644
--- a/Master/texmf-dist/source/latex/bhcexam/BHCexam.ins
+++ b/Master/texmf-dist/source/latex/bhcexam/BHCexam.ins
@@ -1,107 +1,107 @@
-%%
-%% This file will generate fast loadable files and documentation
-%% driver files from the doc files in this package when run through
-%% LaTeX or TeX. It works with Docstrip versions after April 1998.
-%%
-%% Copyright (C) 2011 by Charles Bao <charley792@gmail.com>
-%%
-%% This file is part of the BHCexam package project.
-%% ---------------------------------------------------
-%%
-%% It may be distributed under the conditions of the LaTeX Project Public
-%% License, either version 1.2 of this license or (at your option) any
-%% later version. The latest version of this license is in
-%% http://www.latex-project.org/lppl.txt
-%% and version 1.2 or later is part of all distributions of LaTeX
-%% version 1999/12/01 or later.
-%%
-%% In particular, NO PERMISSION is granted to modify the contents of this
-%% file since it contains the legal notices that are placed in the files
-%% it generates.
-%%
-%%
-%%
-%%
-%% --------------- start of docstrip commands ------------------
-%%
-
-\input docstrip
-
-\preamble
-
-This is a generated file.
-
-Copyright (C) 2011 by Charles Bao <charley792@gmail.com>
-
-This file was generated from file(s) of the BHCexam package project.
-----------------------------------------------------------------------
-
-It may be distributed and/or modified under the
-conditions of the LaTeX Project Public License, either version 1.2
-of this license or (at your option) any later version.
-The latest version of this license is in
- http://www.latex-project.org/lppl.txt
-and version 1.2 or later is part of all distributions of LaTeX
-version 1999/12/01 or later.
-
-This file may only be distributed together with a copy of original
-source files. You may however distribute original source files
-without such generated files. Copying of this file is authorized
-only if either:
-(1) you make absolutely no changes to your copy, including name; OR
-(2) if you do make changes, you first rename it to some other name.
-
-To produce the documentation run the original source files ending
-with `.dtx' through LaTeX.
-
-\endpreamble
-
-\declarepreamble\cfgpreamble
-
-This is a generated file.
-
-Copyright (C) 2011 by Charles Bao <charley792@gmail.com>
-
-This file was generated from file(s) of the BHCexam package project.
-----------------------------------------------------------------------
-
-It may be distributed and/or modified under the
-conditions of the LaTeX Project Public License, either version 1.2
-of this license or (at your option) any later version.
-The latest version of this license is in
- http://www.latex-project.org/lppl.txt
-and version 1.2 or later is part of all distributions of LaTeX
-version 1999/12/01 or later.
-
-This is the configuration file of the BHCexam package with LaTeX2e.
-
-\endpreamble
-
-\askonceonly
-\keepsilent
-\usedir{tex/latex/BHCexam}
-
-\generate{\file{BHCexam.cls}{\from{BHCexam.dtx}{cls}}
- \usepreamble\cfgpreamble
- \file{BHCexam.cfg}{\from{BHCexam.dtx}{cfg}}
- }
-
-\ifToplevel{
-\Msg{***********************************************************}
-\Msg{*}
-\Msg{* To finish the installation you have to move the following}
-\Msg{* files into a directory searched by TeX:}
-\Msg{*}
-\Msg{* The recommended directory is TEXMF/tex/latex/BHCexam}
-\Msg{*}
-\Msg{* \space\space BHCexam.cls}
-\Msg{* \space\space BHCexam.cfg}
-\Msg{*}
-\Msg{* To produce the documentation run the files ending with}
-\Msg{* `.dtx' through LaTeX.}
-\Msg{*}
-\Msg{* Happy TeXing}
-\Msg{***********************************************************}
-}
-
-\endbatchfile
+%%
+%% This file will generate fast loadable files and documentation
+%% driver files from the doc files in this package when run through
+%% LaTeX or TeX. It works with Docstrip versions after April 1998.
+%%
+%% Copyright (C) 2011 by Charles Bao <charley792@gmail.com>
+%%
+%% This file is part of the BHCexam package project.
+%% ---------------------------------------------------
+%%
+%% It may be distributed under the conditions of the LaTeX Project Public
+%% License, either version 1.2 of this license or (at your option) any
+%% later version. The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.2 or later is part of all distributions of LaTeX
+%% version 1999/12/01 or later.
+%%
+%% In particular, NO PERMISSION is granted to modify the contents of this
+%% file since it contains the legal notices that are placed in the files
+%% it generates.
+%%
+%%
+%%
+%%
+%% --------------- start of docstrip commands ------------------
+%%
+
+\input docstrip
+
+\preamble
+
+This is a generated file.
+
+Copyright (C) 2011 by Charles Bao <charley792@gmail.com>
+
+This file was generated from file(s) of the BHCexam package project.
+----------------------------------------------------------------------
+
+It may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either version 1.2
+of this license or (at your option) any later version.
+The latest version of this license is in
+ http://www.latex-project.org/lppl.txt
+and version 1.2 or later is part of all distributions of LaTeX
+version 1999/12/01 or later.
+
+This file may only be distributed together with a copy of original
+source files. You may however distribute original source files
+without such generated files. Copying of this file is authorized
+only if either:
+(1) you make absolutely no changes to your copy, including name; OR
+(2) if you do make changes, you first rename it to some other name.
+
+To produce the documentation run the original source files ending
+with `.dtx' through LaTeX.
+
+\endpreamble
+
+\declarepreamble\cfgpreamble
+
+This is a generated file.
+
+Copyright (C) 2014 by Charles Bao <charley792@gmail.com>
+
+This file was generated from file(s) of the BHCexam package project.
+----------------------------------------------------------------------
+
+It may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either version 1.2
+of this license or (at your option) any later version.
+The latest version of this license is in
+ http://www.latex-project.org/lppl.txt
+and version 1.2 or later is part of all distributions of LaTeX
+version 1999/12/01 or later.
+
+This is the configuration file of the BHCexam package with LaTeX2e.
+
+\endpreamble
+
+\askonceonly
+\keepsilent
+\usedir{tex/latex/BHCexam}
+
+\generate{\file{BHCexam.cls}{\from{BHCexam.dtx}{cls}}
+ \usepreamble\cfgpreamble
+ \file{BHCexam.cfg}{\from{BHCexam.dtx}{cfg}}
+ }
+
+\ifToplevel{
+\Msg{***********************************************************}
+\Msg{*}
+\Msg{* To finish the installation you have to move the following}
+\Msg{* files into a directory searched by TeX:}
+\Msg{*}
+\Msg{* The recommended directory is TEXMF/tex/latex/BHCexam}
+\Msg{*}
+\Msg{* \space\space BHCexam.cls}
+\Msg{* \space\space BHCexam.cfg}
+\Msg{*}
+\Msg{* To produce the documentation run the files ending with}
+\Msg{* `.dtx' through LaTeX.}
+\Msg{*}
+\Msg{* Happy TeXing}
+\Msg{***********************************************************}
+}
+
+\endbatchfile
diff --git a/Master/texmf-dist/tex/latex/bhcexam/BHCexam.cfg b/Master/texmf-dist/tex/latex/bhcexam/BHCexam.cfg
index 39fc16e28ef..3ab4457814c 100644
--- a/Master/texmf-dist/tex/latex/bhcexam/BHCexam.cfg
+++ b/Master/texmf-dist/tex/latex/bhcexam/BHCexam.cfg
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2011 by Charles Bao <charley792@gmail.com>
+%% Copyright (C) 2014 by Charles Bao <charley792@gmail.com>
%%
%% This file was generated from file(s) of the BHCexam package project.
%% ----------------------------------------------------------------------
@@ -24,13 +24,12 @@
%% This is the configuration file of the BHCexam package with LaTeX2e.
%%
\ProvidesFile{BHCexam.cfg}
- [2011/07/27 v0.2 BHCexam
+ [2014/02/18 v0.3 BHCexam
configuration file]
-
\def\@biaoti{2011年全国普通高等学校招生统一考试(上海卷)}
-\def\@kemu{数学(理科)}
+\def\@fubiaoti{数学(理科)}
\def\@zongfen{150}
\def\@shijian{120}
\def\@tiankong@zongfen{56}
diff --git a/Master/texmf-dist/tex/latex/bhcexam/BHCexam.cls b/Master/texmf-dist/tex/latex/bhcexam/BHCexam.cls
index 37a94fd9f28..7601b184e34 100644
--- a/Master/texmf-dist/tex/latex/bhcexam/BHCexam.cls
+++ b/Master/texmf-dist/tex/latex/bhcexam/BHCexam.cls
@@ -49,15 +49,14 @@
%%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{BHCexam}
- [2011/07/27 v0.2 BHCexam
+ [2014/02/18 v0.3 BHCexam
document class]
-
\input{ctex-common-opts.def}
\input{ctex-class-opts.def}
\input{ctex-caption-opts.def}
-\newif\if@sixteenkpaper \@sixteenkpapertrue
-\DeclareOption{16kpaper}{\@sixteenkpaperfalse}
+\newif\if@sixteenkpaper \@sixteenkpaperfalse
+\DeclareOption{16kpaper}{\@sixteenkpapertrue}
\newif\if@marginline \@marginlinefalse
\DeclareOption{marginline}{\@marginlinetrue}
\newif\if@noindent \@noindentfalse
@@ -72,10 +71,13 @@
\input{ctex-common.def}
\input{ctex-caption.def}
\input{ctex-class.def}
-\RequirePackage{amsmath,amssymb,bm}
-\RequirePackage{graphicx}
\RequirePackage{ifpdf,ifxetex}
+\RequirePackage{amsmath,amssymb,amsthm,bm,bbding,pifont,dsfont}
+\RequirePackage{mathtools}
+\RequirePackage{paralist,cases,tabularx}
+\RequirePackage{pstricks,pst-plot,xcolor,graphicx}
\if@marginline
+\marginparwidth = 2cm
\if@sixteenkpaper
\RequirePackage[papersize={184mm,260mm},hmargin={3cm,2cm},
vmargin={2cm,2cm},marginparsep=0.5cm,hoffset=0cm,voffset=0cm,
@@ -91,7 +93,7 @@ headsep=0.5cm,twoside]{geometry}
vmargin={2cm,2cm},marginparsep=0.5cm,hoffset=0cm,voffset=0cm,
footnotesep=0.5cm,headsep=0.5cm]{geometry}
\else
-\RequirePackage[paper=a4paper,hmargin={2cm,2cm},vmargin={2cm,2cm},
+\RequirePackage[papersize={210mm,297mm},hmargin={2cm,2cm},vmargin={2cm,2cm},
marginparsep=0.5cm,hoffset=0cm,voffset=0cm,footnotesep=0.5cm,
headsep=0.5cm]{geometry}
\fi
@@ -99,20 +101,21 @@ headsep=0.5cm]{geometry}
\renewcommand{\baselinestretch}{1.5}
\pagestyle{headandfoot}
\header{}{}{}
-\footer{}{\small \kaishu{\@kemu}\quad 第~\thepage~页(共~\numpages~页)}{}
+\footer{}{\small \quad 第~\thepage~页(共~\numpages~页)}{}
\pointname{分}
\pointformat{\kaishu (\thepoints)}
-\renewcommand{\solutiontitle}{\noindent\heiti{解:}\noindent}
+\renewcommand{\questionshook}{
+ \settowidth{\leftmargin}{22.\hskip\labelsep}
+ \if@noindent \setlength\leftmargin{0pt} \fi
+}
\renewcommand{\thepartno}{\arabic{partno}}
\renewcommand{\partlabel}{(\thepartno)}
\renewcommand{\partshook}{
\settowidth{\leftmargin}{(3).\hskip\labelsep}
\if@noindent \setlength\leftmargin{0pt} \fi
}
-\renewcommand{\choiceshook}{
- \settowidth{\leftmargin}{W.\hskip\labelsep}
- \if@noindent \setlength\leftmargin{0pt} \fi
-}
+\newif\if@cancelspace \@cancelspacetrue
+\renewcommand{\solutiontitle}{\noindent 解:\noindent}
\renewenvironment{solution}%
{%
\ifprintanswers
@@ -120,8 +123,8 @@ headsep=0.5cm]{geometry}
\Solution@Emphasis
\begin{TheSolution}%
\else
- \ifcancelspace
- % Do nothing
+ \if@cancelspace
+ %\unskip
\else
\par
\penalty 0
@@ -171,10 +174,10 @@ headsep=0.5cm]{geometry}
\reversemarginpar
\fi
\newcommand\biaoti[1]{\def\@biaoti{#1}}
-\newcommand\kemu[1]{\def\@kemu{#1}}
+\newcommand\fubiaoti[1]{\def\@fubiaoti{#1}}
\renewcommand\maketitle{
\begin{center}{\heiti \Large{\@biaoti}}\end{center}
- \begin{center}{\heiti \Large{\@kemu}}\end{center}
+ \begin{center}{\heiti \Large{\@fubiaoti}}\end{center}
}
\newcommand\xinxi[2]{
\def\@zongfen{#1}
@@ -216,10 +219,6 @@ headsep=0.5cm]{geometry}
\end{tabular}
\bigskip
}
-\newcommand\oneb{\underline{\hspace{1em}}\hspace{0.001em}}
-\newcommand\twob{\oneb\oneb}
-\newcommand{\sixb}{\twob\twob}
-\newcommand\tenb{\twob\twob\twob\twob\twob}
\newcounter{@dati}
\newif\if@houpinfen \@houpinfenfalse
\newcommand\settk[3]{
@@ -233,10 +232,28 @@ headsep=0.5cm]{geometry}
\fullwidth{
\if@printbox \pinfen \fi
\begin{minipage}{\textwidth-\@boxwidth}
- \heiti \chinese{@dati}. 填空题(\kaishu 本大题满分~\@tiankong@zongfen~分) \heiti 本大题有~\@tiankong@tishu~题, 考生应在答题纸相应编号的空格内直接写结果, 每个空格填对得~\@tiankong@fen~分, 否则一律得零分.
+ \heiti \chinese{@dati}. 填空题:本大题共~\@tiankong@tishu~题,满分~\@tiankong@zongfen~分. 请在横线上方填写最终的、最准确的、最完整的结果. 每题填写正确得~\@tiankong@fen~分,否则一律得0分.
\end{minipage}
}
}
+\newcommand{\stk}[1]{
+ \ifprintanswers
+ \underline{~#1~}
+ \else
+ \underline{~\hspace{1cm}~}
+ \fi}
+\newcommand{\mtk}[1]{
+ \ifprintanswers
+ \underline{~#1~}
+ \else
+ \underline{~\hspace{2cm}~}
+ \fi}
+\newcommand{\ltk}[1]{
+ \ifprintanswers
+ \underline{~#1~}
+ \else
+ \underline{~\hspace{3cm}~}
+ \fi}
\newcommand\setxz[3]{
\def\@xuanze@zongfen{#1}
\def\@xuanze@tishu{#2}
@@ -248,58 +265,56 @@ headsep=0.5cm]{geometry}
\fullwidth{
\if@printbox \pinfen \fi
\begin{minipage}{\textwidth-\@boxwidth}
- \heiti \chinese{@dati}. 选择题(\kaishu 本大题满分~\@xuanze@zongfen~分) \heiti 本大题共有~\@xuanze@tishu~题, 每题有且只有一个正确答案, 考生应在答题纸的相应编号上, 将代表答案的小方格涂黑, 选对得~\@xuanze@fen~分, 否则一律得零分.
+ \heiti \chinese{@dati}. 选择题:本大题共~\@xuanze@tishu~题,满分~\@xuanze@zongfen~分. 请选择你认为最正确的答案(每小题有且只有一个)写在括号内. 每题填写正确得~\@xuanze@fen~分,否则得0分.
\end{minipage}
}
}
+\newcommand{\onech}[4]{
+\renewcommand\arraystretch{1.4}
+\begin{tabularx}{\linewidth}{XXXX}
+\setlength\tabcolsep{0pt}
+(A) #1 & (B) #2 & (C) #3 & (D) #4 \\
+\end{tabularx}
+\unskip \unskip}
+\newcommand{\twoch}[4]{
+\renewcommand\arraystretch{1.4}
+\begin{tabularx}{\linewidth}{XX}
+\setlength\tabcolsep{0pt}
+(A) #1 & (B) #2 \\
+(C) #3 & (D) #4
+\end{tabularx}
+\unskip \unskip}
+\newcommand{\fourch}[4]{
+\renewcommand\arraystretch{1.4}
+\begin{tabularx}{\linewidth}{X}
+\setlength\tabcolsep{0pt}
+(A) #1 \\
+(B) #2 \\
+(C) #3 \\
+(D) #4 \\
+\end{tabularx}
+\unskip \unskip}
\newcommand\setjd[2]{
\def\@jianda@zongfen{#1}
\def\@jianda@tishu{#2}
}
\newcommand\jianda{
+ \@cancelspacefalse
\@houpinfentrue
- \qformat{\hskip\labelsep \kaishu \thequestion.~~(本题满分~\totalpoints~分)\hfill}
\stepcounter{@dati}
\fullwidth{
\if@printbox \pinfen \fi
\begin{minipage}{\textwidth-\@boxwidth}
- \heiti \chinese{@dati}. 简答题(\kaishu 本大题满分~\@jianda@zongfen~分)~\heiti 本大题共有~\@jianda@tishu~题, 解答下列各题必须在答题纸相应的编号规定区域内写出必要的步骤.
+ \heiti \chinese{@dati}. 简答题:本大题共~\@jianda@tishu~题,满分~\@jianda@zongfen~分. 请在题后空处写出必要的推理计算过程.
\end{minipage}
}
}
-\newcommand{\rc}{\text{C}}
-\newcommand{\ri}{\text{i}}
-\newcommand{\ra}{\text{A}}
-\newcommand{\rd}{\text{d}}
-\newcommand\tian{\ensuremath{\text{d}}}
-\newcommand\A{\ensuremath{\text{A}}}
-\def\m{\ensuremath{\text{m}}}
-\newcommand\g{\ensuremath{\text{g}}}
-\newcommand\kg{\ensuremath{\text{kg}}}
-\newcommand\degree{\ensuremath{^\circ}}
-\newcommand\ssd{\ensuremath{\text{\textcelsius}}}
-\newcommand\rad{\ensuremath{\text{rad}}}
-\newcommand\N{\ensuremath{\text{N}}}
-\newcommand\Pa{\ensuremath{\text{Pa}}}
-\newcommand\J{\ensuremath{\text{J}}}
-\newcommand\W{\ensuremath{\text{W}}}
-\newcommand\ohm{\ensuremath{\Omega}}
-\newcommand\mol{\ensuremath{\text{mol}}}
-\newcommand\K{\ensuremath{\text{K}}}
-\newcommand\h{\ensuremath{\text{h}}}
-\newcommand\ton{\ensuremath{\text{t}}}
-\newcommand\squarem{\ensuremath{\text{m$^2$}}}
-\newcommand\cubicm{\ensuremath{\text{m$^3$}}}
-\newcommand\cm{\ensuremath{\text{cm}}}
-\newcommand\mm{\ensuremath{\text{mm}}}
-\newcommand\squarecm{\ensuremath{\text{cm$^2$}}}
-\newcommand\cubiccm{\ensuremath{\text{cm$^3$}}}
-\newcommand\squaremm{\ensuremath{\text{mm$^2$}}}
-\newcommand\cubicmm{\ensuremath{\text{mm$^3$}}}
-\newcommand\liter{\ensuremath{\text{L}}}
-\newcommand{\abs}[1]{\left|#1\right|}
-\newcommand\arccot{\mathop{\text{arccot}}}
-\newcommand\pingxing{\parallel}
+\delimitershortfall-1sp
+\newcommand\abs[1]{\left|#1\right|}
+\renewcommand{\geq}{\geqslant}
+\renewcommand{\ge}{\geqslant}
+\renewcommand{\leq}{\leqslant}
+\renewcommand{\le}{\leqslant}
\AtEndOfPackage{\makeatletter\input{BHCexam.cfg}\makeatother}
\endinput