[Tex/LaTex] LaTeX: force table on page / prevent page break

page-breakingtables

Very, very new to LaTeX, so I hope I can get across what I want. Please bear with me 🙂

I want an equation and the list of parameters/units on the same page. For the list I used a tabular environment, as it seemed the easiest and cleanest way to get what I wanted. It turned out just as I wanted it. However, I don't manage to get the equation and the table with explanations on the same page.

I tried

 \begin{samepage} 
  ...
 \end{samepage}

but it didn't work. Is it because the table is a float? If so – is there a way to get both on the same page regardless? Or is there another way to format the list to get what I achieved with the tabular environment? I had a look at lists, but have no idea how to do it there…

Any help would be appreciated.

here is the relevant code:

\documentclass[a4paper]{article}

\usepackage{amsmath}

\begin{document}

\section{Penman-Monteith}

[...]
\\\\
The resulting standard equation for the ASCE-PM method is: 
\\
\begin{equation}
ET=
\frac
{0.408  \,  \Delta  \,  (R_n-G) \,  +\gamma \,  \dfrac{C_n}{T+273} \,   u_2 \,  (e_s-        e_a)}
{\Delta+\gamma  \,  (1+C_d  \: u_2)} \label{PM_main}
\end{equation}
\\
where:

\begin{tabular}{lcl}
ET & = & standardized reference evapotranspiration\\
& & [mm d$^{-1}$] or [mm h$^{-1}$] 
\\
$\Delta$ & = & slope of saturation vapour pressure-temperature curve \\ 
& & [kPa $^{\circ}$C$^{-1}$]
\\
R$_n$ & = & net radiation at crop surface \\
& & [MJ m$^{-2}$ d$^{-1}$] or [MJ m$^{-2}$ h$^{-1}$] \\
G & = & soil heat flux density at soil surface \\
& & [MJ m$^{-2}$ d$^{-1}$] or [MJ m$^{-2}$ h$^{-1}$] 
\\
$\gamma$ & = & psychrometric constant \\
& & [kPa $^{\circ}$C$^{-1}$]
\\
C$_n$ & = & constant changing with calculation time step and reference crop \\
& & [K mm s$^3$ Mg$^{-1}$ d$^{-1}$] or [K mm s$^3$ Mg$^{-1}$ h$^{-1}$]
\\
T & = & mean daily or hourly air temperature at 1.5 to 2.5 m height\\
& & [$^{\circ}$C]
\\
u$_2$ & = & mean daily or hourly wind speed at 2 m height\\
& & [m s$^{-1}$]
\\
e$_s$ & = & saturation vapour pressure at 1.5 to 2.5 m height\\
& & [kPa]
\\
e$_a$ & = & mean actual vapour pressure at 1.5 to 2.5 m height\\
& & [kPa]
\\
C$_d$ & = & constant changing with calculation time step and reference crop \\
& & [s m$^{-1}$].
\\
\end{tabular}

\end{document}

Best Answer

You can just enclose both the equation and the table in a figure environment, and use some labeling that is :

\documentclass[a4paper]{article}

\usepackage{amsmath}

\begin{document}

\section{Penman-Monteith}

[...]

The resulting standard equation for the ASCE-PM method is displayed in figure~\ref{figASCE-PM}.

\begin{figure}
\begin{equation}
[...]
\end{equation}

where:

\begin{tabular}{lcl}
[...]
\end{tabular}
\caption{The standard equation for the ASCE-PM method}
\label{figASCE-PM}
\end{figure}


\end{document}