diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3box.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/l3kernel/l3box.dtx | 54 |
1 files changed, 24 insertions, 30 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3box.dtx b/Master/texmf-dist/source/latex/l3kernel/l3box.dtx index b0c545ffe8d..39a4ab8c754 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3box.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3box.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -%% File: l3box.dtx Copyright (C) 2005-2018 The LaTeX3 Project +%% File: l3box.dtx Copyright (C) 2005-2019 The LaTeX3 Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018-12-12} +% \date{Released 2019-01-01} % % \maketitle % @@ -593,16 +593,19 @@ % \end{function} % % -% \begin{function}[updated = 2011-10-22]{\vbox_set_split_to_ht:NNn} +% \begin{function}[updated = 2018-12-29] +% { +% \vbox_set_split_to_ht:NNn, \vbox_set_split_to_ht:cNn, +% \vbox_set_split_to_ht:Ncn, \vbox_set_split_to_ht:ccn, +% \vbox_gset_split_to_ht:NNn, \vbox_gset_split_to_ht:cNn, +% \vbox_gset_split_to_ht:Ncn, \vbox_gset_split_to_ht:ccn +% } % \begin{syntax} % \cs{vbox_set_split_to_ht:NNn} \meta{box_1} \meta{box_2} \Arg{dimexpr} % \end{syntax} % Sets \meta{box_1} to contain material to the height given by the % \meta{dimexpr} by removing content from the top of \meta{box_2} % (which must be a vertical box). -% \begin{texnote} -% This is the \TeX{} primitive \tn{vsplit}. -% \end{texnote} % \end{function} % % \begin{function}{\vbox_unpack:N, \vbox_unpack:c} @@ -1542,13 +1545,27 @@ % \end{macro} % \end{macro} % -% \begin{macro}{\vbox_set_split_to_ht:NNn} +% \begin{macro} +% { +% \vbox_set_split_to_ht:NNn, \vbox_set_split_to_ht:cNn, +% \vbox_set_split_to_ht:Ncn, \vbox_set_split_to_ht:ccn, +% \vbox_gset_split_to_ht:NNn, \vbox_gset_split_to_ht:cNn, +% \vbox_gset_split_to_ht:Ncn, \vbox_gset_split_to_ht:ccn, +% } % \testfile* % Splitting a vertical box in two. % \begin{macrocode} \__kernel_patch:nnNNpn { \__kernel_chk_var_local:N #1 } { } \cs_new_protected:Npn \vbox_set_split_to_ht:NNn #1#2#3 { \tex_setbox:D #1 \tex_vsplit:D #2 to \@@_dim_eval:n {#3} } +\cs_generate_variant:Nn \vbox_set_split_to_ht:NNn { c , Nc , cc } +\__kernel_patch:nnNNpn { \__kernel_chk_var_global:N #1 } { } +\cs_new_protected:Npn \vbox_gset_split_to_ht:NNn #1#2#3 + { + \tex_global:D \tex_setbox:D #1 + \tex_vsplit:D #2 to \@@_dim_eval:n {#3} + } +\cs_generate_variant:Nn \vbox_gset_split_to_ht:NNn { c , Nc , cc } % \end{macrocode} % \end{macro} % @@ -2087,29 +2104,6 @@ % \end{macrocode} % \end{macro} % -% \subsection{Deprecated functions} -% -% \begin{macro}[deprecated = 2018-12-31]{\box_resize:Nnn, \box_resize:cnn} -% \begin{macro}[deprecated = 2018-12-31]{\box_use_clear:N, \box_use_clear:c} -% \begin{macrocode} -\__kernel_patch_deprecation:nnNNpn - { 2018-12-31 } { \box_resize_to_wd_and_ht_plus_dp:Nnn } -\cs_new_protected:Npn \box_resize:Nnn - { \box_resize_to_wd_and_ht_plus_dp:Nnn } -\__kernel_patch_deprecation:nnNNpn - { 2018-12-31 } { \box_resize_to_wd_and_ht_plus_dp:cnn } -\cs_new_protected:Npn \box_resize:cnn - { \box_resize_to_wd_and_ht_plus_dp:cnn } -\__kernel_patch_deprecation:nnNNpn - { 2018-12-31 } { \box_use_drop:N } -\cs_new_protected:Npn \box_use_clear:N { \box_use_drop:N } -\__kernel_patch_deprecation:nnNNpn - { 2018-12-31 } { \box_use_drop:c } -\cs_new_protected:Npn \box_use_clear:c { \box_use_drop:c } -% \end{macrocode} -% \end{macro} -% \end{macro} -% % \begin{macrocode} %</initex|package> % \end{macrocode} |