将图像放置在双列页面的第二列中

将图像放置在双列页面的第二列中

我想使用两列布局,让第二列中的图像和文本从页面顶部开始,然后以均匀的间距向下排列。我multicol也尝试过使用该软件包,但没有成功。LaTeX 会对其进行间距调整,以便图像均匀分布在第二页上。

\documentclass[11pt]{article}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{xfrac}
\usepackage[T1]{fontenc}
\usepackage{ae,aecompl}
\usepackage[hmargin=1.5cm,vmargin=1.5cm]{geometry}
\usepackage[justification=justified]{caption}
\pagenumbering{gobble}
\usepackage{fancyhdr}
\pagestyle{fancy}
\setlength{\parskip}{0.5in}
\setlength{\parindent}{0in}
\setlength{\headheight}{10pt}
\showcolsendrule
\captionsetup{%
    singlelinecheck=false,
    tableposition=top,
    labelformat=empty,labelsep=none,skip=.1in
}

\begin{document}
\twocolumn}
\renewcommand{\headrulewidth}{0pt}
\lhead{\bfseries Name:    \\  Date: }

\chead{}
\rhead{\bfseries 6th Grade Math  \\   }
\begin{figure}[H]
\caption{1) Find the area.}
\includegraphics[scale=.9]{/var/www/asymptote/pdf/parallelogram_a_3_1.pdf}
\end{figure}

\begin{figure}[H]
\caption{2) Find the area.}
\includegraphics[scale=.9]{/var/www/asymptote/pdf/parallelogram_a_3_4.pdf}
\end{figure}

.....

结果显示如下:

在此处输入图片描述

基本上,我希望屏幕截图中显示的第 8 个问题位于第二列的顶部,而第 8 个问题之后的任何问题都以均匀的间距显示在其下方。

答案1

你把事情搞得太复杂了。你不需要浮点数 ( figure) 和\caption。调整 的定义\problem以适应。

请注意,我没有加载,graphicx因为我没有您的图片。加载它,当然,删除\includegraphics我为示例添加的虚假定义。

\documentclass[11pt,twocolumn]{article}
\usepackage[T1]{fontenc}

\usepackage[includehead,top=2mm,bottom=1.5cm,hmargin=1.5cm,headheight=26pt]{geometry}

\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0pt}
\fancyhf{}
\fancyhead[L]{\bfseries Name:    \\  Date: }
\fancyhead[R]{\bfseries 6th Grade Math  \\   }


\setlength{\parindent}{0in}

\newcommand{\problem}[2]{#1\par\nopagebreak\medskip#2\par\bigskip}

%%% just for this example
\newcommand{\includegraphics}[2][]{\rule{.3\columnwidth}{2cm}}


\begin{document}

\problem{1) Find the area.}
 {\includegraphics[scale=.9]{/var/www/asymptote/pdf/parallelogram_a_3_1.pdf}}

\problem{2) Find the area.}
 {\includegraphics[scale=.9]{/var/www/asymptote/pdf/parallelogram_a_3_4.pdf}}

\problem{3) Find the area.}
 {\includegraphics[scale=.9]{/var/www/asymptote/pdf/parallelogram_a_3_4.pdf}}

\problem{4) Find the area.}
 {\includegraphics[scale=.9]{/var/www/asymptote/pdf/parallelogram_a_3_4.pdf}}

\problem{5) Find the area.}
 {\includegraphics[scale=.9]{/var/www/asymptote/pdf/parallelogram_a_3_4.pdf}}

\problem{6) Find the area.}
 {\includegraphics[scale=.9]{/var/www/asymptote/pdf/parallelogram_a_3_4.pdf}}

\problem{7) Find the area.}
 {\includegraphics[scale=.9]{/var/www/asymptote/pdf/parallelogram_a_3_4.pdf}}

\problem{8) Find the area.}
 {\includegraphics[scale=.9]{/var/www/asymptote/pdf/parallelogram_a_3_4.pdf}}

\problem{9) Find the area.}
 {\includegraphics[scale=.9]{/var/www/asymptote/pdf/parallelogram_a_3_4.pdf}}

\end{document}

在此处输入图片描述

答案2

添加

\usepackage{float}

在你的序言中,

\vspace*{1cm}

在您的最后一个数字似乎起作用之后。

相关内容