diff options
author | Karl Berry <karl@freefriends.org> | 2024-02-16 21:04:46 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-02-16 21:04:46 +0000 |
commit | 0de1f21b378d12318976cefba1fcda96bfc705b5 (patch) | |
tree | 2579e24e408c19616805d301b0e9164aec347183 /Master/texmf-dist/source/latex/easybook/easybook.dtx | |
parent | 1cf06ba3b14d2dc7be3174069138cf6889ec0b15 (diff) |
easybook spbmark (16feb24)
git-svn-id: svn://tug.org/texlive/trunk@69907 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/easybook/easybook.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/easybook/easybook.dtx | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/latex/easybook/easybook.dtx b/Master/texmf-dist/source/latex/easybook/easybook.dtx index 16f5b792c01..a69d7de48bc 100644 --- a/Master/texmf-dist/source/latex/easybook/easybook.dtx +++ b/Master/texmf-dist/source/latex/easybook/easybook.dtx @@ -15,7 +15,7 @@ %<*class> \NeedsTeXFormat{LaTeX2e}[2021/11/15] \RequirePackage{l3keys2e} -\ProvidesExplClass{easybook}{2024/02/12}{2024ac} +\ProvidesExplClass{easybook}{2024/02/16}{2024ad} {Easily typesetting Chinese theses or books} \bool_set_false:N \l__eb_compile_draft_bool @@ -297,7 +297,7 @@ %<*package> \NeedsTeXFormat{LaTeX2e}[2021/11/15] \RequirePackage{l3keys2e,etoolbox} -\ProvidesExplPackage{easybase}{2024/02/12}{2024ac} +\ProvidesExplPackage{easybase}{2024/02/16}{2024ad} {Easily typesetting Chinese theses or books} \cs_generate_variant:Nn \dim_set:Nn { NV } @@ -1831,12 +1831,23 @@ \everymath{\displaystyle} \DeclareGraphicsExtensions{.pdf,.png,.jpg,.eps,.tif} +\dim_new:N \hangwd \cs_set_protected:Npn \hangpara #1#2 { \dim_set:Nn \hangindent {#1} \int_set:Nn \hangafter {#2} \noindent\ignorespaces } +\NewDocumentCommand{\hangfrom}{sO{\hangwd}mO{1}} + { + \hbox_set:Nn \l_tmpa_box {#3} + \dim_set:Nn \hangwd { \box_wd:N \l_tmpa_box } + \hangpara{#2}{#4} + \IfBooleanTF{#1} + {\hbox_to_wd:nn {#2} { }} + {\box_use_drop:N \l_tmpa_box} + \ignorespaces + } \DeclareDocumentEnvironment{hangparas}{mm+b} { \dim_zero:N \parindent @@ -2341,7 +2352,7 @@ } %</package> %<*tcolorbox> -\ProvidesExplFile{eb-tcolorbox.cfg}{2024/02/12}{2024ac} +\ProvidesExplFile{eb-tcolorbox.cfg}{2024/02/16}{2024ad} {Customization of tcolorbox for easybook} \cs_set_protected:Npn \addtotcbstyle #1#2 |