summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/kvmap/kvmap.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/kvmap/kvmap.dtx')
-rw-r--r--macros/latex/contrib/kvmap/kvmap.dtx7
1 files changed, 4 insertions, 3 deletions
diff --git a/macros/latex/contrib/kvmap/kvmap.dtx b/macros/latex/contrib/kvmap/kvmap.dtx
index b5fa08b04f..1c7bb4008d 100644
--- a/macros/latex/contrib/kvmap/kvmap.dtx
+++ b/macros/latex/contrib/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
}
}