最小工作示例:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[bitstream-charter]{mathdesign}
\usepackage{multicol}
\usepackage{fancyhdr}
\usepackage{amsmath}
\usepackage{lettrine}
\usepackage{graphicx}
\usepackage{lipsum}
\usepackage[margin=0.9in]{geometry}
\setlength{\columnsep}{0.8cm}
\title{\Huge Bla bla bla}
\author{\Large John Smith}
\date{}
\fancypagestyle{amstyle}
{
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\fancyfoot[C]{\textbf{Bla bla bla}}
\fancyfoot[R]{\textbf{Bla bla bla}}
\fancyfoot[L]{\textbf{\thepage}}
}
\begin{document}
\maketitle
\thispagestyle{amstyle}
\begin{multicols*}{2}
\lettrine[lines=5]{M}{} \lipsum[1-10]
$$\boxed{fancy equation}$$
\textit{Important sentence here}
\columnbreak
% image as large as 1 multicols \includegraphics[scale=1]{ams-add.pdf}
\end{multicols*}
\end{document}
问题是末尾的方框方程和句子散开了。我无法解决这个问题。我希望左列正常终止,而不是在中间添加额外的空间。
答案1
您可以使用以下方法强制缩短色谱柱:\vspace*{\fill}\null
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[bitstream-charter]{mathdesign}
\usepackage{multicol}
\usepackage{fancyhdr}
\usepackage{amsmath}
\usepackage{lettrine}
\usepackage{graphicx}
\usepackage{lipsum}
\usepackage[margin=0.9in]{geometry}
\setlength{\columnsep}{0.8cm}
\title{Bla bla bla}
\author{John Smith}
\date{}
\fancypagestyle{amstyle}
{
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\fancyfoot[C]{\textbf{Bla bla bla}}
\fancyfoot[R]{\textbf{Bla bla bla}}
\fancyfoot[L]{\textbf{\thepage}}
}
\begin{document}
\maketitle
\thispagestyle{amstyle}
\begin{multicols*}{2}
\lettrine[lines=5]{M}{} \lipsum[1-10]
\[\boxed{fancy equation}\]
\textit{Important sentence here}
\vspace*{\fill}
\null
\columnbreak
% image as large as 1 multicols \includegraphics[scale=1]{ams-add.pdf}
\end{multicols*}
\end{document}