Open windforestfiremountain opened 1 year ago
研究了一下,好像是主文件的\bibliographystyle
格式起决定因素,可能要动hhuthesis-numeric.bst
文件
如果不动hhuthesis-numeric.bst
文件,直接改hhuthesis.cls
文件的方法如下:
\renewenvironment{thebibliography}[1]
{**\small** %此处为修改字体大小的地方,原来的fontnotesize太小了
\chapter*{\bibname}
\@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}%
\addcontentsline{toc}{chapter}{参考文献}
\list{\@biblabel{\@arabic\c@enumiv}}%
{\settowidth\labelwidth{\@biblabel{#1}}%
\leftmargin\labelwidth
\advance\leftmargin\labelsep
\setlength{\parsep}{-0.5mm}
\setlength{\labelsep}{0.5em}
\setlength{\itemsep}{0.05pc}
\setlength{\listparindent}{0in}
\setlength{\itemindent}{0in}
\setlength{\rightmargin}{0in}
\@openbib@code
\usecounter{enumiv}%
\let\p@enumiv\@empty
\renewcommand\theenumiv{\@arabic\c@enumiv}}%
\sloppy
\clubpenalty4000
\@clubpenalty \clubpenalty
\widowpenalty4000%
\sfcode`\.\@m
}
{\def\@noitemerr
{\@latex@warning{Empty `thebibliography' environment}}%
\endlist}
关于字号大小可以参考:LaTeX:字体字号榜值对比
嗯嗯,是这样修改的,其实我去年写毕业论文的时候已经修改过参考文献的字体了,只是我忘记在这个模板加上了.....
我的修改是:
%% 参考文献
\renewenvironment{thebibliography}[1]
{
\songti \zihao{-4}
%% 后面代码相同
}
大概看了一眼今年新的本科毕业论文模板,改动的地方确实有点多,可能这个模板已经不太适用了...
不好意思,学长又打扰了,我看了曹文瀚老师的说明文档,本部分的latex文档最终参考文献字号为10号,和今年的要求“中文用宋体小四,首行缩进2字符,数字及字母用TimeNewRoman小四,1.5倍行距)”有出入。定位到
hhuthesis.cls
文件第898行的参考文献部分,我尝试添加代码\renewcommand{\bibname}{\fontsize{12}{14}\selectfont}
,\renewcommand{\bibfont}{\fontsize{12}{14}\selectfont}
、没有效果,因此想寻求帮助,谢谢学长!