summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-02-16 21:16:12 +0000
committerKarl Berry <karl@freefriends.org>2022-02-16 21:16:12 +0000
commit6a2f550c3d03ff584ae06539ecb58d0b031a5e98 (patch)
treea5eeec6ceeb0e51c81218cbd42e69ae0c25b0a37 /Master/texmf-dist/tex
parent690674172d6290861ee9bc5043f6778ebf2418dc (diff)
tikz-karnaugh (16feb22)
git-svn-id: svn://tug.org/texlive/trunk@62040 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/tikz-karnaugh/tikzlibrarykarnaugh.code.tex15
1 files changed, 8 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/tikz-karnaugh/tikzlibrarykarnaugh.code.tex b/Master/texmf-dist/tex/latex/tikz-karnaugh/tikzlibrarykarnaugh.code.tex
index f9a9434435d..d0fe7c5f643 100644
--- a/Master/texmf-dist/tex/latex/tikz-karnaugh/tikzlibrarykarnaugh.code.tex
+++ b/Master/texmf-dist/tex/latex/tikz-karnaugh/tikzlibrarykarnaugh.code.tex
@@ -1,8 +1,8 @@
%% This is file `tikzlibrarykarnaugh.code.tex' formerly known as `tikz-karnaugh.tex',
-%% Version: 1.4
-%% Version date: 2022-02-08
+%% Version: 1.5
+%% Version date: 2022-02-15
%%
-%% Copyright (C) 2018 by Luis Paulo Laus, laus@utfpr.edu.br
+%% Copyright (C) 2017-2022 by Luis Paulo Laus, laus@utfpr.edu.br
%%
%% This package can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License distributed from CTAN
@@ -22,7 +22,7 @@
%%
\typeout{}
\typeout{Macros for typesetting Karnaugh maps}
-\typeout{Version 1.4 of 8 February 2022}
+\typeout{Version 1.5 of 15 February 2022}
\typeout{by Luis Paulo Laus, laus@utfpr.edu.br}
\typeout{}
%%
@@ -39,10 +39,11 @@
%% 1.3: 14 October 2021: New American style KM (for maps with ones
%% and zeros labels surrounding the map). In addition, a new macro for
%% decimal to Gray Code conversion (\pgfmathdectoGray) is provided.
-%% 1.4: February 2022: new style and length for American style;
+%% 1.4: 8 February 2022: new style and length for American style;
%% change some key names (standard); new 'karnaugh cell size' key;
%% bug fixes; positioning of labels simplified; two new macros for type
%% setting maps as they should appear and not using the truth table order.
+%% 1.5: 15 February 2022: bug fixes on Gray code generation
%%
%% Setting up some TikZ parameters for Karnaugh Maps
%%
@@ -251,7 +252,7 @@
\else%
\edef\kmresult@@{\kmresult@@\ifnum#1=\kmbarmove\relax0\else1\fi}% xor
\kmbarmove=#1\relax%
- \advance\kmbarlength by -1%
+ \advance\kmbarlength by -1\relax%
\ifnum\kmbarlength=\kmxvarno\kmbarmove=0\fi%
\fi%
\next}%
@@ -274,7 +275,7 @@
\else%
\edef\kmresult@@{\kmresult@@\ifnum#1=\kmbarmove\relax0\else1\fi}% xor
\kmbarmove=#1\relax%
- \advance\kmbarlength by -1%
+ \advance\kmbarlength by -1\relax%
\ifnum\kmbarlength=\kmxvarno%
\kmbarmove=0\relax%
\let\next\kmdectoKG@@tabvert%