2단 기사의 그림

2단 기사의 그림

tabularx각 열에 하나씩 ( 를 사용하여) 두 개의 (독립) 테이블 위에 두 열에 걸쳐 있는 그림을 배치하려는 2열로 구성된 기사 문서가 있습니다 . 나는 대답을 따랐다.여기, 그러나 별도의 페이지에 표와 그림이 제공됩니다. 내가 도대체 ​​뭘 잘못하고있는 겁니까?

MWE:

\documentclass[twocolumn]{article}
\usepackage{mwe}
\usepackage{tabularx}
\usepackage{graphicx}
\begin{document}

\begin{figure*}
\centering
\includegraphics[width=0.5\textwidth]{example-image-a}
\end{figure*}

\begin{tabularx}{\columnwidth}{l|X}
1 & Some text\\
2 & Some more text 
\end{tabularx} 

\newpage

\begin{tabularx}{\columnwidth}{l|X}
3 & Some text\\
4 & Some more text 
\end{tabularx} 

\end{document}

답변1

거의 맞습니다:-) 하지만 figure*항상 페이지가 옵니다~ 후에이는 소스에 나타나므로 첫 번째 페이지에서는 이 작업을 수행할 수 없으며(필요한 경우 좀 더 까다로운 작업을 수행해야 함) \noindent전체 너비 표가 한 줄에 맞지 않게 만드는 단락 들여쓰기를 피해야 합니다.

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

\documentclass[twocolumn]{article}
\usepackage{tabularx}
\usepackage{graphicx}
\begin{document}



\begin{figure*}
\centering
\includegraphics[width=0.5\textwidth]{example-image-a}
\end{figure*}

aaa

\pagebreak

aaa

\pagebreak

\noindent\begin{tabularx}{\columnwidth}{l|X}
1 & Some text\\
2 & Some more text 
\end{tabularx} 

\newpage

\noindent\begin{tabularx}{\columnwidth}{l|X}
3 & Some text\\
4 & Some more text 
\end{tabularx} 

\end{document}

관련 정보