带轴的表

带轴的表

我需要制作这张带轴的桌子。有人可以帮我吗?

在此处输入图片描述

谢谢!!

答案1

你可以从这个开始。

\documentclass[tikz,border=2mm]{standalone}
\usetikzlibrary{matrix, positioning}
\usepackage{lmodern}
\begin{document}
\begin{tikzpicture}
\matrix (A) [matrix of nodes, column sep=-\pgflinewidth, row sep=-\pgflinewidth, nodes in empty cells,
    nodes={minimum width=3.2cm, minimum height=1cm, align=center, draw, anchor=center},
    column 1/.style={nodes={minimum width=1cm}}]
    {
    $X_a$ & & |[fill=gray!50]| $\Omega_1=\mu\pm\varepsilon$ &
    |[fill=gray!50]| $\Omega_1=\mu\pm\varepsilon-\pi/2$ & \\
    $X_b$ & & & & |[fill=gray!50]| $\Omega_1=\mu$ \\
    $X_c$ & |[fill=gray!50]| $\Omega_1=\mu$& & &\\};
\draw[->] (A.south-|A-3-1.east)--([xshift=2mm]A.south east) coordinate (aux);
\node[below= 1mm of {A.south-|A-3-2.east}] {$-\Lambda_0/\Lambda_1$};
\node[below= 1mm of {A.south-|A-3-3.east}] {$0$};
\node[below= 1mm of {A.south-|A-3-4.east}] {$\Lambda_0/\Lambda_1$};
\node[below= 1mm of {A.south-|aux}] {$U/V$};
\node[fill=white, minimum width=3.2cm,minimum height=1cm,draw, anchor=west] at ([xshift=5mm]A-1-2.north west) {Case $L=0$};
\end{tikzpicture}
\end{document}

在此处输入图片描述

答案2

谢谢@Ignasi....我编译了你的代码,但第三列比其他列小。另外,如果我想更改表格的线条样式(即虚线、双线或粗线),我该怎么做?谢谢你在此处输入图片描述

相关内容