[Tex/LaTex] Keep text with previous line – LaTeX equation and next sentence

equationsformatting

What I am trying to do is probably very similar to the "Keep with next/previous" in MS Word. I have an equation and its description in two consecutive lines. I would like the two lines to shift to the next page if they cannot be in the same page.

\begin{equation}
   Incoming\ Radiation, F_\lambda = S_\lambda.\cos \phi
   \label{eq:SolSpecIrrad}
\end{equation}
Where $\phi$ is the solar zenith angle. % This line is getting pushed 
% to the next page, as the equation is the last 
% thing on the previous page. 

Best Answer

You could put it into a minipage, or use the samepage-package. I've added here the mathtools-package, which I would advice you to use. As commented by David Carlisle, you shouldn't spell out complete words in math-environments, as each individual letter will be typeset as a variable. You could put them in \text{Word}.

Code

\documentclass[11pt]{article}
\usepackage{mathtools}
\begin{document}
\vspace*{17.5cm}
\noindent\begin{minipage}{\textwidth}
    \begin{equation}
   \text{Incoming Radiation}, F_\lambda = S_\lambda.\cos \phi
   \label{eq:SolSpecIrrad}
\end{equation}
Where $\phi$ is the solar zenith angle.
\end{minipage}
\end{document}
Related Question