I recently asked a similar question about how to change the font in a table produced by an external program. The answer I endorsed solved the problem nicely, but the solution was not intuitive to me given my limited LaTeX knowledge.
I'm faced with a similar challenge of needing to redefine the font of a longtable to monospaced. This table is also produced by another program, so I'm looking for a way to redefine longtable in the preamble rather than just wrap a particular table in a new font.
\documentclass{article}
\usepackage{longtable}
\usepackage{booktabs}
\begin{document}
\begin{longtable}[]{@{}rrrl@{}}
\caption{My title}\tabularnewline
\toprule
v1 & v2 & v3 & v4\tabularnewline
\midrule
\endfirsthead
\toprule
v1 & v2 & v3 & v4\tabularnewline
\midrule
\endhead
1 & 0 & 0 & 0.87\tabularnewline
1 & 0 & 1 & 0.89\tabularnewline
1 & 1 & 0 & 0.87\tabularnewline
\bottomrule
\end{longtable}
\end{document}