我想删除 LoF 左侧的数字,例如这例如。我试过了,\def\figureformat{}
但没有任何效果。但是,我的图形实际上是插入的整页图片,没有图形环境。
\documentclass[12pt, a4paper, twoside]{article}
\usepackage[margin=1in,bindingoffset=15.5mm,heightrounded]{geometry}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{caption}
\begin{document}
\tableofcontents\listoffigures
\newpage
\section{part 1}
I have some text here. Then pics.
\newpage
\vbox{
\centering
\includegraphics[angle=90, scale=0.65]{hamlet4.pdf}
\captionof{figure}[Variation in \emph{Hamlet}]{cool pic}
}
\vbox{
\clearpage
\includegraphics[angle=270, scale=0.65]{kinglear4.pdf}
\captionof{figure}[Variation in \emph{King Lear}]{cool pic 2}
}
\newpage
some more text here
\end{document}
答案1
由于您已经在使用该caption
包,只需添加选项listformat=empty
。(此外,您可能想要更改/删除 LoF 中的缩进。)
\documentclass{article}
\usepackage[demo]{graphicx}
\usepackage[listformat=empty]{caption}
\makeatletter
\renewcommand*\l@figure{\@dottedtocline{1}{0em}{0em}}% Default: 1.5em/2.3em
\let\l@table\l@figure
\makeatother
\begin{document}
\tableofcontents
\listoffigures
\newpage
\section{part 1}
I have some text here. Then pics.
\newpage
\vbox{
\centering
\includegraphics[angle=90, scale=0.65]{hamlet4.pdf}
\captionof{figure}[Variation in \emph{Hamlet}]{cool pic}
}
\newpage
Some more text here.
\end{document}