LaTeX에서 이미지를 테이블로 레이블 지정

LaTeX에서 이미지를 테이블로 레이블 지정

논문에는 복잡한 표가 포함되어야 하는데, 책에서 스캔하여 얻은 이미지를 넣는 것이 더 쉽습니다. 이미지를 삽입할 수 있지만 표로 계산되도록 할 수 있나요?

이를 달성하기 위해 제가 생각한 한 가지 접근 방식은 1x1 테이블을 만들고 셀에 그림을 넣는 것입니다. 내 목표를 달성할 수 있는 다른 방법이 있나요?

답변1

원하는 모든 것을 table환경에 넣을 수 있습니다.

\documentclass{article}
\usepackage{graphicx}
\usepackage{mwe}
\begin{document}
\begin{table}
  \includegraphics{example-image}
  \caption{This is a table}
\end{table}
\end{document}

테이블로 사용된 사진

답변2

또한 capt-of패키지를 서비스로 호출할 수도 있습니다.

\documentclass{article}
\usepackage{graphicx,capt-of}
\begin{document}
\begin{figure}
\includegraphics{exapmple-image}
\captionof{table}{Table caption}
\end{figure}
\end{document}

관련 정보