将小页面与文本对齐,而不是与页面顶部对齐

将小页面与文本对齐,而不是与页面顶部对齐

所以我有一页文字,然后在一个迷你页面中并排显示两幅图。这应该位于页面底部,但却不知从哪里出现在顶部。我该如何将其保留在书面文字后的底部?

LOAD OF TEXT......
\begin{align}
f_{n} = a_{0}x_{n} + a_{1}x_{n-1}
\end{align}

where we take $|a_{0}| + |a_{1}| = 1$. For example, both $a_{0}$ and  $a_{1}$ could be $1/2$ resulting in

\begin{align}
f_{n} = \frac{x_{n} + x_{n-1}}{2}.
\end{align}

From this, we can define the transfer function for this filter

\begin{align}
\begin{split}
h(k)&=a_{0}+a_{1}e^{-i2\pi kt_{0}}\\
&=a_{0}+a_{1}(cos(2\pi t_{0}k)-i sin(2\pi t_{0}k)
\end{split}
\end{align}


\begin{align}
\begin{split}
|h(k)|^{2} = a_{0}^{2}+a_{1}^{0} + 2a_{0}a_{1}cos(2\pi t_{0}k)
\end{split}
\end{align}

\begin{figure}

\begin{minipage}{.5\textwidth}
    \centering
    \includegraphics[width=.4\linewidth]{/Userspathtoimage}
    \caption{$|h|$}{The filter frequency response}
    \label{fig:test1}
\end{minipage}%
\begin{minipage}{.5\textwidth}
    \centering
    \includegraphics[width=.4\linewidth]{/Users/pathtoimage}
    \caption{phase($|h|$)}{The filter phase response}
    \label{fig:test2}
\end{minipage}
\end{figure}

在此处输入图片描述

答案1

要将图片放在页面底部,请使用选项[b]。如果这不起作用,如下面的最小工作示例 (MWE) 所示,请尝试[!b]但总体而言,请仔细阅读如何影响 LaTeX 中图形和表格等浮动环境的位置?

\documentclass{article}
\usepackage{lipsum}
\begin{document}
\lipsum[1-1]
\begin{figure}[!b]
\rule{5cm}{5cm}\hfill\rule{5cm}{5cm}
\caption{xxxx}  
\end{figure}
\lipsum[2-10]
\end{document}

相关内容