Z***e 发帖数: 2983 | 1 在毕业论文的table of content里面
显示list of figures的时候只有figure的番号,但是没有
"Figure"在前面
研究生院说要和正文的一直,在List of figures要显示成
Figure. II.1 caption....
而我现在的模板只能生成
II.1 caption...
因为是自动生成的,也不知道怎么改。大概知道相关的东西在.cls file里面,
% LIST OF FIGURES
%
% Single-space list of figures, add it to the table of contents.
\def\listoffigures{\@restonecolfalse
\if@twocolumn\@restonecoltrue\onecolumn\fi
% \chapter*{\listfigurename\@mkboth{\uppercase{\listfigurename}}%
% {\uppercase{\listfigurename}}}
% WBB
\newpage
\centerline{\ |
T*******n 发帖数: 493 | 2 Can you post the definition of \caption from your thesis.cls file?
【在 Z***e 的大作中提到】 : 在毕业论文的table of content里面 : 显示list of figures的时候只有figure的番号,但是没有 : "Figure"在前面 : 研究生院说要和正文的一直,在List of figures要显示成 : Figure. II.1 caption.... : 而我现在的模板只能生成 : II.1 caption... : 因为是自动生成的,也不知道怎么改。大概知道相关的东西在.cls file里面, : % LIST OF FIGURES : %
|
Z***e 发帖数: 2983 | 3 .cls文件中没有\caption的definition
后来研究生院给一个solution。直接在.tex文章中改的,感觉挺笨的一个办法,出
来的样子也不好看,不过管他的了,能通过ruler lady就行了。
All of the changes listed below were made in the .tex document itself, n
ot in the .cls file.
1) Page numbers are .5 inches from top of page, bottom numbers .5 inches
from bottom:
\addtolength{\topmargin}{-.5in}
\addtolength{\textheight}{.5in}
2) To make the list of figures use the word "Figure: "
\usepackage{calc}
\makeatletter
\let\ORIG@listoffigures\listoffigures
\renewcommand*{\list
【在 T*******n 的大作中提到】 : Can you post the definition of \caption from your thesis.cls file?
|
T*******n 发帖数: 493 | 4 That's a really bad way of doing this.
Yor .cls file probably loads report.cls or book.cls, so that's why you
don't file a definition for \caption.
Look at my solution for \l@chapter posted last week. I think you will
want to redefine \l@figure and \l@table. Don't mess with \numberline.
So many other things depends on the default definition of \numberline in
order to work correctly (hyperref, \l@chapter, \l@section, etc.). You
change it the wrong way you could get incorrect output.
【在 Z***e 的大作中提到】 : .cls文件中没有\caption的definition : 后来研究生院给一个solution。直接在.tex文章中改的,感觉挺笨的一个办法,出 : 来的样子也不好看,不过管他的了,能通过ruler lady就行了。 : All of the changes listed below were made in the .tex document itself, n : ot in the .cls file. : 1) Page numbers are .5 inches from top of page, bottom numbers .5 inches : from bottom: : \addtolength{\topmargin}{-.5in} : \addtolength{\textheight}{.5in} : 2) To make the list of figures use the word "Figure: "
|
Z***e 发帖数: 2983 | 5 many thanks!
I will try your solution today!
【在 T*******n 的大作中提到】 : That's a really bad way of doing this. : Yor .cls file probably loads report.cls or book.cls, so that's why you : don't file a definition for \caption. : Look at my solution for \l@chapter posted last week. I think you will : want to redefine \l@figure and \l@table. Don't mess with \numberline. : So many other things depends on the default definition of \numberline in : order to work correctly (hyperref, \l@chapter, \l@section, etc.). You : change it the wrong way you could get incorrect output.
|