I'm working on a project that repUerj template needs to be used and tables, figures and graphs environments are necessarily followed by their width in parentheses as a characteristic of this template.
Ex:
\begin{table}{15cm}
...
end{table}
The issue with this pattern is that I can't force figures, tables and graphs placement in text. I tried that using \float and \placeins but the commands from these packages simply don't work.
When I delete the width in parentheses, LaTeX returns an error messagem:
Missing number treated, as zero \end{table}
The packages used in repUerj are listed below:
\usepackage[utf8]{inputenc}
\usepackage{makeidx}
\usepackage{hyperref
\usepackage{indentfirst}
\usepackage{graphicx}
\usepackage{subfig}
\usepackage{multirow}
\usepackage{amsmath,amssymb}
\usepackage[font=default,frame=no]{repUERJformat}
\usepackage[dots=yes]{repUERJpseudocode}
\usepackage[maxfloats=25]{morefloats}
\usepackage{array}
\setlength\extrarowheight{2pt}
concrete example:
RepUerj is available here: https://www.overleaf.com/read/bpqdkmgxznvh#/11388571/
Does anyone know any other alternative to use in this case?

\begin{table}[hbtp]{12cm}but please post a minimal example (which should however be a complete document) if you need specific help almost all the code you show is loading packages unrelated to tables, but you haven't shown an example of a table that has a problem so it is impossible to suggest any changes – David Carlisle May 12 '18 at 23:02\textwidth9as you have provided no example I don't even know if that is smaller of less than \textwidth) You should really avoid applying\resizeboxto any text especially tables. – David Carlisle May 12 '18 at 23:42