![kvmap 中的 Bundle 没有显示](https://linux22.com/image/431060/kvmap%20%E4%B8%AD%E7%9A%84%20Bundle%20%E6%B2%A1%E6%9C%89%E6%98%BE%E7%A4%BA.png)
此代码:
\begin{kvmap}
\kvlist{8}{4}{1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1,0,0}{a, b, c, d, e}
\foreach \tikzn/\tikzi in {00/0, 10/4, 20/12, 30/8, 40/24, 50/28, 60/20, 70/16,
01/1, 11/5, 21/13, 31/9, 41/25, 51/29, 61/21, 71/17,
02/3, 12/7, 22/15, 32/11, 42/27, 52/31, 62/23, 72/19,
03/2, 13/6, 23/14, 33/10, 43/26, 53/30, 63/22, 73/18
} {
\node[font=\scriptsize,color=lightgray, anchor=north east, inner sep=0pt] at (\tikzn.north east) {$\tikzi$};
}
\bundle[color=blue, invert=true, vinvert=false, reducespace=-2pt]{7}{1}{0}{1}
\end{kvmap}
给出这个:
但是当我将捆绑的位置更改为{5}{1}{0}{1}
(或首先更改为 7 以外的任何位置)时,边框直接消失:
我需要标记单元格 29、21、17 和 1:。{5}{1}{0}{1}
为什么这不起作用?
答案1
欢迎使用 TeX.SX!似乎该软件包并不总是能够绘制所需的包。但您可以使用基本的 Ti 轻松绘制自己的包钾Z 命令。我从包中获取了以下代码,因此输出应该与您原来的设置相同。
\documentclass[border=5pt]{standalone}
\usepackage{amsmath,kvmap}
\begin{document}
\begin{kvmap}
\kvlist{8}{4}{1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0}{a, b, c, d, e}
\foreach \tikzn/\tikzi in {%
00/0, 10/4, 20/12, 30/8, 40/24, 50/28, 60/20, 70/16,
01/1, 11/5, 21/13, 31/9, 41/25, 51/29, 61/21, 71/17,
02/3, 12/7, 22/15, 32/11, 42/27, 52/31, 62/23, 72/19,
03/2, 13/6, 23/14, 33/10, 43/26, 53/30, 63/22, 73/18
} {
\node[font=\scriptsize ,color=lightgray, anchor=north east, inner sep=0pt] at (\tikzn.north east) {$\tikzi$};
}
\bundle[color=blue, invert=true, reducespace=-2pt]{7}{2}{0}{2};
\draw[blue, rounded corners=5pt] ([yshift=2pt]01.north west) -- ([yshift=2pt,xshift=2pt]01.north east) -- ([yshift=-2pt,xshift=2pt]01.south east) -- ([yshift=-2pt]01.south west);
\draw[blue, rounded corners=5pt] ([yshift=2pt]71.north east) -- ([yshift=2pt,xshift=-2pt]51.north west) -- ([yshift=-2pt,xshift=-2pt]51.south west) -- ([yshift=-2pt]71.south east);
\end{kvmap}
\end{document}