diff options
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/kvmap/kvmap.sty | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/kvmap/kvmap.sty b/Master/texmf-dist/tex/latex/kvmap/kvmap.sty index 60c44d062ed..b3671e6a6a0 100644 --- a/Master/texmf-dist/tex/latex/kvmap/kvmap.sty +++ b/Master/texmf-dist/tex/latex/kvmap/kvmap.sty @@ -15,13 +15,13 @@ %% http://www.latex-project.org/lppl.txt %% \RequirePackage{expl3} -\ProvidesExplPackage{kvmap}{2020/04/25}{0.3.4}{Drawing karnaugh maps with LaTeX} +\ProvidesExplPackage{kvmap}{2020/09/16}{0.3.5}{Drawing karnaugh maps with LaTeX} +\RequirePackage{amsmath} \RequirePackage{xparse} \RequirePackage{tikz} -\RequirePackage{environ} -\cs_generate_variant:Nn \seq_set_split:Nnn { Nno, Nnx } -\cs_generate_variant:Nn \int_mod:nn { VV } -\cs_generate_variant:Nn \int_div_truncate:nn { VV } +\cs_generate_variant:Nn \seq_set_split:Nnn { Nnx } +\cs_generate_variant:Nn \int_mod:nn { VV } +\cs_generate_variant:Nn \int_div_truncate:nn { VV } \cs_new:Npn \__kvmap_graycode_xor_bits:nn #1#2 { @@ -269,9 +269,9 @@ yshift=\l__kvmap_bundle_reducespace_dim] } \seq_new:N \l__kvmap_tmp_seq -\NewEnviron { kvmatrix } [ 1 ] +\NewDocumentEnvironment { kvmatrix } { m +b } { -\seq_set_split:Nno \l_tmpa_seq { \\ } { \BODY } +\seq_set_split:Nnn \l_tmpa_seq { \\ } { #2 } \seq_remove_all:Nn \l_tmpa_seq { } \seq_set_split:Nnx \l_tmpb_seq { & } { \seq_item:Nn \l_tmpa_seq { 1 } } \int_gset:Nn \l__kvmap_matrix_width_int { \seq_count:N \l_tmpb_seq } @@ -293,7 +293,7 @@ yshift=\l__kvmap_bundle_reducespace_dim] { #1 } \bool_if:NF \l__kvmap_matrix_isintikz_bool { \end{tikzpicture} } -} +} { } \NewDocumentCommand { \kvmapsetup } { m } { |