summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/l3kernel/l3skip.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3kernel/l3skip.sty')
-rw-r--r--Master/texmf-dist/tex/latex/l3kernel/l3skip.sty446
1 files changed, 0 insertions, 446 deletions
diff --git a/Master/texmf-dist/tex/latex/l3kernel/l3skip.sty b/Master/texmf-dist/tex/latex/l3kernel/l3skip.sty
deleted file mode 100644
index 419536abeab..00000000000
--- a/Master/texmf-dist/tex/latex/l3kernel/l3skip.sty
+++ /dev/null
@@ -1,446 +0,0 @@
-%%
-%% This is file `l3skip.sty',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% l3skip.dtx (with options: `package')
-%%
-%% EXPERIMENTAL CODE
-%%
-%% Do not distribute this file without also distributing the
-%% source files specified above.
-%%
-%% Do not distribute a modified version of this file.
-%%
-%% File: l3skip.dtx Copyright (C) 2004-2011 Frank Mittelbach, The LaTeX3 Project
-%% (C) 2012,2013 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
-%% license or (at your option) any later version. The latest version
-%% of this license is in the file
-%%
-%% http://www.latex-project.org/lppl.txt
-%%
-%% This file is part of the "l3kernel bundle" (The Work in LPPL)
-%% and all files in that bundle must be distributed together.
-%%
-%% The released version of this bundle is available from CTAN.
-%%
-%% -----------------------------------------------------------------------
-%%
-%% The development version of the bundle can be found at
-%%
-%% http://www.latex-project.org/svnroot/experimental/trunk/
-%%
-%% for those people who are interested.
-%%
-%%%%%%%%%%%
-%% NOTE: %%
-%%%%%%%%%%%
-%%
-%% Snapshots taken from the repository represent work in progress and may
-%% not work or may contain conflicting material! We therefore ask
-%% people _not_ to put them into distributions, archives, etc. without
-%% prior consultation with the LaTeX3 Project.
-%%
-%% -----------------------------------------------------------------------
-\RequirePackage{l3bootstrap}
-\GetIdInfo$Id: l3skip.dtx 4581 2013-07-28 08:38:50Z joseph $
- {L3 Dimensions and skips}
-\ProvidesExplPackage
- {\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription}
-\__expl_package_check:
-\cs_new_eq:NN \if_dim:w \tex_ifdim:D
-\cs_new_eq:NN \__dim_eval:w \etex_dimexpr:D
-\cs_new_eq:NN \__dim_eval_end: \tex_relax:D
-\cs_new_protected:Npn \dim_new:N #1
- {
- \__chk_if_free_cs:N #1
- \newdimen #1
- }
-\cs_generate_variant:Nn \dim_new:N { c }
-\cs_new_protected:Npn \dim_const:Nn #1
- {
- \dim_new:N #1
- \dim_gset:Nn #1
- }
-\cs_generate_variant:Nn \dim_const:Nn { c }
-\cs_new_protected:Npn \dim_zero:N #1 { #1 \c_zero_dim }
-\cs_new_protected:Npn \dim_gzero:N { \tex_global:D \dim_zero:N }
-\cs_generate_variant:Nn \dim_zero:N { c }
-\cs_generate_variant:Nn \dim_gzero:N { c }
-\cs_new_protected:Npn \dim_zero_new:N #1
- { \dim_if_exist:NTF #1 { \dim_zero:N #1 } { \dim_new:N #1 } }
-\cs_new_protected:Npn \dim_gzero_new:N #1
- { \dim_if_exist:NTF #1 { \dim_gzero:N #1 } { \dim_new:N #1 } }
-\cs_generate_variant:Nn \dim_zero_new:N { c }
-\cs_generate_variant:Nn \dim_gzero_new:N { c }
-\prg_new_eq_conditional:NNn \dim_if_exist:N \cs_if_exist:N { TF , T , F , p }
-\prg_new_eq_conditional:NNn \dim_if_exist:c \cs_if_exist:c { TF , T , F , p }
-\cs_new_protected:Npn \dim_set:Nn #1#2
- { #1 ~ \__dim_eval:w #2 \__dim_eval_end: }
-\cs_new_protected:Npn \dim_gset:Nn { \tex_global:D \dim_set:Nn }
-\cs_generate_variant:Nn \dim_set:Nn { c }
-\cs_generate_variant:Nn \dim_gset:Nn { c }
-\cs_new_protected:Npn \dim_set_eq:NN #1#2 { #1 = #2 }
-\cs_generate_variant:Nn \dim_set_eq:NN { c }
-\cs_generate_variant:Nn \dim_set_eq:NN { Nc , cc }
-\cs_new_protected:Npn \dim_gset_eq:NN #1#2 { \tex_global:D #1 = #2 }
-\cs_generate_variant:Nn \dim_gset_eq:NN { c }
-\cs_generate_variant:Nn \dim_gset_eq:NN { Nc , cc }
-\cs_new_protected:Npn \dim_add:Nn #1#2
- { \tex_advance:D #1 by \__dim_eval:w #2 \__dim_eval_end: }
-\cs_new_protected:Npn \dim_gadd:Nn { \tex_global:D \dim_add:Nn }
-\cs_generate_variant:Nn \dim_add:Nn { c }
-\cs_generate_variant:Nn \dim_gadd:Nn { c }
-\cs_new_protected:Npn \dim_sub:Nn #1#2
- { \tex_advance:D #1 by - \__dim_eval:w #2 \__dim_eval_end: }
-\cs_new_protected:Npn \dim_gsub:Nn { \tex_global:D \dim_sub:Nn }
-\cs_generate_variant:Nn \dim_sub:Nn { c }
-\cs_generate_variant:Nn \dim_gsub:Nn { c }
-\cs_new:Npn \dim_abs:n #1
- {
- \exp_after:wN \__dim_abs:N
- \dim_use:N \__dim_eval:w #1 \__dim_eval_end:
- }
-\cs_new:Npn \__dim_abs:N #1
- { \if_meaning:w - #1 \else: \exp_after:wN #1 \fi: }
-\cs_set:Npn \dim_max:nn #1#2
- {
- \dim_use:N \__dim_eval:w \exp_after:wN \__dim_maxmin:wwN
- \dim_use:N \__dim_eval:w #1 \exp_after:wN ;
- \dim_use:N \__dim_eval:w #2 ;
- >
- \__dim_eval_end:
- }
-\cs_set:Npn \dim_min:nn #1#2
- {
- \dim_use:N \__dim_eval:w \exp_after:wN \__dim_maxmin:wwN
- \dim_use:N \__dim_eval:w #1 \exp_after:wN ;
- \dim_use:N \__dim_eval:w #2 ;
- <
- \__dim_eval_end:
- }
-\cs_new:Npn \__dim_maxmin:wwN #1 ; #2 ; #3
- {
- \if_dim:w #1 #3 #2 ~
- #1
- \else:
- #2
- \fi:
- }
-\cs_new:Npn \dim_ratio:nn #1#2
- { \__dim_ratio:n {#1} / \__dim_ratio:n {#2} }
-\cs_new:Npn \__dim_ratio:n #1
- { \__int_value:w \__dim_eval:w #1 \__dim_eval_end: }
-\prg_new_conditional:Npnn \dim_compare:nNn #1#2#3 { p , T , F , TF }
- {
- \if_dim:w \__dim_eval:w #1 #2 \__dim_eval:w #3 \__dim_eval_end:
- \prg_return_true: \else: \prg_return_false: \fi:
- }
-\prg_new_conditional:Npnn \dim_compare:n #1 { p , T , F , TF }
- {
- \exp_after:wN \__dim_compare:w
- \dim_use:N \__dim_eval:w #1 \__prg_compare_error:
- }
-\cs_new:Npn \__dim_compare:w #1 \__prg_compare_error:
- {
- \exp_after:wN \if_false: \tex_romannumeral:D -`0
- \__dim_compare:wNN #1 ? { = \__dim_compare_end:w \else: } \q_stop
- }
-\exp_args:Nno \use:nn
- { \cs_new:Npn \__dim_compare:wNN #1 }
- { \tl_to_str:n {pt} }
- #2#3
- {
- \if_meaning:w = #3
- \use:c { __dim_compare_#2:w }
- \fi:
- #1 pt \exp_stop_f:
- \prg_return_false:
- \exp_after:wN \use_none_delimit_by_q_stop:w
- \fi:
- \reverse_if:N \if_dim:w #1 pt #2
- \exp_after:wN \__dim_compare:wNN
- \dim_use:N \__dim_eval:w #3
- }
-\cs_new:cpn { __dim_compare_ ! :w }
- #1 \reverse_if:N #2 ! #3 = { #1 #2 = #3 }
-\cs_new:cpn { __dim_compare_ = :w }
- #1 \__dim_eval:w = { #1 \__dim_eval:w }
-\cs_new:cpn { __dim_compare_ < :w }
- #1 \reverse_if:N #2 < #3 = { #1 #2 > #3 }
-\cs_new:cpn { __dim_compare_ > :w }
- #1 \reverse_if:N #2 > #3 = { #1 #2 < #3 }
-\cs_new:Npn \__dim_compare_end:w #1 \prg_return_false: #2 \q_stop
- { #1 \prg_return_false: \else: \prg_return_true: \fi: }
-\cs_new:Npn \dim_case:nnTF #1
- {
- \tex_romannumeral:D
- \exp_args:Nf \__dim_case:nnTF { \dim_eval:n {#1} }
- }
-\cs_new:Npn \dim_case:nnT #1#2#3
- {
- \tex_romannumeral:D
- \exp_args:Nf \__dim_case:nnTF { \dim_eval:n {#1} } {#2} {#3} { }
- }
-\cs_new:Npn \dim_case:nnF #1#2
- {
- \tex_romannumeral:D
- \exp_args:Nf \__dim_case:nnTF { \dim_eval:n {#1} } {#2} { }
- }
-\cs_new:Npn \dim_case:nn #1#2
- {
- \tex_romannumeral:D
- \exp_args:Nf \__dim_case:nnTF { \dim_eval:n {#1} } {#2} { } { }
- }
-\cs_new:Npn \__dim_case:nnTF #1#2#3#4
- { \__dim_case:nw {#1} #2 {#1} { } \q_mark {#3} \q_mark {#4} \q_stop }
-\cs_new:Npn \__dim_case:nw #1#2#3
- {
- \dim_compare:nNnTF {#1} = {#2}
- { \__dim_case_end:nw {#3} }
- { \__dim_case:nw {#1} }
- }
-\cs_new_eq:NN \__dim_case_end:nw \__prg_case_end:nw
-\cs_set:Npn \dim_while_do:nn #1#2
- {
- \dim_compare:nT {#1}
- {
- #2
- \dim_while_do:nn {#1} {#2}
- }
- }
-\cs_set:Npn \dim_until_do:nn #1#2
- {
- \dim_compare:nF {#1}
- {
- #2
- \dim_until_do:nn {#1} {#2}
- }
- }
-\cs_set:Npn \dim_do_while:nn #1#2
- {
- #2
- \dim_compare:nT {#1}
- { \dim_do_while:nn {#1} {#2} }
- }
-\cs_set:Npn \dim_do_until:nn #1#2
- {
- #2
- \dim_compare:nF {#1}
- { \dim_do_until:nn {#1} {#2} }
- }
-\cs_set:Npn \dim_while_do:nNnn #1#2#3#4
- {
- \dim_compare:nNnT {#1} #2 {#3}
- {
- #4
- \dim_while_do:nNnn {#1} #2 {#3} {#4}
- }
- }
-\cs_set:Npn \dim_until_do:nNnn #1#2#3#4
- {
- \dim_compare:nNnF {#1} #2 {#3}
- {
- #4
- \dim_until_do:nNnn {#1} #2 {#3} {#4}
- }
- }
-\cs_set:Npn \dim_do_while:nNnn #1#2#3#4
- {
- #4
- \dim_compare:nNnT {#1} #2 {#3}
- { \dim_do_while:nNnn {#1} #2 {#3} {#4} }
- }
-\cs_set:Npn \dim_do_until:nNnn #1#2#3#4
- {
- #4
- \dim_compare:nNnF {#1} #2 {#3}
- { \dim_do_until:nNnn {#1} #2 {#3} {#4} }
- }
-\cs_new:Npn \dim_eval:n #1
- { \dim_use:N \__dim_eval:w #1 \__dim_eval_end: }
-\cs_new:Npn \__dim_strip_bp:n #1
- { \__dim_strip_pt:n { 0.996 26 \__dim_eval:w #1 \__dim_eval_end: } }
-\cs_new:Npn \__dim_strip_pt:n #1
- {
- \exp_after:wN
- \__dim_strip_pt:w \dim_use:N \__dim_eval:w #1 \__dim_eval_end: \q_stop
- }
-\use:x
- {
- \cs_new:Npn \exp_not:N \__dim_strip_pt:w
- ##1 . ##2 \tl_to_str:n { pt } ##3 \exp_not:N \q_stop
- {
- ##1
- \exp_not:N \int_compare:nNnT {##2} > \c_zero
- { . ##2 }
- }
- }
-\cs_new_eq:NN \dim_use:N \tex_the:D
-\cs_generate_variant:Nn \dim_use:N { c }
-\cs_new_eq:NN \dim_show:N \__kernel_register_show:N
-\cs_generate_variant:Nn \dim_show:N { c }
-\cs_new_protected:Npn \dim_show:n #1
- { \etex_showtokens:D \exp_after:wN { \dim_use:N \__dim_eval:w #1 } }
-\dim_const:Nn \c_zero_dim { 0 pt }
-\dim_const:Nn \c_max_dim { 16383.99999 pt }
-\dim_new:N \l_tmpa_dim
-\dim_new:N \l_tmpb_dim
-\dim_new:N \g_tmpa_dim
-\dim_new:N \g_tmpb_dim
-\cs_new_protected:Npn \skip_new:N #1
- {
- \__chk_if_free_cs:N #1
- \newskip #1
- }
-\cs_generate_variant:Nn \skip_new:N { c }
-\cs_new_protected:Npn \skip_const:Nn #1
- {
- \skip_new:N #1
- \skip_gset:Nn #1
- }
-\cs_generate_variant:Nn \skip_const:Nn { c }
-\cs_new_protected:Npn \skip_zero:N #1 { #1 \c_zero_skip }
-\cs_new_protected:Npn \skip_gzero:N { \tex_global:D \skip_zero:N }
-\cs_generate_variant:Nn \skip_zero:N { c }
-\cs_generate_variant:Nn \skip_gzero:N { c }
-\cs_new_protected:Npn \skip_zero_new:N #1
- { \skip_if_exist:NTF #1 { \skip_zero:N #1 } { \skip_new:N #1 } }
-\cs_new_protected:Npn \skip_gzero_new:N #1
- { \skip_if_exist:NTF #1 { \skip_gzero:N #1 } { \skip_new:N #1 } }
-\cs_generate_variant:Nn \skip_zero_new:N { c }
-\cs_generate_variant:Nn \skip_gzero_new:N { c }
-\prg_new_eq_conditional:NNn \skip_if_exist:N \cs_if_exist:N { TF , T , F , p }
-\prg_new_eq_conditional:NNn \skip_if_exist:c \cs_if_exist:c { TF , T , F , p }
-\cs_new_protected:Npn \skip_set:Nn #1#2
- { #1 ~ \etex_glueexpr:D #2 \scan_stop: }
-\cs_new_protected:Npn \skip_gset:Nn { \tex_global:D \skip_set:Nn }
-\cs_generate_variant:Nn \skip_set:Nn { c }
-\cs_generate_variant:Nn \skip_gset:Nn { c }
-\cs_new_protected:Npn \skip_set_eq:NN #1#2 { #1 = #2 }
-\cs_generate_variant:Nn \skip_set_eq:NN { c }
-\cs_generate_variant:Nn \skip_set_eq:NN { Nc , cc }
-\cs_new_protected:Npn \skip_gset_eq:NN #1#2 { \tex_global:D #1 = #2 }
-\cs_generate_variant:Nn \skip_gset_eq:NN { c }
-\cs_generate_variant:Nn \skip_gset_eq:NN { Nc , cc }
-\cs_new_protected:Npn \skip_add:Nn #1#2
- { \tex_advance:D #1 by \etex_glueexpr:D #2 \scan_stop: }
-\cs_new_protected:Npn \skip_gadd:Nn { \tex_global:D \skip_add:Nn }
-\cs_generate_variant:Nn \skip_add:Nn { c }
-\cs_generate_variant:Nn \skip_gadd:Nn { c }
-\cs_new_protected:Npn \skip_sub:Nn #1#2
- { \tex_advance:D #1 by - \etex_glueexpr:D #2 \scan_stop: }
-\cs_new_protected:Npn \skip_gsub:Nn { \tex_global:D \skip_sub:Nn }
-\cs_generate_variant:Nn \skip_sub:Nn { c }
-\cs_generate_variant:Nn \skip_gsub:Nn { c }
-\prg_new_conditional:Npnn \skip_if_eq:nn #1#2 { p , T , F , TF }
- {
- \if_int_compare:w
- \pdftex_strcmp:D { \skip_eval:n { #1 } } { \skip_eval:n { #2 } }
- = \c_zero
- \prg_return_true:
- \else:
- \prg_return_false:
- \fi:
- }
-\cs_set_protected:Npn \__cs_tmp:w #1
- {
- \prg_new_conditional:Npnn \skip_if_finite:n ##1 { p , T , F , TF }
- {
- \exp_after:wN \__skip_if_finite:wwNw
- \skip_use:N \etex_glueexpr:D ##1 ; \prg_return_false:
- #1 ; \prg_return_true: \q_stop
- }
- \cs_new:Npn \__skip_if_finite:wwNw ##1 #1 ##2 ; ##3 ##4 \q_stop {##3}
- }
-\exp_args:No \__cs_tmp:w { \tl_to_str:n { fil } }
-\cs_new:Npn \skip_eval:n #1
- { \skip_use:N \etex_glueexpr:D #1 \scan_stop: }
-\cs_new_eq:NN \skip_use:N \tex_the:D
-\cs_generate_variant:Nn \skip_use:N { c }
-\cs_new_eq:NN \skip_horizontal:N \tex_hskip:D
-\cs_new:Npn \skip_horizontal:n #1
- { \skip_horizontal:N \etex_glueexpr:D #1 \scan_stop: }
-\cs_new_eq:NN \skip_vertical:N \tex_vskip:D
-\cs_new:Npn \skip_vertical:n #1
- { \skip_vertical:N \etex_glueexpr:D #1 \scan_stop: }
-\cs_generate_variant:Nn \skip_horizontal:N { c }
-\cs_generate_variant:Nn \skip_vertical:N { c }
-\cs_new_eq:NN \skip_show:N \__kernel_register_show:N
-\cs_generate_variant:Nn \skip_show:N { c }
-\cs_new_protected:Npn \skip_show:n #1
- { \etex_showtokens:D \exp_after:wN { \tex_the:D \etex_glueexpr:D #1 } }
-\skip_const:Nn \c_zero_skip { \c_zero_dim }
-\skip_const:Nn \c_max_skip { \c_max_dim }
-\skip_new:N \l_tmpa_skip
-\skip_new:N \l_tmpb_skip
-\skip_new:N \g_tmpa_skip
-\skip_new:N \g_tmpb_skip
-\cs_new_protected:Npn \muskip_new:N #1
- {
- \__chk_if_free_cs:N #1
- \newmuskip #1
- }
-\cs_generate_variant:Nn \muskip_new:N { c }
-\cs_new_protected:Npn \muskip_const:Nn #1
- {
- \muskip_new:N #1
- \muskip_gset:Nn #1
- }
-\cs_generate_variant:Nn \muskip_const:Nn { c }
-\cs_new_protected:Npn \muskip_zero:N #1
- { #1 \c_zero_muskip }
-\cs_new_protected:Npn \muskip_gzero:N { \tex_global:D \muskip_zero:N }
-\cs_generate_variant:Nn \muskip_zero:N { c }
-\cs_generate_variant:Nn \muskip_gzero:N { c }
-\cs_new_protected:Npn \muskip_zero_new:N #1
- { \muskip_if_exist:NTF #1 { \muskip_zero:N #1 } { \muskip_new:N #1 } }
-\cs_new_protected:Npn \muskip_gzero_new:N #1
- { \muskip_if_exist:NTF #1 { \muskip_gzero:N #1 } { \muskip_new:N #1 } }
-\cs_generate_variant:Nn \muskip_zero_new:N { c }
-\cs_generate_variant:Nn \muskip_gzero_new:N { c }
-\prg_new_eq_conditional:NNn \muskip_if_exist:N \cs_if_exist:N { TF , T , F , p }
-\prg_new_eq_conditional:NNn \muskip_if_exist:c \cs_if_exist:c { TF , T , F , p }
-\cs_new_protected:Npn \muskip_set:Nn #1#2
- { #1 ~ \etex_muexpr:D #2 \scan_stop: }
-\cs_new_protected:Npn \muskip_gset:Nn { \tex_global:D \muskip_set:Nn }
-\cs_generate_variant:Nn \muskip_set:Nn { c }
-\cs_generate_variant:Nn \muskip_gset:Nn { c }
-\cs_new_protected:Npn \muskip_set_eq:NN #1#2 { #1 = #2 }
-\cs_generate_variant:Nn \muskip_set_eq:NN { c }
-\cs_generate_variant:Nn \muskip_set_eq:NN { Nc , cc }
-\cs_new_protected:Npn \muskip_gset_eq:NN #1#2 { \tex_global:D #1 = #2 }
-\cs_generate_variant:Nn \muskip_gset_eq:NN { c }
-\cs_generate_variant:Nn \muskip_gset_eq:NN { Nc , cc }
-\cs_new_protected:Npn \muskip_add:Nn #1#2
- { \tex_advance:D #1 by \etex_muexpr:D #2 \scan_stop: }
-\cs_new_protected:Npn \muskip_gadd:Nn { \tex_global:D \muskip_add:Nn }
-\cs_generate_variant:Nn \muskip_add:Nn { c }
-\cs_generate_variant:Nn \muskip_gadd:Nn { c }
-\cs_new_protected:Npn \muskip_sub:Nn #1#2
- { \tex_advance:D #1 by - \etex_muexpr:D #2 \scan_stop: }
-\cs_new_protected:Npn \muskip_gsub:Nn { \tex_global:D \muskip_sub:Nn }
-\cs_generate_variant:Nn \muskip_sub:Nn { c }
-\cs_generate_variant:Nn \muskip_gsub:Nn { c }
-\cs_new:Npn \muskip_eval:n #1
- { \muskip_use:N \etex_muexpr:D #1 \scan_stop: }
-\cs_new_eq:NN \muskip_use:N \tex_the:D
-\cs_generate_variant:Nn \muskip_use:N { c }
-\cs_new_eq:NN \muskip_show:N \__kernel_register_show:N
-\cs_generate_variant:Nn \muskip_show:N { c }
-\cs_new_protected:Npn \muskip_show:n #1
- { \etex_showtokens:D \exp_after:wN { \tex_the:D \etex_muexpr:D #1 } }
-\muskip_const:Nn \c_zero_muskip { 0 mu }
-\muskip_const:Nn \c_max_muskip { 16383.99999 mu }
-\muskip_new:N \l_tmpa_muskip
-\muskip_new:N \l_tmpb_muskip
-\muskip_new:N \g_tmpa_muskip
-\muskip_new:N \g_tmpb_muskip
-\cs_new_eq:NN \dim_case:nnn \dim_case:nnF
-%%
-%%
-%% End of file `l3skip.sty'.