我有三张图片想以这种方式放入...这很正常但是怎么做呢?
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\begin{figure}[tb]
\begin{center}
\mbox{ \begin{minipage}{0.62\textwidth}
\includegraphics[width=0.62\textwidth, angle=0]{example-image-a}
\end{minipage}
\begin{minipage}{0.38\textwidth}
\includegraphics[width=\textwidth, angle=0]{example-image-a} \\
\includegraphics[width=\textwidth, angle=0]{example-image-a}
\end{minipage} }
\caption{A cello made by Louise BOISSON in 2021 according to a model of P. G. Rogeri.}
\end{center} \label{BOISSON}
\end{figure}
\end{document}
答案1
只是为了好玩,这将自动缩放任意三幅图像以适应给定排列内的页面。我在图像之间使用了间隙\columnsep
。\floatsep
\documentclass{article}
\usepackage{graphicx, adjustbox}
\usepackage{pgfmath}
\usepackage{showframe}
\begin{document}
\begin{figure}[tb]
\sbox0{\includegraphics{example-image-10x16}}%
\sbox1{\includegraphics{example-image-10x16}}%
\sbox2{\includegraphics[width=\wd1]{example-image-10x16}}%
\pgfmathsetlengthmacro{\det}{\ht1+\ht2+(\wd1/\wd0)*\ht0}% determinant/\wd0
\pgfmathsetmacro{\scaleA}{(((\textwidth-\columnsep)/\wd0)*(\ht1+\ht2) + (\floatsep/\wd0)*\wd1)/\det}%
\pgfmathsetmacro{\scaleB}{(((\textwidth-\columnsep)/\wd0)*\ht0 - \floatsep)/\det}%
\sbox0{\scalebox{\scaleA}{\usebox0}}%
\sbox1{\scalebox{\scaleB}{\usebox1}}%
\sbox2{\scalebox{\scaleB}{\usebox2}}%
\usebox0\hfill
\begin{minipage}[b][\ht0][s]{\wd1}
\usebox1\par\vfill
\usebox2
\end{minipage}
\end{figure}
\end{document}
答案2
一条建议:
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\begin{figure}[tb]
\begin{minipage}{0.55\textwidth}
\includegraphics[width=\textwidth,height=7.75cm, angle=0]{example-image-a}
\end{minipage}
\hspace{0.2cm}
\begin{minipage}{0.4\textwidth}
\includegraphics[width=\textwidth, angle=0]{example-image-a} \\ \par
\includegraphics[width=\textwidth, angle=0]{example-image-a}
\end{minipage}
\caption{A cello made by Louise BOISSON in 2021 according to a model of P. G. Rogeri.}
\label{BOISSON}
\end{figure}
\end{document}