To give some context: I have a long list of risks I want to put in my document and managed to make it work using longtable as can be seen in pic1 (It's in portuguese because it's my masters disstertaion).
The problem I'm facing here is that longtables are always recognized as Tables and I would like to be able to use a custom float named quadro, that is created as part of the template I'm using which is defined below:
\newcommand{\listquadroname}{Lista de quadros}
\newcommand{\quadroname}{Quadro}
\newcommand{\quadrorefname}{Quadro}
\newcommand{\chartautorefname}{Quadro}
\addto\captionsenglish{% ingles
\renewcommand{\listquadroname}{List of charts}
\renewcommand{\quadroname}{Chart}
\renewcommand{\quadrorefname}{Chart}
\renewcommand{\chartautorefname}{Chart}
}
\newfloat{quadro}{htbp}{loq}[chapter]
\floatname{quadro}{\quadroname}
\floatstyle{plaintop}
\restylefloat{quadro}
\newlistof{listofquadros}{loq}{\listquadroname}
\newlistentry{quadro}{loq}{0}
\renewcommand{\thequadro}{\thechapter.@arabic\c@quadro}
\setfloatadjustment{quadro}{\centering}
\renewcommand{\cftquadroname}{\quadroname\space}
\renewcommand*{\cftquadroaftersnum}{\hfill\textendash\hfill}
\begin{quadro}[htb]
\caption{Editores de Texto Livres}
\label{quadro:editores_texto_livres}
\centering
\begin{tabular}{|l|l|r|} \hline
Editor & Multiplataforma & Específico para Latex \ \hline
Kwriter & Sim & Não \
Texmaker & Sim & Sim \
Kile & Sim & Sim \
Geany & Sim & Não \ \hline
\end{tabular}
\end{quadro}
That being said, how might I edit the longtable environment to create a longquadro environment that not only follows the same naming convention but also is included in the same lists (like List of Quadros).





longquadroenvironment that is to thequadroenvironment (defined with the help of thenewfloatpackage) what thelongtableenvironment is to thetableenvironment. – Mico Nov 27 '20 at 21:37