summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-04-26 21:43:53 +0000
committerKarl Berry <karl@freefriends.org>2020-04-26 21:43:53 +0000
commit59863983424ba22e243cb2a001ebd55b9b3d969e (patch)
tree0c765a3af4f524659bc1937de683aec7c474fd56
parent3ec5e94aafd7ac1e9a234905246ce0bcdb51fe25 (diff)
kvmap (26apr20)
git-svn-id: svn://tug.org/texlive/trunk@54898 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/kvmap/README.md2
-rw-r--r--Master/texmf-dist/doc/latex/kvmap/kvmap.pdfbin109392 -> 110023 bytes
-rw-r--r--Master/texmf-dist/source/latex/kvmap/kvmap.dtx7
-rw-r--r--Master/texmf-dist/tex/latex/kvmap/kvmap.sty6
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}
+
+<sub>`kvmap` is released under the terms of the LPPL 1.3c and maintained by Ben Frank.</sub>
diff --git a/Master/texmf-dist/doc/latex/kvmap/kvmap.pdf b/Master/texmf-dist/doc/latex/kvmap/kvmap.pdf
index ca8a7b82c41..eb66731d6b0 100644
--- a/Master/texmf-dist/doc/latex/kvmap/kvmap.pdf
+++ b/Master/texmf-dist/doc/latex/kvmap/kvmap.pdf
Binary files 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}
%</pkg>
% \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
}
}