Browse Source

+ Set tocdepth to 3 for pdf, more strict placing of floats

michael 24 years ago
parent
commit
019cfc73eb
1 changed files with 2 additions and 1 deletions
  1. 2 1
      docs/fpc.sty

+ 2 - 1
docs/fpc.sty

@@ -95,7 +95,7 @@
 %
 \newenvironment{remark}{\par\makebox[0pt][r]{\bfseries{}Remark:\hspace{.25em}}}{\par}
 % For Tables.
-\newenvironment{FPCtable}[2]{\begin{table}[ht]\caption{#2}\begin{center}\begin{tabular}{#1}}{\end{tabular}\end{center}\end{table}}
+\newenvironment{FPCtable}[2]{\begin{table}[ht!]\caption{#2}\begin{center}\begin{tabular}{#1}}{\end{tabular}\end{center}\end{table}}
 % The same, but with label in third argument (tab:#3)
 \newenvironment{FPCltable}[3]{\begin{table}[ht]\caption{#2}\label{tab:#3}\begin{center}\begin{tabular}{#1}}{\end{tabular}\end{center}\end{table}}
 %
@@ -217,6 +217,7 @@
   \usepackage{times}
   \usepackage[T1]{fontenc}
   \setcounter{secnumdepth}{1}
+  \setcounter{tocdepth}{3}
   \pdfcompresslevel=9
   \pdfpagewidth=210mm
   \pdfpageheight=297mm