
2列の文書に3つの図を次のように配置する必要があります
答え1
コメント
個々のキャプションやメインのキャプション、参考文献については説明していませんでした。私もそれを追加することにしました。
基本的な考え方
2 列のドキュメントの場合は、
[twocolumn]
のオプションを使用します\documentclass
。2 列の表 (外部表) を作成します。最初の列に別の 1 列の表を配置します。最初の 2 つの画像 (A と B) を内部表の 2 行として配置します。3 番目の画像 (B) を外部表の 2 番目の列に配置します。
subcaption
キャプションやラベルを管理するために使用します 。(これは答え役立ちます。
ソリューション
\documentclass[twocolumn]{article}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{lipsum} % For dummy text only
\begin{document}
\begin{figure}[!t]
\begin{tabular}[b]{cc}
\begin{tabular}[b]{c}
\begin{subfigure}[b]{0.4\columnwidth}
\includegraphics[width=\textwidth]{A.png}
\caption{A.}
\label{fig:A}
\end{subfigure}\\
\begin{subfigure}[b]{0.4\columnwidth}
\includegraphics[width=\textwidth]{B.png}
\caption{B.}
\label{fig:B}
\end{subfigure}
\end{tabular}
&
\begin{subfigure}[b]{0.4\columnwidth}
\includegraphics[width=\textwidth]{C.png}
\caption{C.}
\label{fig:C}
\end{subfigure}
\end{tabular}
\label{fig:ABC}
\caption{A, B and C.}
\end{figure}
\lipsum[1-5]
\end{document}
出力
さらなる調整
0.4\columnwidth
画像サイズを微調整するには、s を変更します。オーバーフルボックスに注意してください。
答え2
あなたの質問には 2 つの異なる部分が含まれているようです:
- 2列の文書を作成する方法
- 数字を2列に並べる方法
1.の答えは、クラスtwocolumn
内のオプションを使用することですarticle
。
2.の答えは、minipage
環境を利用することです。
\documentclass[twocolumn]{article}
\usepackage{graphicx}
\usepackage{lipsum}
\begin{document}
\begin{figure}[h!]
\begin{minipage}{0.48\columnwidth}
\includegraphics[width=\columnwidth,height=4cm]{triangle}
\\[3mm]
\includegraphics[width=\columnwidth,height=4cm]{triangle}
\end{minipage}
\begin{minipage}{0.48\columnwidth}
\includegraphics[width=\columnwidth,height=83mm]{triangle}
\end{minipage}
\end{figure}
\lipsum[1-7]
\end{document}
ファイルを生成するコードtriangle.pdf
は
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[fill=green!20] (0,0) -- (1,1) -- (1,0) -- cycle;
\end{tikzpicture}
\end{document}