General ⇒ \floatingtable near \tableofcontents
\floatingtable near \tableofcontents
I tried to put "\\" after \end{floatingtable} but it had generated errors. Also the structures:
...\end{floatingtable}
\newpage
\tableofcontents...
and
...\end{floatingtable}
space mark
\\
\tableofcontents...
do not work. How to force the table of contents would have nothing to do with this table?
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
\floatingtable near \tableofcontents
Re: \floatingtable near \tableofcontents
\floatingtable near \tableofcontents
Re: \floatingtable near \tableofcontents
%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[12pt,a4paper,fleqn,oneside,dvips]{report}
\usepackage{graphicx}
\usepackage{floatflt}
%
\title{Minimal working example}
\author{My name}
\begin{document}
\maketitle
\section{To create table of contents}
Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1. Section 1.
\section{To create table of contents}
Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2. Section 2.
\section{To create table of contents}
Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3 \ref{tab:tab}. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3. Section 3.
\begin{floatingtable}{
\begin{tabular}{|c|c|}\hline\hline
\textbf{ABC} & \textbf{BCD [eV]} \\ [0.5ex]
\hline
C-H & 4,3 \\ \hline
C-C & 3,6 \\ \hline
C=C & 6,3 \\ \hline
C-O & 3,6 \\ \hline
O-H & 4,8 \\ [0.5ex]
\hline
\end{tabular}}
\caption{\textsl{The table}}
\label{tab:tab}
\end{floatingtable}
%
\tableofcontents
%
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%
In this example puttnig the table's code somewhere earlier leads to placing the table into the right paragraph but in the real text putting the code of the table in the beginning of the paragraph which refers to it leads to the same result as placing it in the end of the paragraph.
Re: \floatingtable near \tableofcontents
B.A.
\floatingtable near \tableofcontents
Re: \floatingtable near \tableofcontents
By the way, I like LaTeX very much but I have used it up to this time only occasionally and I am not very fluent in advanced usage but I think this forum and your advices are very, very, very helpful. Thank you for it.
M.P.