如何将不同的浮点名称(尊重页码)添加到“某些内容”的自定义列表中?

如何将不同的浮点名称(尊重页码)添加到“某些内容”的自定义列表中?

大家晚上好。我正在为论文创建模板,并且我设法创建了除“图”和“表”之外的浮动环境。而且我能够为每个浮动生成一个“X 列表”,如您在第一张图片中看到的那样。但是我现在需要以某种方式将所有这些浮动放在一个“列表”中,并遵守适当的页码,如第二张图片所示。有什么想法吗?提前谢谢。

图片 1

图片 2

以下是我的混乱的(抱歉)序言:

\documentclass[12pt,a4paper]{article}
\usepackage[
lmargin=3cm,
tmargin=3cm,
rmargin=2cm,
bmargin=2cm,
headheight=15.1pt,
heightrounded
]{geometry} 
\usepackage[portuguese]{babel}
\addto\captionsportuguese{
    \renewcommand{\contentsname}%
    {\hspace*{\fill}\bfseries\normalsize SUMÁRIO\hspace*{\fill}}%
}

\addto\captionsportuguese{
    \renewcommand{\refname}{\hspace*{\fill}\bfseries\normalsize REFERÊNCIAS\hspace*{\fill} }}


\usepackage{caption}
\usepackage{enumitem}
\usepackage{float}
\usepackage{setspace}
\usepackage[titletoc,title]{appendix}
\usepackage{microtype}
\usepackage{ragged2e}
\usepackage{booktabs}
\usepackage{etoolbox}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{scrextend}
\usepackage{array} 
\usepackage{afterpage}
\usepackage[titles]{tocloft}
\usepackage{mathtools}
\usepackage{fontspec}
\usepackage{newfloat}
\usepackage{titlesec}
\usepackage{indentfirst}
\usepackage{import}
\usepackage{tocloft}
\cftsetindents{section}{0em}{5em}
\cftsetindents{subsection}{0em}{5em}
\cftsetindents{subsubsection}{0em}{5em}
\cftsetindents{para}{0em}{5em}
\cftsetindents{subpara}{0em}{5em}  
\addto\captionsportuguese{
    \renewcommand{\listfigurename}{\hspace*{\fill}\bfseries\normalsize LISTA DE ILUSTRAÇÕES\hspace*{\fill}}}

% ~~~~~~~  Redefinição do nome "List of tables":
\addto\captionsportuguese{
    \renewcommand{\listtablename}{\hspace*{\fill}\bfseries\normalsize LISTA DE TABELAS\hspace*{\fill}}}

\newcommand*{\BeginNoToc}{%
    \addtocontents{toc}{%
        \edef\protect\SavedTocDepth{\protect\the\protect\value{tocdepth}}%
    }%
    \addtocontents{toc}{%
        \protect\setcounter{tocdepth}{-10}%
    }% 
}
\newcommand*{\EndNoToc}{%
    \addtocontents{toc}{%
        \protect\setcounter{tocdepth}{\protect\SavedTocDepth}%
    }%
}
% -----------------------------------------------


