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/tex/latex/easybook | |
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/tex/latex/easybook')
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/easybase.sty | 13 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/easybook.cls | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg | 2 |
3 files changed, 14 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/easybook/easybase.sty b/Master/texmf-dist/tex/latex/easybook/easybase.sty index 03e40595877..9fac3e3a21c 100644 --- a/Master/texmf-dist/tex/latex/easybook/easybase.sty +++ b/Master/texmf-dist/tex/latex/easybook/easybase.sty @@ -20,7 +20,7 @@ %% This work has the LPPL maintenance status `maintained'. \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 } @@ -1554,12 +1554,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 diff --git a/Master/texmf-dist/tex/latex/easybook/easybook.cls b/Master/texmf-dist/tex/latex/easybook/easybook.cls index 3b9fdf57a60..0a52ccb2eab 100644 --- a/Master/texmf-dist/tex/latex/easybook/easybook.cls +++ b/Master/texmf-dist/tex/latex/easybook/easybook.cls @@ -20,7 +20,7 @@ %% This work has the LPPL maintenance status `maintained'. \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 diff --git a/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg b/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg index 36ff2218e14..21290f966ae 100644 --- a/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg +++ b/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg @@ -18,7 +18,7 @@ %% LaTeX version 2005/12/01 or later. %% %% This work has the LPPL maintenance status `maintained'. -\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 |