From 59863983424ba22e243cb2a001ebd55b9b3d969e Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 26 Apr 2020 21:43:53 +0000 Subject: kvmap (26apr20) git-svn-id: svn://tug.org/texlive/trunk@54898 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/kvmap/README.md | 2 ++ Master/texmf-dist/doc/latex/kvmap/kvmap.pdf | Bin 109392 -> 110023 bytes Master/texmf-dist/source/latex/kvmap/kvmap.dtx | 7 ++++--- Master/texmf-dist/tex/latex/kvmap/kvmap.sty | 6 +++--- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Master/texmf-dist/doc/latex/kvmap/README.md b/Master/texmf-dist/doc/latex/kvmap/README.md index 1a241b5eef3..6dcefd6da82 100644 --- a/Master/texmf-dist/doc/latex/kvmap/README.md +++ b/Master/texmf-dist/doc/latex/kvmap/README.md @@ -18,3 +18,5 @@ Code example: \bundle[invert=true,reducespace=2pt,overlapmargins=6pt]{1}{0}{2}{3} \bundle[invert=true,reducespace=2pt]{0}{1}{3}{1} \end{kvmap} + +`kvmap` is released under the terms of the LPPL 1.3c and maintained by Ben Frank. diff --git a/Master/texmf-dist/doc/latex/kvmap/kvmap.pdf b/Master/texmf-dist/doc/latex/kvmap/kvmap.pdf index ca8a7b82c41..eb66731d6b0 100644 Binary files a/Master/texmf-dist/doc/latex/kvmap/kvmap.pdf and b/Master/texmf-dist/doc/latex/kvmap/kvmap.pdf differ diff --git a/Master/texmf-dist/source/latex/kvmap/kvmap.dtx b/Master/texmf-dist/source/latex/kvmap/kvmap.dtx index b5fa08b04f4..1c7bb4008de 100644 --- a/Master/texmf-dist/source/latex/kvmap/kvmap.dtx +++ b/Master/texmf-dist/source/latex/kvmap/kvmap.dtx @@ -102,7 +102,7 @@ End of file %<*pkg> %<@@=kvmap> \RequirePackage{expl3} -\ProvidesExplPackage{kvmap}{2020/03/27}{0.3.3}{Drawing karnaugh maps with LaTeX} +\ProvidesExplPackage{kvmap}{2020/04/25}{0.3.4}{Drawing karnaugh maps with LaTeX} % % \fi % @@ -407,9 +407,10 @@ End of file % \end{macro} % \begin{macro}[int]{\@@_outputmatrix:n} % \changes{v0.3.2}{2019/12/26}{Allow empty elements} +% \changes{v0.3.4}{2020/04/25}{Fix node size} % Define a TikZ style for easier customizability. % \begin{macrocode} -\tikzset{kvnode/.style = { inner ~ sep = 8pt }} +\tikzset{kvnode/.style = { minimum ~ width=.75cm, minimum ~ height=.75cm }} % \end{macrocode} % This macro fill the grid with values. % \begin{arguments} @@ -441,7 +442,7 @@ End of file at ~ (.5+\int_mod:VV \l_tmpa_int \l_@@_matrix_width_int, -.5-\int_div_truncate:nn \l_tmpa_int \l_@@_matrix_width_int ) ~ - {$##1$}; + {\smash[b]{\makebox[0pt]{$##1$}}}; \int_incr:N \l_tmpa_int } } diff --git a/Master/texmf-dist/tex/latex/kvmap/kvmap.sty b/Master/texmf-dist/tex/latex/kvmap/kvmap.sty index f0dd8880570..60c44d062ed 100644 --- a/Master/texmf-dist/tex/latex/kvmap/kvmap.sty +++ b/Master/texmf-dist/tex/latex/kvmap/kvmap.sty @@ -15,7 +15,7 @@ %% http://www.latex-project.org/lppl.txt %% \RequirePackage{expl3} -\ProvidesExplPackage{kvmap}{2020/03/27}{0.3.3}{Drawing karnaugh maps with LaTeX} +\ProvidesExplPackage{kvmap}{2020/04/25}{0.3.4}{Drawing karnaugh maps with LaTeX} \RequirePackage{xparse} \RequirePackage{tikz} \RequirePackage{environ} @@ -67,7 +67,7 @@ } } -\tikzset{kvnode/.style = { inner ~ sep = 8pt }} +\tikzset{kvnode/.style = { minimum ~ width=.75cm, minimum ~ height=.75cm }} \cs_new:Npn \__kvmap_outputmatrix:n #1 { \int_zero:N \l_tmpa_int @@ -80,7 +80,7 @@ at ~ (.5+\int_mod:VV \l_tmpa_int \l__kvmap_matrix_width_int, -.5-\int_div_truncate:nn \l_tmpa_int \l__kvmap_matrix_width_int ) ~ -{$##1$}; +{\smash[b]{\makebox[0pt]{$##1$}}}; \int_incr:N \l_tmpa_int } } -- cgit v1.2.3