summaryrefslogtreecommitdiff
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
parent690674172d6290861ee9bc5043f6778ebf2418dc (diff)
tikz-karnaugh (16feb22)
git-svn-id: svn://tug.org/texlive/trunk@62040 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/tikz-karnaugh/README.txt4
-rw-r--r--Master/texmf-dist/doc/latex/tikz-karnaugh/tikz-karnaugh-doc.pdfbin402809 -> 402432 bytes
-rw-r--r--Master/texmf-dist/doc/latex/tikz-karnaugh/tikz-karnaugh-doc.tex12
-rw-r--r--Master/texmf-dist/tex/latex/tikz-karnaugh/tikzlibrarykarnaugh.code.tex15
4 files changed, 16 insertions, 15 deletions
diff --git a/Master/texmf-dist/doc/latex/tikz-karnaugh/README.txt b/Master/texmf-dist/doc/latex/tikz-karnaugh/README.txt
index b9e11e222d0..82f12ef6501 100644
--- a/Master/texmf-dist/doc/latex/tikz-karnaugh/README.txt
+++ b/Master/texmf-dist/doc/latex/tikz-karnaugh/README.txt
@@ -1,11 +1,11 @@
-Copyright (C) 2017 by Luis Paulo Laus, <laus@utfpr.edu.br>
+Copyright (C) 2017-2022 by Luis Paulo Laus, <laus@utfpr.edu.br>
------------------------------------------------------------
The tikz-karnaugh package may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1 of this license or (at your option) any later version. The latest version of this license is in:
http://www.latex-project.org/lppl.txt and version 1 or
later is part of all distributions of LaTeX version 1999/12/01 or later.
- Version 1.4 of 8 February 2022
+ Version 1.5 of 15 February 2022
------------------------------------------------------------
diff --git a/Master/texmf-dist/doc/latex/tikz-karnaugh/tikz-karnaugh-doc.pdf b/Master/texmf-dist/doc/latex/tikz-karnaugh/tikz-karnaugh-doc.pdf
index f383fd345a9..8d8314438a2 100644
--- a/Master/texmf-dist/doc/latex/tikz-karnaugh/tikz-karnaugh-doc.pdf
+++ b/Master/texmf-dist/doc/latex/tikz-karnaugh/tikz-karnaugh-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/tikz-karnaugh/tikz-karnaugh-doc.tex b/Master/texmf-dist/doc/latex/tikz-karnaugh/tikz-karnaugh-doc.tex
index bcf7b18b2c6..62ba21d24de 100644
--- a/Master/texmf-dist/doc/latex/tikz-karnaugh/tikz-karnaugh-doc.tex
+++ b/Master/texmf-dist/doc/latex/tikz-karnaugh/tikz-karnaugh-doc.tex
@@ -1,8 +1,8 @@
%% This is file `tikz-karnaugh-doc.tex'
-%% Version: 1.4
-%% Version date: 2022-02-08
+%% Version: 1.5
+%% Version date: 2022-02-15
%%
-%% Copyright (C) 2017 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
@@ -60,7 +60,7 @@
\usepackage[a4paper,left=2.25cm,right=2.25cm,top=2.5cm,bottom=2.5cm,nohead]{geometry}
\usepackage{amsmath,amssymb}
\usepackage{xxcolor}
-%% \usepackage{pifont}
+%\usepackage{pifont}
%%\usepackage{tgpagella} % no ligatures (test and orthography check)
\usepackage{enumitem}
\usepackage[T1]{fontenc}
@@ -133,13 +133,13 @@
%
% This file really starts here, all the above is for pgfmanual
% compatibility
-\input ../tex/tikzlibrarykarnaugh.code
+\input ../tex/tikzlibrarykarnaugh.code % or \usetikzlibrary{karnaugh}
\sloppy
\begin{document}
\title{Typesetting Karnaugh Maps with \LaTeX\ and \tikzname}
\author{Luis Paulo Laus\\e-mail: \texttt{laus@utfpr.edu.br}}
-\date{Version: 1.4, Version date: 2022-02-08}
+\date{Version: 1.5, Version date: 2022-02-15}
\maketitle
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%