<div dir="ltr"><div>Well, this is why I am a programmer:<br>finding out, by guess or by golly,<br>How Stuff works.<br><br></div><div>see follow-up e-mail with my workaround.<br></div><div><br></div>Ron Fehd  {SAS} macro maven<br>
<div><br>\documentclass{refart}<br>\usepackage{float}\newfloat{program}{H}{lop}%[section]<br>\floatstyle{plaintop}%<br>\title{\jobname}\author{R.J. Fehd}\date{draft of \today}<br>\usepackage{fancyvrb,hyperref}<br>\begin{document}\maketitle<br>
\section*{Abstract}This document is a demonstration of the<br>\href{<a href="http://www.ctan.org/pkg/float}{Float">http://www.ctan.org/pkg/float}{Float</a> package} within<br>\texttt{refart} class<br>showing that the \texttt{floatstyle plaintop} does not work.<br>
\tableofcontents<br>\listof{program}{List of Programs}<br>\section{One}Some text here.<br>\newpage<br>\section{Two}Some text here.<br>\subsection{Two.One}Some text here.<br>This sentence is about the program:<br>\begin{program}\caption{Caption is underneath program.}<br>
\begin{Verbatim}<br>/* name: program that does something */<br>\end{Verbatim}<br>\end{program}<br>\end{document}<br><br></div></div>