[texhax] refart with package float floatstyle plaintop not works

Ron RJF Fehd ron.fehd.macro.maven at gmail.com
Fri Sep 13 18:19:28 CEST 2013


Well, this is why I am a programmer:
finding out, by guess or by golly,
How Stuff works.

see follow-up e-mail with my workaround.

Ron Fehd  {SAS} macro maven

\documentclass{refart}
\usepackage{float}\newfloat{program}{H}{lop}%[section]
\floatstyle{plaintop}%
\title{\jobname}\author{R.J. Fehd}\date{draft of \today}
\usepackage{fancyvrb,hyperref}
\begin{document}\maketitle
\section*{Abstract}This document is a demonstration of the
\href{http://www.ctan.org/pkg/float}{Float package} within
\texttt{refart} class
showing that the \texttt{floatstyle plaintop} does not work.
\tableofcontents
\listof{program}{List of Programs}
\section{One}Some text here.
\newpage
\section{Two}Some text here.
\subsection{Two.One}Some text here.
This sentence is about the program:
\begin{program}\caption{Caption is underneath program.}
\begin{Verbatim}
/* name: program that does something */
\end{Verbatim}
\end{program}
\end{document}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20130913/0d022c8b/attachment.html>


More information about the texhax mailing list