I am trying to have a table set in the position in the text where I am use it.
I post my environment below; what should I change/add in the header of my latex file to have the tabular within the text and not sent to the end of the document?
Thank you very much in advance
All the best
S.
Code: Select all
\documentclass[11pt,a4paper,english]{article}
\usepackage{geometry}
\usepackage[parfill]{parskip}
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{epstopdf}
\parindent0em
\DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname #1`/`basename #1 .tif`.png}
\title{ TITLE}
\author{author}
\begin{document}
\maketitle
\newpage
\tableofcontents
\section{A table section}
\begin{table}[H]
\caption{captionhere}
\begin{center}
\begin{tabular}{lc c c c c }
\hline\hline
\\
hello1 & hello2 & hello3 & hello4 & hello5\\
\hline\\
string1 & string2 & string3 & string4 & string5 \\
string1 & string2 & string3 & string4 & string5 \\
\hline
\hline
\end{tabular}
\end{center}
\label{entries}
\end{table}