toc/lof/lot 여백을 사용자 정의하는 데 도움을 줄 수 있는 사람이 있습니까?

toc/lof/lot 여백을 사용자 정의하는 데 도움을 줄 수 있는 사람이 있습니까?

내 그림 여백 목록은 아래 이미지입니다.

여기에 이미지 설명을 입력하세요

그리고 저는 아래 이미지와 같은 것을 원합니다

여기에 이미지 설명을 입력하세요

내 라텍스 코드는 다음과 같습니다

\documentclass[a4paper, 12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[lmargin = 2.5cm, rmargin = 2.5cm, tmargin = 2.5cm, bmargin = 3cm]{geometry}
\usepackage[english,brazil]{babel}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{indentfirst}
\usepackage{subfiles}
\usepackage{blindtext}
\usepackage{color}
\usepackage{lipsum}
\usepackage{setspace}
\usepackage{chngcntr}
\usepackage{etoolbox}
\usepackage{titlesec}
\usepackage{float}
\usepackage{tikz}
\usepackage{fancyhdr}
\usepackage{nomencl}
\usepackage{titletoc}
\usepackage[toc,page]{appendix}
%\usepackage{fontspec}
%\setmainfont{Times New Roman}
%\usepackage{hyphenat} \hyp{}
%\usepackage{sectsty}
%0205218599
%\lineskip
%\setlength\afterchapskip{18pt} %capítulo começa nas páginas ímpares
\setlength{\parindent}{0.75cm}
\setstretch{1.5}
%\onehalfspacing %espaçamento entre linas
\newcommand{\signaturerule}{\rule{30em}{.4pt}}
%\renewcommand{\arraystretch}{0.5}
\renewcommand{\baselinestretch}{1.5}
\setlength{\parskip}{0pt}

\setlength{\nomitemsep}{-\parsep}

\makenomenclature

\usetikzlibrary{shapes,arrows}
\setcounter{secnumdepth}{4}
\setcounter{tocdepth}{4}
%\setlength{\parskip}{0.3cm} (espaço entre os parágrafos)
\titleformat{\paragraph}{\normalfont\normalsize\normalfont}{\theparagraph}{1em}{}\fontsize{12}{12}
%\titlespacing*{\paragraph}

%\patchcmd{\thebibliography}{\section*{\refname}}{}{}{}

\titleformat*{\section{\normalfont\fontfamily{phv}\fontsize{14{14}\bfseries}
\titleformat*{\subsection}{\normalfont\fontfamily{phv}\fontsize{12}{12}\normalfont}{}{}{}
\titleformat*{\subsubsection}{\normalfont\fontfamily{phv}\fontsize{12}{12}\normalfont}{}{}{}

%nas figura e tabelas, mudar o nome para "FIG." e "TAB.", respectivamente
%nas equações, além da numeração colocar o termo "EQ."
\counterwithin{figure}{section}
\counterwithin{table}{section}
\counterwithin{equation}{section}
\numberwithin{equation}{section}%{subsubsection}

\graphicspath{ {figures/} }
\graphicspath{{images/}{../images/}}
\newcommand{\ii}{\'{\i}}
\newcommand{\ca}{\c{c}\~ao}
\newcommand{\co}{\c{c}\~oes}
\newcommand{\sectionbreak}{\clearpage}

\addto\captionsbrazil{\renewcommand*\contentsname{\centering SUMÁRIO}}

\addto\captionsbrazil{\renewcommand*{\listfigurename}{\centering LISTA DE ILUSTRAÇÕES}}

\addto\captionsbrazil{\renewcommand*{\listtablename}{\centering LISTA DE TABELAS}}

\titlecontents{section}[2.5em]{\addvspace{1em}\bfseries}{\contentslabel{2.9em}}{\hspace*{-2.9em}}{\titlerule*[1pc]{.}\contentspage}
%\dottedcontents{section}[2.5em]{\bfseries}{2.9em}{1pc}
\dottedcontents{subsection}[2.5em]{}{3.3em}{1pc}
\dottedcontents{subsubsection}[2.5em]{}{3.3em}{1pc}


\titlecontents{figure}[0em]{\addvspace{1.5em}}{FIG.{\thecontentslabel} \hspace*{1.5em}}{}{\titlerule*[1pc]{$\cdot$}\contentspage}


\titlecontents{table}[0em]{\addvspace{1.5em}}{TAB.{\thecontentslabel} \hspace*{1.5em}}{}{ \titlerule*[1pc]{$\cdot$}\contentspage}


\renewenvironment{abstract}{\small\begin{center}\bfseries \abstractname\vspace{-.5em}\vspace{0pt}\end{center}\list{}{%\setlength{\leftmargin}{0mm}% <---------- CHANGE HERE\setlength{\rightmargin}{\leftmargin}%}%\item\relax}{\endlist}

\begin{document}

저를 도와줄 수 있는 사람이 있나요?

답변1

\titlecontents{table}[0em]{\addvspace{1.5em}}{TAB.{\thecontentslabel} \hspace*{1.5em}}{}{ \titlerule*[1pc]{$\cdot$}\contentspage}

코드에 위 줄이 있지만 아마도 \contentspush.

\titlecontents{table}[0em]{\addvspace{1.5em}}{\contentspush{TAB.~\thecontentslabel \hspace*{1.5em}}}{}{ \titlerule*[1pc]{$\cdot$}\contentspage}

답변2

원하는 것은 , 등의 클래스에 대한 article기본값 report입니다 book. 귀하가 사용한 패키지(가능성 없음) 또는 코드의 일부가 이를 변경했습니다. GOM(Grumpy Old Man)이기 때문에 나는 당신의 서문을 샅샅이 뒤지지 않을 것입니다. 하지만...

다음과 같이 MWE를 생성합니다.

\documentclass{article}
 % your preamble
\begin{document}
\listoffigures
\begin{figure}
\centering
ILLUSTRATION
\caption{A long caption that requires more than one line ...}
\end{figure}
\end{document}

그런 다음 LoF가 기본값으로 되돌아갈 때까지 프리앰블의 패키지와 코드를 계속 줄입니다. 문제는 마지막으로 삭제된 항목에 있습니다.

또는 선택적 인수를 사용하여 다음을 수행합니다 \caption.

\caption[Short version for LoF}{A long caption that requires more than one line ...}

관련 정보