代码拉取完成,页面将自动刷新
xchoices.sty
多余代码,优化代码格式label-pos
的垂直上方和下方距离hlist
的设置从sethlist
改为环境的可选参数xchoices
环境中varwidth
环境的- \leftmargin
mode
键值label-pos
的参数(#4)README.md
的“宏包开发背景”内容README.md
的示例代码和图片问题\paren
名为\xparen
label-style
的chinese值label-pos
参数\item
与enumerate
环境冲突bugcoffinchoice
命令的重写coffinchoice
不同方位的细节调整xchoices*
环境label-pos
为right
系列时,修改label样式为形如".A"xchoice
环境更名为xchoices
环境\xitem
为\item
\xchoices
命令,只保留xchoices
环境(#I4SKCL:“答案解析”不宜放在 xchoices 宏包中)xchoices
环境和xchoices*
环境为xchoices
环境xchoice
环境的垂直位移偏差bugA package for flexibly LaTeXing choice items based on hlist environment and coffin.
Github Repository: https://github.com/xkwxdyy/xchoices
Gitee Repository: https://gitee.com/xkwxdyy/xchoices
Author: Kangwei Xia kangweixia_xdyy@163.com
本宏包为本人前段时间编写的宏包choices
的重新推翻编写的版本,并增加了许多功能:
(choices宏包仓库:github, gitee)
\choices
命令更改为\xchoices
hlist
环境的\xchoices
命令的重写\xchoicesetup
\paren
,默认到该行行尾,内容多时自动到下一行行尾list
环境的xchoice
环境,用\xitem
分隔每一项(由于环境和命令不能重名,所以环境没有加s)xchoice
环境下增加了答案和解析的控制显示,\xitem*
表示该项为正确答案,支持多选题。示例如下\begin{xchoice}[
analysis-content = {
It's obvious that D is false, then ...
}
]
\xitem* 正确选项
\xitem 错误选项
\xitem* 正确选项
\xitem 错误选项
\end{xchoice}
\sethlist
接口实现)\sethlist
接口实现)showanswer
, showanswer = true
表示显示答案showanswer = false
表示隐藏答案violet
showanalysis
, showanalysis = true
表示显示解析showanalysis = false
表示隐藏解析violet
\coffinchoice
命令的重写issues: https://github.com/xkwxdyy/xchoices/issues