Ich schreibe meine Abschlussarbeit in LaTex und die Formatierung der Abschlussarbeit erfordert, dass das Wort „Abbildung“ in jeder Zeile fett gedruckt ist und eine linksbündige Überschrift bedeutet, dass die Überschrift in der nächsten Zeile ausgerichtet sein sollte.
dh
Figure 2.1: Test Problem 1 Test Problem 1 Test Problem 1
Test Problem 1 ........................... 34
Figure 2.2: Test Problem 2 Test Problem 1 Test Problem 2
Test Problem 2 ........................... 36
Zur Zeit habe ich
2.1 Test Problem 1 Test Problem 1 Test Problem 1
Test Problem 1 ...................................... 34
2.2 Test Problem 2 Test Problem 1 Test Problem 2
Test Problem 1 ...................................... 34
MWE:
\documentclass[12pt,a4paper,openany]{report}
\usepackage{latexsym}
\usepackage{graphicx}
\usepackage{amsmath,amsthm}
\usepackage{amssymb}
\usepackage{epsfig}
\usepackage[T1]{fontenc}
\usepackage{palatino}
\usepackage{caption}
\textwidth 5.8in \textheight 8.5 in \topmargin 0.0in \oddsidemargin
0.0in \evensidemargin 0.0in \setlength{\parindent}{12pt}
\pagestyle{plain}
\renewcommand{\theequation}{\arabic{chapter}.\arabic{equation}}
\newtheorem{thm}{Theorem}[section]
\newtheorem{cor}[thm]{Corollary}
\newtheorem{lem}[thm]{Lemma}
\newtheorem{prop}[thm]{Proposition}
\newtheorem{ax}{Axiom}
\theoremstyle{definition}
\newtheorem{defn}{Definition}[section]
\theoremstyle{remark}
\newtheorem{rem}{Remark}[section]
\newtheorem*{notation}{Notation}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\addcontentsline{toc}{section}{Contents}{}
\tableofcontents
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\listoftables
{%
\let\oldnumberline\numberline%
\renewcommand{\numberline}{\tablename~\oldnumberline}%
\listoftables%
}
\addcontentsline{toc}{section}{List of Tables}{}
%\renewcommand{\cftfignumwidth}{6em}
%\renewcommand{\cftfigpresnum}{Figure }
%\listoffigures
{%
\let\oldnumberline\numberline%
\renewcommand{\numberline}{\figurename~\oldnumberline}%
\listoffigures%
}
%\renewcommand{\cftfigpresnum}{Figure }
\addcontentsline{toc}{section}{List of Figures}{}
%\listoffigures
\newpage
\setcounter{page}{1}
\renewcommand{\thepage}{\arabic{page}}
\include{Chap_1}
\include{Chap_2}
\include{Chap_3}
\include{Chap_4}
\include{Chap_5}
\include{Chap_6}
% \include{Conclusions}
\appendix
\chapter*{Appendix}
\markboth{Appendix}{Appendix}
\addcontentsline{toc}{chapter}{Appendix}
\begin{equation*}
A_0=\frac{-1}{e^{m_2}-e^{m_1}} \quad , \quad B_0=\frac{1}{e^{m_2}-e^{m_1}}
\end{equation*}
\include{reference}
\end{document}
Antwort1
Verwenden Sie das tocloft
Paket wie im MWE unten gezeigt (beachten Sie, dass der Großteil des Codes in Ihrem MWE nichts mit Ihrem angegebenen Problem zu tun hat).
% lofprob.tex SE 526765 Figure before number in LoF
\documentclass{report}
\usepackage{tocloft}
\renewcommand{\cftfigpresnum}{Figure } % put Figure before the number
\renewcommand{\cftfigaftersnum}{:} % add colon after the number
\addtolength{\cftfignumwidth}{1cm} % extra space for extended numbers
\begin{document}
\listoffigures
\begin{figure}
\centering
THIS IS A FIGURE
\caption{A long figure caption so we can see how it looks in the LoF.
Is this really long enough?}
\end{figure}
\end{document}