summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/easybook/easybook.cls
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/easybook/easybook.cls')
-rw-r--r--macros/latex/contrib/easybook/easybook.cls20
1 files changed, 10 insertions, 10 deletions
diff --git a/macros/latex/contrib/easybook/easybook.cls b/macros/latex/contrib/easybook/easybook.cls
index 475920142e..16ae60d7a7 100644
--- a/macros/latex/contrib/easybook/easybook.cls
+++ b/macros/latex/contrib/easybook/easybook.cls
@@ -9,7 +9,7 @@
%% https://creativecommons.org/licenses/by/4.0/legalcode
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2021/02/20}{1.23e}{}
+\ProvidesExplClass{easybook}{2021/02/21}{1.23f}{}
\cs_generate_variant:Nn \keys_define:nn {nx}
\cs_generate_variant:Nn \int_to_arabic:n {v}
@@ -652,9 +652,9 @@
\DeclareCaptionLabelSeparator{ccwd}{\hspace{\ccwd}}
\DeclareCaptionLabelFormat{parens}{\bothIfFirst{#1}{~}(#2)}
-\DeclareCaptionFont{tablefont}{\l__table_font_tl}
-\DeclareCaptionFont{figurefont}{\l__figure_font_tl}
-\DeclareCaptionFont{listingfont}{\l__listing_font_tl}
+\DeclareCaptionFont{table@font}{\l__table_font_tl}
+\DeclareCaptionFont{figure@font}{\l__figure_font_tl}
+\DeclareCaptionFont{listing@font}{\l__listing_font_tl}
\captionsetup
{
format = hang,
@@ -665,13 +665,13 @@
labelsep = ccwd,
belowskip = 0pt,aboveskip = 10pt
}
-\captionsetup[table]{font += tablefont}
-\captionsetup[figure]{font += figurefont}
-\captionsetup[lstlisting]{singlelinecheck = false,font += listingfont}
+\captionsetup[table]{font += table@font}
+\captionsetup[figure]{font += figure@font}
+\captionsetup[lstlisting]{singlelinecheck = false,font += listing@font}
\captionsetup[subfigure]
{
labelformat = parens,
- font += figurefont,
+ font += figure@font,
belowskip = 2pt,aboveskip = 6pt
}
\captionsetup[figure][bi-second]{name = Figure}
@@ -875,8 +875,8 @@
detect-inline-family = math,
detect-inline-weight = math,
detect-display-math,
- unit-math-rm = \mathrm,
- number-math-rm = \mathrm,
+ range-phrase = \ensuremath{\sim},
+ range-units = single,
table-parse-only,
group-digits = false
}