如何编辑此表格格式?

如何编辑此表格格式?

如何将表格更改为像列格式一样将箭头旋转 90 度

\documentclass[english]{IEEEtran}
\usepackage{array}
\renewcommand{\arraystretch}{1.2}
\newcolumntype{C}{>{$}c<{$}}
\usepackage{booktabs}
\usepackage{makecell}
\usepackage{tikz}
\usetikzlibrary{shapes.arrows}

\begin{document}
    \begin{table*}
        \large
        \begin{minipage}{0.5\linewidth}
            \centering
            \caption{First Table}
            \label{tab:first_table}
            \tikz[remember picture]{\node[inner sep=0pt, outer sep=0pt](A){%contents
            \begin{tabular}{cCc}
                \toprule
                \textbf{Start} & \makecell{\textbf{Interval}\\ \textbf{Time}} 
                & \textbf{Destination} 
                \\
                \midrule
                Zone 1 & 483 & Zone 2 \\
                Zone 1 & 848 & Zone 3  \\
                Zone 1 & 121 & Zone 4  \\
                Zone 2 & 13 & Zone 3 \\
                Zone 1 & 121 & Zone 4  \\
                Zone 2 & 13 & Zone 3 \\
                Zone 1 & 121 & Zone 4  \\
                Zone 2 & 13 & Zone 3 \\
                \bottomrule
            \end{tabular}}}   
        \end{minipage}\hfill
        \begin{minipage}{.5\linewidth}
            \centering
            \caption{Second Table}
            \label{tab:second_table}
            \tikz[remember picture]{\node[inner sep=0pt, outer sep=0pt](B){%contents
            \begin{tabular}{ccc}
                \toprule
                \textbf{Start} & \makecell{\textbf{Interval}\\ \textbf{Time}} 
                & \textbf{Destination} 
                \\
                \midrule
                Zone 1 & 483 & Zone 2 \\
                Zone 1 & 848 & Zone 3  \\
                Zone 1 & 121 & Zone 4  \\
                Zone 2 & 13 & Zone 3 \\
                Zone 1 & 121 & Zone 4  \\
                Zone 2 & 13 & Zone 3 \\
                Zone 1 & 121 & Zone 4  \\
                Zone 2 & 13 & Zone 3 \\
                \bottomrule
            \end{tabular}}}   
        \end{minipage}
    \begin{tikzpicture}[remember picture, overlay]
    \path (A) -- node[draw, text width=3em, single arrow, thick, red]{} (B);
    \end{tikzpicture}   
    \end{table*}
\end{document}

在此处输入图片描述

这是来自一个很好的答案:如何在两个表格之间添加左箭头?

答案1

最小损坏版本可能是

\documentclass[english]{IEEEtran}
\usepackage{array}
\renewcommand{\arraystretch}{1.2}
\newcolumntype{C}{>{$}c<{$}}
\usepackage{booktabs}
\usepackage{makecell}
\usepackage{tikz}
\usetikzlibrary{shapes.arrows}

\begin{document}
    \begin{table*}
        \large
        \begin{minipage}{0.5\linewidth}
            \centering
            \caption{First Table}
            \label{tab:first_table}
            \tikz[remember picture]{\node[inner sep=0pt, outer sep=0pt](A){%contents
            \begin{tabular}{cCc}
                \toprule
                \textbf{Start} & \makecell{\textbf{Interval}\\ \textbf{Time}} 
                & \textbf{Destination} 
                \\
                \midrule
                Zone 1 & 483 & Zone 2 \\
                Zone 1 & 848 & Zone 3  \\
                Zone 1 & 121 & Zone 4  \\
                Zone 2 & 13 & Zone 3 \\
                Zone 1 & 121 & Zone 4  \\
                Zone 2 & 13 & Zone 3 \\
                Zone 1 & 121 & Zone 4  \\
                Zone 2 & 13 & Zone 3 \\
                \bottomrule
            \end{tabular}}}   
        \end{minipage}\\[2.5cm]
        \begin{minipage}{.5\linewidth}
            \centering
            \caption{Second Table}
            \label{tab:second_table}
            \tikz[remember picture]{\node[inner sep=0pt, outer sep=0pt](B){%contents
            \begin{tabular}{ccc}
                \toprule
                \textbf{Start} & \makecell{\textbf{Interval}\\ \textbf{Time}} 
                & \textbf{Destination} 
                \\
                \midrule
                Zone 1 & 483 & Zone 2 \\
                Zone 1 & 848 & Zone 3  \\
                Zone 1 & 121 & Zone 4  \\
                Zone 2 & 13 & Zone 3 \\
                Zone 1 & 121 & Zone 4  \\
                Zone 2 & 13 & Zone 3 \\
                Zone 1 & 121 & Zone 4  \\
                Zone 2 & 13 & Zone 3 \\
                \bottomrule
            \end{tabular}}}   
        \end{minipage}
    \begin{tikzpicture}[remember picture, overlay]
    \path (A) -- 
    node[pos=0.4,draw, text width=3em, single arrow, thick, red,rotate=-90]{} (B);
    \end{tikzpicture}   
    \end{table*}
\end{document}

在此处输入图片描述

相关内容