![我如何可以引入带有图像和说明(无标题)的两列?](https://linux22.com/image/402508/%E6%88%91%E5%A6%82%E4%BD%95%E5%8F%AF%E4%BB%A5%E5%BC%95%E5%85%A5%E5%B8%A6%E6%9C%89%E5%9B%BE%E5%83%8F%E5%92%8C%E8%AF%B4%E6%98%8E%EF%BC%88%E6%97%A0%E6%A0%87%E9%A2%98%EF%BC%89%E7%9A%84%E4%B8%A4%E5%88%97%EF%BC%9F.png)
这是我的想法:
在文本之前,您会看到 2 列,其中包含标题、图片和描述。
提前致谢!
我的尝试:
\usepackage{parcolumns}
\raggedright
\begin{parcolumns}{2}
\colchunk{\centering {\bf Algebra}}
\colchunk{\centering {\bf Geometry}}
\colplacechunks
\colchunk{\begin{figure}[H]
\includegraphics[scale=0.5]{Picture1}
\end{figure}}
\colchunk{\begin{figure}[H]
\includegraphics[scale=0.5]{Picture2}
\end{figure}}
\colplacechunks
\colchunk{\begin{itemize}\item The algebraic properties...\end{itemize}}
\colchunk{\begin{itemize}\item The geometric properties...\end{itemize}}
\end{parcolumns}
答案1
下面的操作应该会给你期望的结果:
\documentclass{article}
\usepackage{lipsum}
\usepackage{graphicx}
\begin{document}
\lipsum[4]
\medskip\noindent
\begin{minipage}{0.5\textwidth}
\centering \textbf{Algebra}
\includegraphics[scale=0.5]{example-image}
\begin{itemize}
\item The algebraic properties
\item another item
\end{itemize}
\end{minipage}%
\begin{minipage}{0.5\textwidth}
\centering \textbf{Geometry}
\includegraphics[scale=0.5]{example-image}
\begin{itemize}
\item The algebraic properties
\item another item
\end{itemize}
\end{minipage}
\medskip
\lipsum[4]
\end{document}
答案2
一种简单的方法是使用multicol
:
\documentclass{article}
\usepackage{lipsum}
\usepackage{graphicx}
\usepackage{multicol}
\begin{document}
\lipsum[1][1-7]
\begin{multicols}{2}
\section*{\centering GEOMETRY}
\noindent\includegraphics[width=\linewidth]{example-image-a}
\subsection*{Description \#1}
\lipsum[2][1-4]
\vfill\null\columnbreak
\section*{\centering ALGEBRA}
\noindent\includegraphics[width=\linewidth]{example-image-b}
\subsection*{Description \#2}
\lipsum[3][1-8]
\vfill\null
\end{multicols}
\lipsum[4][1-7]
\end{document}