\renewcommand{\cftfigpresnum}{\hspace{-1,3em}\bfseries FIGURA } 
\renewcommand{\cftfigaftersnum}{\textbf{ -  }}     
\addtolength{\cftfignumwidth}{1,8em}  
\setlength{\cftbeforesecskip}{-1mm}
\setlength{\cftbeforesubsecskip}{-1mm}
\setlength{\cftbeforesubsubsecskip}{-1mm}
\renewcommand{\cfttabpresnum}{\hspace{-1,3em}\bfseries TABELA }
\renewcommand{\cfttabaftersnum}{\textbf{ -- } }     
\addtolength{\cfttabnumwidth}{2em}
\setmainfont{Arial}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%% ~~~~~~ NEW FLOAT ~~~~~~ %%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\DeclareFloatingEnvironment[
listname=\hspace*{\fill}\bfseries\normalsize LISTA DE ILUSTRAÇÕES\hspace*{\fill},
name=Ilustração,
]{ilustracao}
\captionsetup[ilustracao]{labelfont=bf}
\PrepareListOf{ilustracao}{%
    \renewcommand{\cftfigpresnum} 
    {\hspace{-1,3em}\bfseries{ILUSTRAÇÃO }}%
    \addtolength{\cftfignumwidth}{3em}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%% ~~~~~~ NEW FLOAT ~~~~~~ %%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\DeclareFloatingEnvironment[
listname=\hspace*{\fill}\bfseries\normalsize LISTA DE ALGORITMOS\hspace*{\fill},
name=Algoritmo,
]{algoritmo}
\captionsetup[algoritmo]{labelfont=bf}
\PrepareListOf{algoritmo}{%
    \renewcommand{\cftfigpresnum}
    {\hspace{-1,3em}\bfseries{ALGORITMO} }%
    \addtolength{\cftfignumwidth}{2,1em}%
}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%% ~~~~~~ NEW FLOAT ~~~~~~ %%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\DeclareFloatingEnvironment[
listname=\hspace*{\fill}\bfseries\normalsize LISTA DE EQUAÇÕES\hspace*{\fill},
name=Equação,
]{equacao}
\captionsetup[equacao]{labelfont=bf}
\PrepareListOf{equacao}{%
    \renewcommand{\cftfigpresnum}{\hspace{-1,3em}\bfseries{EQUAÇÃO }}%
    \addtolength{\cftfignumwidth}{1,2em}%
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%% ~~~~~~ NEW FLOAT ~~~~~~ %%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\DeclareFloatingEnvironment[
listname=\hspace*{\fill}\bfseries\normalsize LISTA DE MAPAS\hspace*{\fill},
name=Mapa,
]{mapa}
\captionsetup[mapa]{labelfont=bf}
\PrepareListOf{mapa}{%
    \renewcommand{\cftfigpresnum}{\hspace{-1,3em}\bfseries{MAPA } }%
    \addtolength{\cftfignumwidth}{-0,7em}%
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%% ~~~~~~ NEW FLOAT ~~~~~~ %%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\DeclareFloatingEnvironment[
listname=\hspace*{\fill}\bfseries\normalsize LISTA DE QUADROS\hspace*{\fill},
name=Quadro,
]{quadro}
\captionsetup[quadro]{labelfont=bf}
\PrepareListOf{quadro}{%
    \renewcommand{\cftfigpresnum}{\hspace{-1,3em}\bfseries{QUADRO } }%
    \addtolength{\cftfignumwidth}{1em}%
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\titleformat*{\section}{\normalsize\bfseries}
\titleformat*{\subsection}{\normalsize}
\titleformat{\paragraph}
{\normalfont\normalsize\bfseries}{\theparagraph}{0,7em}{}
\titlespacing*{\paragraph}
{0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}

\titleformat{\subparagraph}
{\normalfont\normalsize\bfseries}{\thesubparagraph}{0,8em}{}
\titlespacing*{\subparagraph}
{0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}


\renewcommand{\cftsubsecfont}{\normalfont}
\renewcommand{\cftsubsubsecfont}{\normalsize\bfseries}
\renewcommand{\cftsubparafont}{\normalfont\itshape}


\pagestyle{fancy}
\fancyhf{}
\fancyhead[R]{\footnotesize\thepage}
\renewcommand{\headrulewidth}{0pt}

\setcounter{secnumdepth}{5} 
\setcounter{tocdepth}{5}
\setlength{\parindent}{1.3cm}
\setlength{\parskip}{0.2cm} 


\linespread{1,44}

\usepackage{hyperref}
\hypersetup{hidelinks}
% \hypersetup{
    %   colorlinks,
    %   linkcolor = ,
    %   anchorcolor =,
    %  citecolor = ,
    %   filecolor = ,
    %  urlcolor = ,
    %  pdfauthor=
    % }

% \usepackage[nottoc]{tocbibind}
\usepackage[nottoc]{tocbibind}

\usepackage[
alf,abnt-full-initials=no,   % Colocar nome completo;
abnt-etal-list=0,            % Listar todos os autores;
abnt-etal-cite=3,            % Mais de 3 nomes não são citados;
abnt-emphasize=bf,           % Ênfase nas revisas com negrito;
abnt-etal-text = it,         % "et al" em itálico. 
]{abntex2cite}

相关内容