KTUG 한국 텍 사용자 그룹

Menu

KTUG :: Q&A 마당 › 그림과 문장 배치

하늘땅 | 2024.04.12 15:49:45 | 메뉴 건너뛰기 쓰기

책을 보다가 아래와 같이 그림5개와 문장이 배치되어 있는 것을 봤습니다.

이걸 어떻게 하면 될까해서 알아보면서 시도를 해보고 있는데 쉽게 되지 않네요.

2024-04-12 14 52 53.png

다음과 같이 해보았습니다.

\documentclass{article}
\usepackage{graphicx} % 그림을 사용하기 위한 패키지
\usepackage{caption} % 캡션을 사용하기 위한 패키지
\usepackage{subcaption} % subfigures/subtables을 위한 패키지
\usepackage{kotex}
\usepackage{wrapfig}
\begin{document}
	\begin{figure}[ht!]
		\centering

		% 첫 번째 줄

		\begin{minipage}[b]{0.6\textwidth} % 그림 크기 조절
			\includegraphics[width=\textwidth]{example-image-a} % 그림 파일명

			\caption{*}
			{SECTION 1} % 그림 캡션
		\end{minipage}

		\hfill

		\begin{minipage}[b]{0.4\textwidth} % 텍스트 너비 조절
			\caption{*}
			{Durable Concrete ... fastest and least expensive solution.} % 텍스트 내용
		\end{minipage}

		% 두 번째 줄 (각 그림과 설명 추가)

		% ...

		% 세 번째 줄

		\begin{minipage}[b]{\textwidth} % 전체 너비 사용
			\includegraphics[width=\textwidth]{example-image-b} % 그림 파일명

			\caption{*}
			{Precast, prestressed concrete bridge components are easy to erect... overall economy!} % 텍스트 내용
		\end{minipage}
	\end{figure}

	\clearpage

	\begin{figure}
		\begin{minipage}[t]{0.4\textwidth}
			\centering

			\includegraphics[width=\linewidth]{example-image-c}

			\caption{*}
			{예시 그림}
		\end{minipage}

		\hfill

		\begin{minipage}[t]{0.55\textwidth}
			여기는 그림의 오른쪽에 위치한 문장입니다.

			이 공간에 원하는 문장을 입력할 수 있습니다.
		\end{minipage}
	\end{figure}

	\begin{wrapfigure}
		{l}{.5\textwidth}

		\includegraphics[width=\linewidth]{example-image-c}
	\end{wrapfigure}

	I am honored to be with you today at your commencement
\end{document}

첨부 [2]

댓글 [1]

댓글 쓰기

목록

KTUG 한국 텍 사용자 그룹