0

Possible Duplicate:
Keeping tables/figures close to where they are mentioned

I have the following problem, I started a new section with appendix and I put a few tables there. But tables are not displayed right after heading but there are displaying from some reason on the new page

\subsection{Datové slovníky}

Zde se nacházejí datové slovníky ke všem tabulkám v databázi.
\nopagebreak
%this table is displayed on the new page
\begin{table}
    \small\addtolength{\tabcolsep}{-3pt}        
    \centering
    \caption{Datový slovník tabulky Project}
    \begin{tabular}{|c|c|c|c|c|c|c|}
    \hline
    Název & Typ & Velikost & Klíč & Index & Null & Popis \\
    \hline
    id & integer & - & Ano & Ano & Ne & ID projektu \\
    \hline
    name & varchar & 100 & Ne & Ne & Ne & Název projektu \\
   \end{tabular}
   \label{fig:project}
\end{table}

I really cant figure this out, table is nor too wide or high, so I dont get it. I am using document class defined by my university teacher (I am writing bachelor thesis)

David Carlisle
  • 757,742

0 Answers0