Sometimes it's more convenient to have fixed floats during document creation (for ex. when copying from multiple MS Word documents) so as to not get lost and then at the end to be able to "release" them.
My question is: "How to achieve this without needing to replace every H specification of a float with ht! manually at the end of work (presuming you use float package and its' H specification for a float when writing the document)."
My try so far was to load float package and define two new commands.
\usepackage{float}
\newcommand{\floatingfloat}{\text{ht!}}
\newcommand{\fixedfloat}{\text{H}}
\begin{document}
\begin{table}[\fixedfloat]
\caption {Some caption.}
\label{tab:1}
\begin{center}
\begin{tabular}{@{}rl@{}}
\toprule
Numbers & More umbers
\midrule
1 & 5 \\
2 & 8 \\
6 & 3 \\
\bottomrule
\end{tabular}
\end{center}
\end{table}
\end{document}
This, however, returns an error: "Unknown float option ..."
Any help will be greatly appreciated!
\def\fps@figure{H}in preamble (between\makeatletterand\makeatother) can help you . After then (on the end) you can replace it with\def\fps@figure{!htp}– Zarko May 07 '17 at 21:48