summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-02-23 22:34:05 +0000
committerKarl Berry <karl@freefriends.org>2021-02-23 22:34:05 +0000
commitba91902004c8ba5dda89ddfacd0ceba3491820d4 (patch)
tree15919bd820f4cf357c5d723e1ed34553c24f3f76
parent167f647ccd1bc1558210cfedb4760e4494724b66 (diff)
easybook (23feb21)
git-svn-id: svn://tug.org/texlive/trunk@57859 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/easybook/chapter1.tex2
-rw-r--r--Master/texmf-dist/doc/latex/easybook/chapter3.tex10
-rw-r--r--Master/texmf-dist/doc/latex/easybook/easybook-demo.pdfbin299163 -> 290207 bytes
-rw-r--r--Master/texmf-dist/doc/latex/easybook/easybook-demo.tex6
-rw-r--r--Master/texmf-dist/doc/latex/easybook/easybook.pdfbin231353 -> 232847 bytes
-rw-r--r--Master/texmf-dist/doc/latex/easybook/easybook.tex44
-rw-r--r--Master/texmf-dist/doc/latex/easybook/refs.bib42
-rw-r--r--Master/texmf-dist/tex/latex/easybook/easybook.cls16
8 files changed, 62 insertions, 58 deletions
diff --git a/Master/texmf-dist/doc/latex/easybook/chapter1.tex b/Master/texmf-dist/doc/latex/easybook/chapter1.tex
index 28df5582009..e99f7907386 100644
--- a/Master/texmf-dist/doc/latex/easybook/chapter1.tex
+++ b/Master/texmf-dist/doc/latex/easybook/chapter1.tex
@@ -58,7 +58,7 @@
\section{表格}
\index{b@表格}
-合并表格列使用 \lstinline{\multicolumn} 命令,合并行使用 \lstinline{\multirowcell} 命令。当插入的表格内容过长以至于一行放不下的情况可以使用 \lstinline{tabularx} 环境,设置了\textsf{L、C和R}三个列对齐选项,一个例子如\cref{tab:example} 所示。
+合并表格列使用 \lstinline{\multicolumn} 命令,合并行可以使用 \lstinline{makecell} 宏包的 \lstinline{\multirowcell} 命令。当插入的表格内容过长以至于一行放不下的情况可以使用 \lstinline{tabularx} 环境,文档类设置了\textsf{L、C和R}三个列对齐选项,一个例子如\cref{tab:example} 所示。
\begin{table}[htbp]
\centering
\bicaption{使用tabularx创建内容过长表格}{Use tabularx to create a table with too long content}\label{tab:example}\small
diff --git a/Master/texmf-dist/doc/latex/easybook/chapter3.tex b/Master/texmf-dist/doc/latex/easybook/chapter3.tex
index 8670c109751..0dd968f26d6 100644
--- a/Master/texmf-dist/doc/latex/easybook/chapter3.tex
+++ b/Master/texmf-dist/doc/latex/easybook/chapter3.tex
@@ -20,7 +20,7 @@ if __name__ == '__main__':
\section{物理量}
\index{w@物理量}
-阿司匹林还有三种作用方式 \num{-21x.3e5}。一是使线粒体的氧化磷酸化解偶联。阿司匹林会携带质子从线粒体膜间隙扩散进入线粒体基质,然后再次电离释放质子 \SI{.5}{mol}。
+阿司匹林还有三种作用方式 \num{-21x.3e5}。一是使线粒体的氧化磷酸化解偶联 \SIrange{12}{35}{\minute}。阿司匹林会携带质子从线粒体膜间隙扩散进入线粒体基质,然后再次电离释放质子 \SI{.5}{mol}。
\section{化学式}
\index{h@化学式}
@@ -40,14 +40,12 @@ HN-[::+60]CH_3)=-(-HO)=)}\]
\subsection{脚注}
\index{y@引用!j@脚注}
-六年之后的1859年,冯·基尔姆让水杨酸和乙酰氯反应,制得了分析纯的乙酰水杨酸,他称之为“乙酰化水杨酸”(acetylierte*Salicyls+"aure)\footnote{这是一个悬挂缩进的脚注。\par 这是分段将会缩进两字符。}。
-
-60和70年代,约翰·范恩等人发现了阿司匹林的作用机理,60至80年代的其他研究和临床试验证明该药有抗凝血的药效,可降低血栓疾病的发病率\Footnote{*}{这是可以自定义标记的脚注。}。
+阿司匹林及其复方制剂都能有效治疗某几种头痛,但对另外几种则效果不明\footnote{\zhlipsum*[8][name = aspirin]}。因其他疾病或创伤导致的继发性头痛需要及时在医疗机构接受治疗\Footnote{*}{\zhlipsum*[8][name = aspirin]}。
\subsection{引用章节}
\label{subsec:reference section}
\index{y@引用!s@索引}
-兽医有时用阿司匹林来镇痛或抗血栓,主要给狗用\cref{chap:other formats},有时给马用\cref{subsec:reference section},不过现在一般会用副作用较少的新疗法。
+阿司匹林及其复方制剂都能有效治疗某几种头痛,但对另外几种则效果不明\cref{chap:other formats}。因其他疾病或创伤导致的继发性头痛需要及时在医疗机构接受治疗\cref{subsec:reference section}。
\subsection{参考文献}
\index{y@引用!c@参考文献}
@@ -55,4 +53,4 @@ HN-[::+60]CH_3)=-(-HO)=)}\]
\section{行内盒子}
\index{h@行内盒子}
-对乙酰氨基酚和布洛芬 \concise[Aqua][fontupper = \rmfamily]{concise} 于1956年和1959年相继问世以后,阿司匹林 \fuzzy[DarkSeaGreen][fontupper = \ttfamily,colupper = black]{fuzzy} 的使用率开始下降。 \ No newline at end of file
+阿司匹林及其复方制剂都能有效治疗某几种头痛,但对另外几 \concise[Aqua][fontupper = \rmfamily]{concise} 种则效果不明。因其他疾病或创伤导致的 \fuzzy[DarkSeaGreen][fontupper = \ttfamily,colupper = black]{fuzzy} 继发性头痛需要及时在医疗机构接受治疗。 \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/easybook/easybook-demo.pdf b/Master/texmf-dist/doc/latex/easybook/easybook-demo.pdf
index 2a5217e816b..b5aa905abf2 100644
--- a/Master/texmf-dist/doc/latex/easybook/easybook-demo.pdf
+++ b/Master/texmf-dist/doc/latex/easybook/easybook-demo.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/easybook/easybook-demo.tex b/Master/texmf-dist/doc/latex/easybook/easybook-demo.tex
index 5502281ec25..fae23008c3f 100644
--- a/Master/texmf-dist/doc/latex/easybook/easybook-demo.tex
+++ b/Master/texmf-dist/doc/latex/easybook/easybook-demo.tex
@@ -2,7 +2,7 @@
zihao = -4,
font = noto,
paper = a4paper,
- openany,
+ openany
]{easybook}
\ctexset
@@ -79,7 +79,7 @@
bibset =
{
backend = bibtex,
- bibstyle = number
+ bibstyle = numerical
},
% secnumdepth = 2,
% tocdepth = 2
@@ -95,7 +95,7 @@
\github~\url{https://github.com/texl3/easybook} \\
\edge~\url{https://latexstudio.net}
}
- \date{2021/02/21\hskip\ccwd\relax v1.23f}
+ \date{2021/02/23\hskip\ccwd\relax v1.23g}
}
\begin{document}
diff --git a/Master/texmf-dist/doc/latex/easybook/easybook.pdf b/Master/texmf-dist/doc/latex/easybook/easybook.pdf
index cb8064b6a54..411175f9137 100644
--- a/Master/texmf-dist/doc/latex/easybook/easybook.pdf
+++ b/Master/texmf-dist/doc/latex/easybook/easybook.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/easybook/easybook.tex b/Master/texmf-dist/doc/latex/easybook/easybook.tex
index 15507624965..f01e75319ee 100644
--- a/Master/texmf-dist/doc/latex/easybook/easybook.tex
+++ b/Master/texmf-dist/doc/latex/easybook/easybook.tex
@@ -3,7 +3,7 @@
\title{\sffamily easybook书籍文档类}
\author{瞿毅}
-\date{2021/02/21\hskip\ccwd\relax v1.23f\thanks{\url{https://gitee.com/texl3/easybook}}}
+\date{2021/02/23\hskip\ccwd\relax v1.23g\thanks{\url{https://gitee.com/texl3/easybook}}}
\begin{document}
\maketitle
@@ -81,7 +81,7 @@
\begin{syntax}
font = <adobe|founder|mac|windows|linux|(overleaf)|noto|none>
\end{syntax}
-\changes{v1.21b}{2021/01/12}{默认字体与\CTeX 一致,不再是自定义字体。}
+\changes{v1.21}{2021/01/12}{默认字体与\CTeX 一致,不再是自定义字体。}
传递给 \cls{ctexbook} 设置字体,最好不要使用原有的 \opt{fontset} 选项,默认情况下使用自定义字体而不开启这个选项,可根据安装的字体及电脑系统选取。\opt{noto} 与 \opt{none} 选项的相关描述见小节 \ref{font settings},\opt{overleaf} 是一个各系统通用选项,会检测系统环境选取对应字体。
\end{function}
@@ -98,6 +98,7 @@
\tn{frontmatter}\oarg{编号格式|(Roman)}
\tn{printindex}\oarg{索引名}
\end{syntax}
+\changes{v1.23g}{2021/02/20}{重新定义文档结构划分命令。}
\tn{frontmatter} 为前言区命令,章标题不编号,页码可设置为例如 \opt{roman}、\opt{Alph} 等格式,带有星号的命令 \tn{frontmatter*} 不使用 \tn{cleardoublepage}。\tn{mainmatter} 为主文区命令,章标题正常编号且页码为从1开始计数的阿拉伯数字,\tn{mainmatter*} 命令不使用 \tn{cleardoublepage}。\tn{backmatter} 为后记区命令,页码格式与编号保持不变,章标题不编号。\tn{listoffigures} 命令输出图片目录,\tn{listoftables} 命令输出表格目录,\tn{listoflistings} 命令输出代码目录。
\end{function}
@@ -130,8 +131,8 @@
rulewidth = <(0.75pt)>
\end{syntax}
\changes{v1.10}{2021/01/08}{更改颜色实现方式与选项名。}
-\changes{v1.23}{2021/02/02}{noto风格的数学字体独立出来,可自定义设置。}
-\changes{v1.23b}{2021/02/09}{增加控制页面横线粗细的选项。}
+\changes{v1.23g}{2021/02/02}{noto风格的数学字体独立出来,可自定义设置。}
+\changes{v1.23g}{2021/02/09}{增加控制页面横线粗细的选项。}
\opt{style} 选项控制文章的风格。
\end{function}
@@ -186,15 +187,15 @@
caption = <(1)>
footnote = <(1)>
\end{syntax}
-\changes{v1.21b}{2021/01/12}{增加脚注线间的距离选项。}
-\changes{v1.23b}{2021/02/09}{取消使用 \pkg{zhlineskip} 宏包设置数学间距。}
+\changes{v1.21}{2021/01/12}{增加脚注线间的距离选项。}
+\changes{v1.23g}{2021/02/09}{取消使用 \pkg{zhlineskip} 宏包设置数学间距。}
行距因子用于设置各种行距倍数,只能是浮点数,不能带有长度单位。\tn{ctexset} 原有的行距选项\opt{linespread}失效。各行距既可在导言区全局设置也可正文中设置对后面生效,行距的意义为
\end{function}
\begin{optdesc}
\item[line] 正文行距。
\item[table] 表格行距。
- \item[math] 数学环境行距。
+ \item[math] 数学环境行距,包括 \pkg{amsmath} 和 \pkg{mathtools} 宏包附带的环境,但并未加载 \pkg{mathtools} 宏包。
\item[caption] 图表代码标题行距。
\item[footnote] 脚注行距。
\end{optdesc}
@@ -209,7 +210,7 @@
marginpart = <\tn{rmfamily}\tn{footnotesize}>
\end{syntax}
\changes{v1.10}{2021/01/08}{加入自定义非正文字体选项。}
-\changes{v1.23a}{2021/02/08}{修复使用 \tn{zihao} 命令设置字体失效的问题。}
+\changes{v1.23g}{2021/02/08}{修复使用 \tn{zihao} 命令设置字体失效的问题。}
\end{function}
\begin{optdesc}
@@ -221,21 +222,22 @@
\end{optdesc}
\subsection{参考文献}
-\begin{function}[EXP,added = 2021-01-11]{bibset/backend,bibset/bibstyle,bibset/citestyle,bibset/bibfile,\printbibliography}
+\begin{function}[EXP,added = 2021-01-11,updated = 2021-02-23]{bibset/backend,bibset/bibstyle,bibset/citestyle,bibset/bibfile,\printbibliography}
\begin{syntax}
backend = <(bibtex)|biblatex>
- bibstyle = <(number)|authoryear|其它格式>
+ bibstyle = <(numerical)|authoryear|其它格式>
citestyle = <引用格式>
bibfile = <ref/refs.bib>
\tn{printbibliography}\oarg{选项列表}
\end{syntax}
\changes{v1.21}{2021/01/11}{增加 \opt{bibset} 选项,可以使用 \hologo{BibTeX} 或 \hologo{biber} 编译参考文献。}
+\changes{v1.23g}{2021/02/23}{使用 \opt{bibset} 选项时可设置标注风格。}
\end{function}
\begin{optdesc}
\item[backend] 参考文献处理后端,默认用传统的 \hologo{BibTeX} 处理参考文献。
\item[bibstyle] 参考文献格式为中国的参考文献推荐标准GB/T 7714-2015,有顺序编码制和著者-出版年制两种风格,理工科类一般使用顺序编码制,文科类一般使用著者-出版年制。若使用其它格式,使用 \hologo{BibTeX} 处理时需确保正确的 \opt{bst} 文件,使用 \hologo{biber} 处理可使用 \pkg{biblatex} 宏包支持的参考文献风格名称。
- \item[citestyle] 引用参考文献的格式,对 \opt{backend = bibtex} 选项\textbf{无效},可使用 \pkg{biblatex} 宏包支持的引用文献风格名称。
+ \item[citestyle] 标注参考文献的风格,\opt{backend = bibtex} 选项下可使用 \opt{super}(上标标注,默认)或 \opt{numbers}(普通标注)等 \pkg{natbib} 宏包带有的标注风格,\opt{backend = biblatex} 选项下可使用 \pkg{biblatex} 宏包支持的标注风格名称。
\item[bibfile] 参考文献的数据文件,使用 \hologo{biber} 处理时要带有 \opt{bib} 后缀,默认为一个在 \opt{ref} 文件夹中以 \opt{refs.bib} 命名的文件。
\item[\tn{printbibliography}] 两种方式\textbf{均使用}此命令打印参考文献,其中可选项仅在 \hologo{biber} 处理时有效。
\end{optdesc}
@@ -254,7 +256,7 @@
spacebelow = <(0.75ex plus .1ex)>
spacepost = <(\tn{ccwd})>
\end{syntax}
-\changes{v1.21b}{2021/01/12}{增加配置定理环境样式的选项。}
+\changes{v1.21}{2021/01/12}{增加配置定理环境样式的选项。}
\end{function}
\begin{optdesc}
@@ -286,7 +288,7 @@
textwidth = <长度>
includehead = <true|(false)>
\end{syntax}
-\changes{v1.21c}{2021/01/13}{增加配置页面边距的选项。}
+\changes{v1.21}{2021/01/13}{增加配置页面边距的选项。}
\opt{geoset} 将选项交给 \pkg{geometry} 宏包接口命令 \tn{geometry} 处理,并且选项的键值列表与之相同,支持的参数可查阅宏包帮助文档。当在此设置页面大小时,会覆盖 \opt{paper} 选项的设置。
\begin{ctexexam}
\ctexset
@@ -310,7 +312,7 @@
\tn{easyfoot}\oarg{位置}\marg{内容}
\end{syntax}
\changes{v1.21}{2021/01/11}{修复单面文档时页眉横线消失的问题。}
-\changes{v1.21c}{2021/01/13}{增加配置页眉页脚的选项。}
+\changes{v1.21}{2021/01/13}{增加配置页眉页脚的选项。}
\opt{hdrset} 设置的命令由 \pkg{fancyhdr} 宏包提供支持,命令 \tn{easyhead} 和 \tn{easyfoot} 的含义与 \tn{fancyhead} 和 \tn{fancyfoot} 相同,设置的是一个名为 \opt{fancy} 的页面风格。\pkg{fancyhdr} 将页眉页脚分成了左中右和奇数页(odd)、偶数页(even)共12个部分,可选参数中E、O代表偶数、奇数,L、C、R代表左、中、右部分。单面打印时,含有偶数的选项无效。
\begin{ctexexam}
\ctexset
@@ -336,7 +338,7 @@
belowoffset = <(-1pc)>
\tn{tocrule} = \oarg{引导点间距|(0.7pc)}\oarg{引导点大小|(1.2)}\marg{引导点}\oarg{页码格式}
\end{syntax}
-\changes{v1.21c}{2021/01/13}{增加配置目录样式的选项。}
+\changes{v1.21}{2021/01/13}{增加配置目录样式的选项。}
\opt{tocset} 将目录样式交给 \pkg{titletoc} 处理,预置了 \opt{part}、\opt{chapter}、\opt{section}、\opt{subsection} 和 \opt{lists} 五种级别的目录标题,键值列表中的...代表它们。\opt{lists} 为图片、表格和代码目录格式的级别。
\opt{lolskip} 是代码目录中章之间的代码标题的距离,使用刚性间距,与\CTeX 的 \opt{lotskip} 和 \opt{lofskip} 类似,它们的值均默认0.8pc。\opt{belowoffset} 选项为目录总标题 \tn{contentsname} 后的间距补偿,一般为负值,用于抵消 \opt{format} 中设置的间距。\opt{lists} 中的 \opt{belowoffset} 意义类似,但是一般为正值,在 \opt{lolskip = 0pc} 时使用。建议 \opt{lolskip+lists/format/addvspace = -belowoffset}。
@@ -428,12 +430,12 @@
\tn{item} <习题内容>
\tn{end}\marg{exercise}
\end{syntax}
-\changes{v1.23a}{2021/02/08}{增加准确的习题盒子标题目录锚点。}
+\changes{v1.23g}{2021/02/08}{增加准确的习题盒子标题目录锚点。}
习题环境 \opt{exercise} 的标题紧接上一节编号并加入目录与页眉,当使用星号环境时不进行编号。三个可选参数中颜色为自定义或 \pkg{xcolor} 包含的颜色名称,正文编号格式与小节 \ref{sort list} 排序列表相同,标题名默认为摘要,参数只能\textbf{从右往左}省略。
\begin{ctexexam}
\begin{exercise}[LightYellow][1.][习题]
- \item 习题内容
- \item 习题内容
+ \item 习题内容
+ \item 习题内容
\end{exercise}
\end{ctexexam}
\end{function}
@@ -496,17 +498,19 @@
\end{function}
\subsection{物理量}
-\begin{function}[added = 2021-01-05]{\num,\si,\SI}
+\begin{function}[added = 2021-01-05,updated = 2021-02-23]{\num,\si,\SI,\SIrange}
\begin{syntax}
\tn{num}\oarg{选项}\marg{数字}
\tn{si}\oarg{选项}\marg{单位}
\tn{SI}\oarg{选项}\marg{数字}\oarg{前缀}\marg{单位}
+ \tn{SIrange}\oarg{选项}\marg{数字1}\marg{数字2}\marg{单位}
\end{syntax}
-\pkg{siunitx} 宏包的 \tn{num} 命令可以输出科学计数法,而 \tn{SI} 命令可用来输出带有单位的量,\tn{si} 命令支持数学模式,可以代替数学行内公式输入。
+\pkg{siunitx} 宏包的 \tn{num} 命令可以输出科学计数法,\tn{si} 命令支持数学模式,可以代替数学行内公式输入,而 \tn{SI} 命令可用来输出带有单位的量,\tn{SIrange} 可以输出带有范围和单位的量。
\begin{ctexexam}
\num{-21x.3e5}
\si{mL.min^{-1}}
\SI{5}{\mole}
+ \SIrange[unit-color = green]{1.5}{4}{kg}
\end{ctexexam}
\end{function}
diff --git a/Master/texmf-dist/doc/latex/easybook/refs.bib b/Master/texmf-dist/doc/latex/easybook/refs.bib
index 187a6938054..01b14bd82c3 100644
--- a/Master/texmf-dist/doc/latex/easybook/refs.bib
+++ b/Master/texmf-dist/doc/latex/easybook/refs.bib
@@ -1,31 +1,31 @@
% Encoding: UTF-8
@article{1979Prospect,
- title={Prospect Theory: An Analysis of Decision under Risk},
- author={ Tversky, Kahneman Amos },
- journal={Econometrica},
- volume={47},
- number={2},
- pages={263-291},
- year={1979},
+ title = {Prospect Theory: An Analysis of Decision under Risk},
+ author = {Tversky, Kahneman Amos},
+ journal = {Econometrica},
+ volume = {47},
+ number = {2},
+ pages = {263-291},
+ year = {1979},
}
@article{2010An,
- title={An Introduction to Sociolinguistics},
- author={ Grabe, William and Wardhaugh, Ronald },
- journal={Language in Society},
- volume={36},
- number={2},
- pages={605-605},
- year={2010},
+ title = {An Introduction to Sociolinguistics},
+ author = {Grabe, William and Wardhaugh, Ronald},
+ journal = {Language in Society},
+ volume = {36},
+ number = {2},
+ pages = {605-605},
+ year = {2010},
}
@article{1989The,
- title={The structural transformation of the public sphere: an inquiry into a cstergory of burgeois society},
- author={ Scaff, Lawrence A. and Habermas, Jurgen and Burger, Thomas and Nicholson, Shierry Weber },
- journal={American Political Science Review},
- volume={84},
- number={3},
- pages={967},
- year={1989},
+ title = {The structural transformation of the public sphere: an inquiry into a cstergory of burgeois society},
+ author = {Scaff, Lawrence A. and Habermas, Jurgen and Burger, Thomas and Nicholson, Shierry Weber},
+ journal = {American Political Science Review},
+ volume = {84},
+ number = {3},
+ pages = {967},
+ year = {1989},
} \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/easybook/easybook.cls b/Master/texmf-dist/tex/latex/easybook/easybook.cls
index 16ae60d7a78..470d7ae4951 100644
--- a/Master/texmf-dist/tex/latex/easybook/easybook.cls
+++ b/Master/texmf-dist/tex/latex/easybook/easybook.cls
@@ -9,7 +9,7 @@
%% https://creativecommons.org/licenses/by/4.0/legalcode
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2021/02/21}{1.23f}{}
+\ProvidesExplClass{easybook}{2021/02/23}{1.23g}{}
\cs_generate_variant:Nn \keys_define:nn {nx}
\cs_generate_variant:Nn \int_to_arabic:n {v}
@@ -1046,7 +1046,7 @@
bibstyle .choice:,
bibstyle .value_required:n = true,
- bibstyle/number .code:n =
+ bibstyle/numerical .code:n =
{
\tl_set:Nn \l__bib_style_tl{#1}
\tl_clear:N \l__bib_mysty_tl
@@ -1058,7 +1058,7 @@
},
bibstyle/unknown .code:n =
{\tl_set_eq:NN \l__bib_mysty_tl\l_keys_value_tl},
- bibstyle .initial:n = number,
+ bibstyle .initial:n = numerical,
citestyle .code:n =
{\tl_set:Nn \l__bib_citesty_tl{#1}},
@@ -1070,10 +1070,10 @@
{
\tl_if_empty:NTF \l__bib_mysty_tl
{
- \tl_if_eq:VnT \l__bib_style_tl{number}
+ \tl_if_eq:VnT \l__bib_style_tl{numerical}
{
\bibliographystyle{gbt7714-numerical}
- \setcitestyle{square,comma,super}
+ \setcitestyle{comma,square,super}
}
\tl_if_eq:VnT \l__bib_style_tl{authoryear}
{\bibliographystyle{gbt7714-author-year}}
@@ -1081,6 +1081,8 @@
}{
\exp_args:NV \bibliographystyle\l__bib_mysty_tl
}
+ \tl_if_empty:NF \l__bib_citesty_tl
+ {\exp_args:NV \setcitestyle\l__bib_citesty_tl}
\cs_set:Npn \bibsection{\__title_mark_intoc:n \bibname}
\skip_set:Nn \bibsep{0ex}
\NewDocumentCommand\printbibliography{o}
@@ -1100,7 +1102,7 @@
\__put_biblatex:n {style = \l__bib_mysty_tl}
}
\tl_if_empty:NF \l__bib_citesty_tl
- {\__put_biblatex:n {citestyle = \l__bib_mysty_tl}}
+ {\__put_biblatex:n {citestyle = \l__bib_citesty_tl}}
\__put_biblatex:n {backend = biber}
}
\cs_new_protected:Npn \__biblatex_after_set:
@@ -1178,7 +1180,7 @@
rulecolor = \color{ctex@frame},
commentstyle = \color{gray},
emphstyle = \color{ctex@emph},
- emph = {caption,subcaption,tabularx},
+ emph = {caption,makecell,subcaption,tabularx},
keywordstyle =
\lst@ifdisplaystyle\bfseries\color{ctex@emph}\else\color{ctex@verb}\fi,
morekeywords =