두 열 사이에 테이블을 펼치는 방법

두 열 사이에 테이블을 펼치는 방법

나는 다음 게시물을 읽었습니다.

  1. 단일 열 문서의 여러 페이지 2열 테이블
  2. 매우 긴 테이블을 처리할 때 - 열로 분할하시겠습니까?

하지만 여전히 내 문제를 해결할 수 없습니다. 다음과 같이 두 열 페이지의 두 열 사이에 테이블을 펼치는 데 도움을 주시겠습니까?

여기에 이미지 설명을 입력하세요

감사합니다.

답변1

다음은 고정식을 사용하는 한 가지 옵션입니다 \captionof{table}{<caption>}(caption또는capt-of) 한 열에서 다음 열로 테이블 항목을 수동으로 분할하는 기능을 제공합니다.

여기에 이미지 설명을 입력하세요

\documentclass[twocolumn]{article}
\usepackage{lipsum,caption,graphicx,tabularx}
\begin{document}
\lipsum[1-5]

\begin{figure*}[ht]
  \centering
  \includegraphics[width=.5\linewidth]{example-image}
  \caption{Some really interesting picture.}
\end{figure*}

\begin{enumerate}
  \item \lipsum[1]
  \item \lipsum[2]
\end{enumerate}

\begin{center}
\captionof{table}{The Vulnerable Assets}
\end{center}

\noindent
\begin{tabularx}{\linewidth}{l|X}
  \hline
  \textbf{No.} & \textbf{Item and Description} \\
  \hline
  VA1 & \lipsum*[2] \\
  \hline
\end{tabularx}

\noindent
\begin{tabularx}{\linewidth}{l|X}
  \hline
  \textbf{No.} & \textbf{Item and Description} \\
  \hline
  VA2 & \lipsum*[4] \\
  \hline
  VA3 & \lipsum*[4] \\
  \hline
\end{tabularx}

\lipsum[3]
\end{document}

그런 다음 열거형을 사용하지만 영구적인 수평 규칙이 없는 훨씬 더 다양한 버전이 있습니다.booktabs):

여기에 이미지 설명을 입력하세요

\documentclass[twocolumn]{article}
\usepackage{lipsum,caption,graphicx,enumitem}
\begin{document}
\lipsum[1-5]

\begin{figure*}[ht]
  \centering
  \includegraphics[width=.5\linewidth]{example-image}
  \caption{Some really interesting picture.}
\end{figure*}

\begin{enumerate}
  \item \lipsum[1]
  \item \lipsum[2]
\end{enumerate}

\begin{center}
\captionof{table}{The Vulnerable Assets}
\end{center}
\vspace*{-2\baselineskip}
\noindent\leavevmode\hrulefill
\begin{enumerate}[label=VA\arabic*,align=left,labelwidth=2em,leftmargin=3em,labelsep=1em]
  \item[\textbf{No.}] \textbf{Item and Description}

  \item \lipsum*[7]

  \item \lipsum*[4]
\end{enumerate}
\vspace*{-\baselineskip}
\noindent\leavevmode\hrulefill

\lipsum[3]
\end{document}

관련 정보