\begin{table}[h+]
This gives a syntax error in pdflatex. I guess I am missing a package, but I cannot think which one it is. I have installed every package I can think of ....
Up to LaTeX release 2015/01/01, an input such as
\begin{table}[h+]
wouldn't have produced an error, but the +
would have done nothing at all.
Starting from that release, illegal characters in the optional argument to a float environment (table
, figure
or others defined by additional packages) produce an error
Unknown float option `<opt>'
in your case
Unknown float option `+'
Note that the only legal characters are
h t b p !
With the float
package, one can use H
(alone), but it's not recommended.
+
seems to be wrong! I don't know this float parameter.+
used as a float specifier, I've never seen it before. Any subset ofhtbp!
is valid without packages.\begin{table}[h!]
. That, or one or more of the following letters:h
,t
,b
, andp
. For sure , if you use!
instead of+
, the syntax error is gone.[h]
but (thankfully for lots of unsuspecting users) not for[h!]
: LaTeX automatically changes all instances of[h!]
to[ht!]
. The effect of[ht!]
: if LaTeX can't place the float "right here" on the current page, it will place it at the top of the very next next page.