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" ?

6
  • 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. Commented Jul 24, 2015 at 12:14
  • I want it to be right after specific paragraph
    – UdiW
    Commented Jul 24, 2015 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 Commented Jul 24, 2015 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
    Commented Jul 24, 2015 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 Commented Jul 24, 2015 at 13:27

1 Answer 1

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...).

6
  • 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
    Commented Jul 24, 2015 at 13:03
  • Have you tried [H] instead of [htbp]?
    – user50624
    Commented Jul 24, 2015 at 13:38
  • yes, it's spread the figure on two columns in the second page
    – UdiW
    Commented Jul 24, 2015 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).
    – user50624
    Commented Jul 25, 2015 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
    Commented Jul 26, 2015 at 6:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .