在双栏论文中,我有很长的方程式。我希望其中一个方程式出现在当前页面的底部。我还有另一个方程式,我想让它出现在第二页的顶部。我如何控制这些方程式的位置?
我提供下面的例子。
\documentclass[journal]{IEEEtran}
\usepackage{amsmath}
\usepackage{lipsum}
\begin{document}
\title{\huge equation position control in two column paper}
\maketitle
\section{First} \label{first}
\lipsum[1-6]
\textbf{We need the first equation appear at the bottom of the first page.}
\begin{figure*}[!btp]
\normalsize
\begin{align} \label{eqn_first}
first & = aaa aaa aaa aaa + aaa aaa aaa aaa aaa aaa aaa aaa + aaa aaa aaa aaa aaa aaa + aaa aaa aaa aaa
\end{align}
\hrulefill
\vspace*{4pt}
\end{figure*}
\lipsum[2-5]
\section{Second} \label{second}
\lipsum[3-8]
\textbf{We need the second equation appear at the top of the second page.}
\begin{figure*}[!tbp]
\normalsize
\begin{align} \label{eqn_second}
second & = bbb bbb bbb bbb bbb bbb + bbb bbb bbb bbb bbb bbb bbb bbb bbb +bbb bbb bbb bbb bbb bbb bbb bbb +bbb bbb bbb bbb bbb
\end{align}
\hrulefill
\vspace*{4pt}
\end{figure*}
\lipsum[4-8]
\end{document}
答案1
\documentclass[journal]{IEEEtran}
\usepackage{amsmath}
\usepackage{lipsum}
\usepackage{stfloats}
\begin{document}
\title{\huge equation position control in two column paper}
\maketitle
\enlargethispage{-2cm}
\section{First} \label{first}
\begin{picture}(0,0)
\put(0,-600){\hspace{-\parindent}\parbox{\textwidth}{%
\hrulefill
\vspace*{4pt}
\normalsize
\begin{align} \label{eqn_first}
first & = aaa aaa aaa aaa + aaa aaa aaa aaa aaa aaa aaa aaa + aaa aaa aaa aaa aaa aaa + aaa aaa aaa aaa
\end{align}}}
\end{picture}%
\begin{figure*}[!tbp]
\normalsize
\begin{align} \label{eqn_second}
second & = bbb bbb bbb bbb bbb bbb + bbb bbb bbb bbb bbb bbb bbb bbb bbb +bbb bbb bbb bbb bbb bbb bbb bbb +bbb bbb bbb bbb bbb
\end{align}
\vspace*{4pt}
\hrulefill
\end{figure*}%
\lipsum[1-6]
\textbf{We need the first equation appear at the bottom of the first page.}
\enlargethispage{-2cm}
\lipsum[2-5]
\section{Second} \label{second}
\lipsum[3-8]
\textbf{We need the second equation appear at the top of the second page.}
\lipsum[4-8]
\end{document}