Too many unprocessed floats with marginpar
The package morefloats
doubles the number of floats that can be handled.
I did not know about the morefloats
package, but I'll try using it to solve my problem.
To solve that problem there is another solution, but in theory not a very good one although it does work great:
Just use [H]
instead of [htbp]
as float specifier. What happens is that LaTeX stops freaking out with too many unprocessed floats.
You can replace the definition of the \years
command by something like the following:
\newcommand{\years}[1]{\makebox[0pt][l]{\hskip-.6in{\scriptsize #1}}}
If you need to introduce line breaks within the years, something slightly more complicated is needed. Then you might want to consider using \parbox
and \raisebox
in the definition of the \years
command, but this shouldn't usually be necessary.
Since you are not using any floats anymore, LaTeX will stop complaining.