Permalink
Browse files

\usepackage{fixltx2e} must come before use \usepackage{float}

The \usepackage{doxygen} statement adds float as a depenency.
If the order is wrong the latex generation fails with:
LaTeX Error: Unknown float option `H'
  • Loading branch information...
ellert committed Jun 4, 2014
1 parent 84064ac commit d8a36bbd404bc9c77689f42cc4bfde8ac393cd8c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/latexgen.cpp
@@ -290,14 +290,14 @@ static void writeDefaultHeaderPart1(FTextStream &t)
// Load required packages
t << "% Packages required by doxygen\n"
"\\usepackage{fixltx2e}\n" // for \textsubscript
"\\usepackage{calc}\n"
"\\usepackage{doxygen}\n"
"\\usepackage{graphicx}\n"
"\\usepackage[utf8]{inputenc}\n"
"\\usepackage{makeidx}\n"
"\\usepackage{multicol}\n"
"\\usepackage{multirow}\n"
"\\usepackage{fixltx2e}\n" // for \textsubscript
"\\PassOptionsToPackage{warn}{textcomp}\n"
"\\usepackage{textcomp}\n"
"\\usepackage[nointegrals]{wasysym}\n"

0 comments on commit d8a36bb

Please sign in to comment.