summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/easybook/easybook.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-08-13 03:01:44 +0000
committerNorbert Preining <norbert@preining.info>2022-08-13 03:01:44 +0000
commitb229ca426d9d7fee0e3c48c58a00ffcf3da66cb0 (patch)
treed51dc1c05106c90f8b4c478a0617282527ab3937 /macros/latex/contrib/easybook/easybook.tex
parent5b5d760e2de6105ab7ca8ab1327fc2ad36951328 (diff)
CTAN sync 202208130301
Diffstat (limited to 'macros/latex/contrib/easybook/easybook.tex')
-rw-r--r--macros/latex/contrib/easybook/easybook.tex23
1 files changed, 14 insertions, 9 deletions
diff --git a/macros/latex/contrib/easybook/easybook.tex b/macros/latex/contrib/easybook/easybook.tex
index ef0b16e0ba..e20dc7f0ab 100644
--- a/macros/latex/contrib/easybook/easybook.tex
+++ b/macros/latex/contrib/easybook/easybook.tex
@@ -21,8 +21,8 @@
name = easybook,
color-scheme = blue,
title = EASYBOOK使用手册,
- version = v1.69,
- date = 2022/08/03,
+ version = v1.70,
+ date = 2022/08/12,
authors = 瞿毅,
info = 简便地排版中文学位论文或书籍,
email = toquyi@163.com,
@@ -132,11 +132,19 @@
\newcounter{ctexexam}
\define@key{FV}{labelref}{\def\ctexexamlabelref{\label{#1}}}
\let\ctexexamlabelref\empty
+\fvset
+ {
+ formatcom = \xeCJKVerbAddon,
+ baselinestretch = 1.2,
+ gobble = 2,
+ fontsize = \small,
+ rulecolor = \color{Blue},
+ framerule = 0.5pt,
+ frame = single,
+ framesep = 10pt
+ }
\DefineVerbatimEnvironment{frameverb}{Verbatim}
{
- baselinestretch = 1.2,gobble = 2,fontsize = \small,
- rulecolor = \color{Blue},framerule = 0.5pt,
- frame = single,framesep = 10pt,
listparameters =
{
\setlength{\topsep}{\bigskipamount}
@@ -145,15 +153,12 @@
}
\DefineVerbatimEnvironment{ctexexam}{Verbatim}
{
- baselinestretch = 1.2,gobble = 2,fontsize = \small,
- rulecolor = \color{Blue},framerule = 0.5pt,
- frame = single,framesep = 10pt,
label = \rule{0pt}{12pt}\textnormal{\bfseries 例 \arabic{ctexexam}},
listparameters =
{
\setlength{\topsep}{\bigskipamount}
- \refstepcounter{ctexexam}\ctexexamlabelref
\appto\FV@EndList{\nointerlineskip}
+ \refstepcounter{ctexexam}\ctexexamlabelref
}
}
\makeatother\ExplSyntaxOff