
私が持っているのは次のものです:
そして私が欲しいもの:(数字とキャプションの間にハイフン)
以下の 2 つの質問から tocloft パッケージについて知りましたが、うまくいきませんでした。カスタマイズされたクラス (自分で作成したものではありません) を使用しているため、どのパラメーターが非互換性を引き起こしているかを正確に判断するのは困難です。
できれば tocloft パッケージを使用せずに、この問題を解決する方法をご存知ですか?
必要な詳細をお知らせください。
答え1
コードが示されていません。どのクラスを使用していますか? どのパッケージを使用していますか? 示したものは通常の LaTeX 出力ではありません。何を試しましたかtocloft
?
以下は、あなたが求めている LoF を提供するarticle
クラスとパッケージに基づいた MWE です。tocloft
% tocloftprob.tex SE 562533
\documentclass{article}
\usepackage{tocloft}
% change LoF title and position
\renewcommand{\listfigurename}{LIST DE ILUSTRACOES}
\renewcommand{\cftloftitlefont}{\hfill\Large\bfseries}
\renewcommand{\cftafterloftitle}{\hfill}
% change appearance of figure number
\renewcommand{\cftfigpresnum}{Figura } % put this before the number
\renewcommand{\cftfigaftersnum}{ ---} % put this after number
\setlength{\cftfignumwidth}{5.2em} % need more space for changed number represenation
\begin{document}
\listoffigures
\clearpage
\begin{figure}
\centering
AN ILLUSTRATION
\caption{A figure}
\end{figure}
\end{document}
おそらく、上記の一部は無関係です。なぜなら、あなたは(方法はわかりませんが)LoF のタイトルとその位置を変更したようですから。