0

I've created a table in my document with the help from here

the table looks exactly as I want except it's location in my document , how can I define the location of the table anywhere in the doc ?

  • I remembered that I also want to change the Roman numbering of my tables to regular numbers ??

htbp H

the first screen shot is with [htbp] the second is with [H]. the first one does fits my needs , but why I get this empty space between the text and the section title "SUMMARY & CONCLUSIONS" ?

  • I don't really follow. Move the table in the code and it will (likely) move in the PDF. Regarding the second questions, tables are by default (in the most common document classes) numbered with Arabic numbers, so you have likely done something to make the numbers Roman. – Torbjørn T. Jul 24 '15 at 12:14
  • I want it to be right after specific paragraph – UdiW Jul 24 '15 at 12:19
  • In that case, move it there, add \usepackage{float}, and use H as the float specifier (i.e. \begin{table}[H]). Cf. Keeping tables/figures close to where they are mentioned – Torbjørn T. Jul 24 '15 at 12:24
  • 3
    Then don't let it float: put it in a center environment, and use \captionof (defined the capt-of and caption packages) to reference it. – Bernard Jul 24 '15 at 12:24
  • 1
    The only reason to use a figure environment is to allow latex to move it to help with page breaking, an image that needs to be part of the paragraph flow should just be included with \includegraphics – David Carlisle Jul 24 '15 at 13:27
1

At the beginning of the document:

\usepackage{float}

Right at the place in the code (after a specific paragraph), put it like this:

\begin{table}[H]
...
\end{table}

Click here for more information on the floating options (H, h, etc...).

  • Seems to partially work , table is placed at the right place, and the figures that suppose to be right after it are placed after text that should conclude them. also something wired happened to the next section. I'll add screen shot – UdiW Jul 24 '15 at 13:03
  • Have you tried [H] instead of [htbp]? – Parlance Jul 24 '15 at 13:38
  • yes, it's spread the figure on two columns in the second page – UdiW Jul 24 '15 at 13:59
  • The figure took over the two columns of the page? That would have nothing to do with the float of the figure environment, but the scale of the graph. Could you share a screenshot? --- If you use [H], the table or figure will be forced to appear between the corresponding lines of code and/or text. So the rest of the document will adapt accordingly, and that might lead to empty space in the final document (eg. figure too big to fit in a previous page, so it jumps to next page, and so text is moved along because it inevitably goes below the figure). – Parlance Jul 25 '15 at 0:53
  • I've added screen shots, why I am getting this blank space between the title and the text, i've tried to change the width , but it doesn't work beside that all of my figure in the file are with the same width with no blank space after them. – UdiW Jul 26 '15 at 6:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.