![我该如何划分我的身材呢?](https://linux22.com/image/438572/%E6%88%91%E8%AF%A5%E5%A6%82%E4%BD%95%E5%88%92%E5%88%86%E6%88%91%E7%9A%84%E8%BA%AB%E6%9D%90%E5%91%A2%EF%BC%9F.png)
我有三张图片想以这种方式放入...这很正常但是怎么做呢?
\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}