till now my tables were like this:
\documentclass{article}
\usepackage{capt-of}
\begin{document}
\begin{table}
\begin{minipage}[h!]{\linewidth}
\centering
\begin{tabular}{p{2cm}p{2cm}p{2cm}}
\hline
\rule{0pt}{8pt}
\textbf{column a} & \textbf{column b} & \textbf{column c} \\
\hline
\rule{0pt}{8pt}
text & text & text \\
\rule{0pt}{8pt}
text & text & text \\
\hline
\rule{0pt}{8pt}
text & text & text \\
\hline
\hline
\end{tabular}
\captionof{table}{text for the listing}{caption} \label{tab:table}
\end{minipage}
\end{table}
\end{document}
well, the problem is, that some table's appear above the caption. My idea was to put these ones in a non-floating environment. Since I have more than 60 figures and tables I don't want to change them all in a tabular or tabularx-environment.
Is there a way to put some figures or tables in a non-floating-environment AND to leave the rest in a table - environment.
With: \captionof....
And they need to be numbered =(

tablebycenterand use\captionof– skpblack Aug 27 '14 at 10:45\begin{minipage}[h!]{\linewidth}isn't doing anything: alinewidthwide minipage in a table takes up the whole table and minipage does not have an optional argument that takes[h!]that syntax would be legal 9but generate a warning) if used on thetableenvironment. – David Carlisle Aug 27 '14 at 10:49\caption– David Carlisle Aug 27 '14 at 10:49