\documentclass[cfonts, nofontsdir]{nostarch}
\usepackage{nshyper}
\begin{document}

Some examples of tables


\begin{table}[H]
\caption{Similar to Figures, Table Titles Also Should Break Within the Table's Width Instead of Extending the Full Page Width Like This}\index{kinds, meanings of}
\label{exampletable}
\begin{tabular}{ll}
  \toprule
  \thfont Col 1 & \thfont Col 2 \\
  \midrule
  Lorem ipsum & dolor sit amet \\
  consectetur adipiscing & elit sed do \\
  eiusmod tempor & incididunt ut \\
  labore et dolore & magna aliqua \\
  ut enim ad & minim veniam \\
  \bottomrule
\end{tabular}
\end{table}

A long table

\begin{longtable}{ll}
  \caption{A very long table.  Its caption also wraps up like the
    caption of figures and tables}\label{long table}\\
  \toprule
  \thfont Col 1 & \thfont Col 2 \\
  \midrule
  \endfirsthead
  \caption[]{A very long table.  Its caption also wraps up like the
    caption of figures and tables continued\ldots}\\
  \toprule
  \thfont Col 1 & \thfont Col 2 \\
  \midrule
  \endhead
  \bottomrule
  \endfoot
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
  this table is & long! \\
\end{longtable}

Equations have unequal amounts of spacing above and below them. The
space before the following equation looks roughly twice as large as
after.
\begin{equation}
mean~tot = b + c ~ temp + d ~ temp^2.
\end{equation}  

Additionally, the amount of space before/after equations is not always
consistent. The below equation seems to have even more leading space
than the previous one.
\begin{equation}
mean~tot = b + c ~ temp + d ~ temp^2 + e ~ hum + f ~ hum^2 + g ~ temp
\times ~ hum.
\end{equation}

We've been manually adding \lstinline{\vspace} commands to account for this, which is not an ideal solution.


\end{document}
