I use the booktabs package and the floatrow package with the float style ruled. For consistency I would like to apply this look (example) to the glossary I use as nomenclature and an amsmath enviornment. So far I use the caption technic described in the floatrow manual, using captionsetup and caption.
I wonder if there is any easy way to trick floatrow into handling a minipage like a float and adding the appropiate rules.
Here is a not so minimal example. It includes a table and a figure that look like I want them too. And a not correctly formated glossary and align environment.
\documentclass{report}
\usepackage{amsmath}
\usepackage{booktabs}
\usepackage[demo]{graphicx}
\usepackage{caption}
\usepackage[list=on]{subcaption}
\usepackage{glossaries}
\usepackage{floatrow}
\floatsetup{style=ruled, footposition=caption, capposition=bottom, heightadjust=object} %make graphics look like booktables
\floatsetup[table]{style=plain, footposition=bottom}
\captionsetup[table]{labelfont=bf}
\newglossaryentry{demo}{
name =modulo,
symbol =\ensuremath{\protect \bmod},
description ={modulo operator}}
\glsaddall
\begin{document}
\chapter{needs work}
\begin{center}%vertical spacing
\begin{minipage}{\linewidth}%group caption and content on same page
\centering
\captionsetup{type=table}
\begin{align}
1+2=3
\end{align}
\caption{Align}
\end{minipage}
\end{center}
\begin{center}%vertical spacing
\begin{minipage}{\linewidth}%group caption and content on same page
\centering
\captionsetup{type=table}
\renewcommand{\glossarysection}[2][]{}
\printglossary
\caption{Nomenclature glossary}
\end{minipage}
\end{center}
\chapter{should be look}
\begin{table}
\begin{tabular}{lrrp{5cm}}
\toprule
%name & lines per set & sets & pros/cons\\
& hea &der \\
\midrule
con & ten & t \\
con & ten & t \\
\bottomrule
\end{tabular}
\caption{Table}
\end{table}
\begin{figure}
\includegraphics[height=2in, width=4in]{}
\caption{Figure}
\end{figure}
\end{document}

table. What is the problem then? Am I missing something? – Gonzalo Medina Aug 04 '13 at 00:13\captionsetup{type=table, style=ruled}(inside the minipages where I set the anchor) but this does not have effect. I marked them as tables, since that is thelist of xI want them to appear in. – ted Aug 04 '13 at 08:24figure(line above top and arround caption), I just turned it off for tables since it looks bad with booktabs. – ted Aug 04 '13 at 08:40