如何編輯這個表格格式?

如何編輯這個表格格式?

如何透過將箭頭旋轉 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}

在此輸入影像描述

相關內容