latex插入2x2图片
时间: 2023-09-24 19:12:51 浏览: 203
在LaTeX中插入2x2图片可以使用以下代码:
\begin{figure}\[htbp\]
\centering
\begin{minipage}{0.49\linewidth}
\centering
\includegraphics\[width=0.9\linewidth\]{Figure/chutian.JPG}
\caption{chutian1}
\label{chutian1}
\end{minipage}
\begin{minipage}{0.49\linewidth}
\centering
\includegraphics\[width=0.9\linewidth\]{Figure/chutian.JPG}
\caption{chutian2}
\label{chutian2}
\end{minipage}
\begin{minipage}{0.49\linewidth}
\centering
\includegraphics\[width=0.9\linewidth\]{Figure/chutian.JPG}
\caption{chutian3}
\label{chutian3}
\end{minipage}
\begin{minipage}{0.49\linewidth}
\centering
\includegraphics\[width=0.9\linewidth\]{Figure/chutian.JPG}
\caption{chutian4}
\label{chutian4}
\end{minipage}
\end{figure}
这段代码会在一个浮动环境中插入四张图片,形成2x2的布局。每个图片都有自己的标题和标签,可以在文中引用。你可以根据需要修改图片的路径和尺寸。
#### 引用[.reference_title]
- *1* [双栏Latex模板插入多个图片的各种排布](https://blog.csdn.net/weixin_41862755/article/details/128836192)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [Latex如何插入多个图片,实现并排排列或者多行多列排列](https://blog.csdn.net/weixin_44044161/article/details/116736257)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文