我正在使用 WinEdt 7。我想知道如何消除引用前面出现的空白页。这是我的代码 (.tex):
\renewcommand{\bibname}{
\clearpage\pagestyle{myheadings}%
\markboth{}{}%
\renewcommand{\bibname}{REFERENCIAS BIBLIOGRÁFICAS}%
\setboolean{SetDSpace}{false}%
\chapter*{\bibname}%
\addcontentsline{toc}{extrachapter}{\bibname}%
\setboolean{SetDSpace}{true}%
}
另一段代码位于 .cls 文件中,但显示效果不佳,我的意思是它既不显示标题也不显示目录链接。因此,我创建了上述代码并将其放在主 .tex 文件中。这是 .cls 代码:
\renewcommand{\bibname}{REFERENCIAS BIBLIOGR\'AFICAS}%
\renewenvironment{thebibliography}[1]%
{\renewcommand{\bibname}{REFERENCIAS BIBLIOGR\'AFICAS}%
\clearpage\pagestyle{myheadings}%
\markboth{}{}%
\setboolean{SetDSpace}{false}%
\chapter*{\bibname}%
\addcontentsline{toc}{extrachapter}{\bibname}%
\setboolean{SetDSpace}{true}%
\list{\@biblabel{\@arabic\c@enumiv}}%
{\settowidth\labelwidth{\@biblabel{#1}}%
\setlength{\parsep}{\BaseDiff\baselineskip}%
\setlength{\itemsep}{0ex}%
\setlength{\leftmargin}{\labelwidth}%
\addtolength{\leftmargin}{\labelsep}%
\@openbib@code
\usecounter{enumiv}%
\let\p@enumiv\@empty
\renewcommand\theenumiv{\@arabic\c@enumiv}}%
\sloppy
\clubpenalty10000
\@clubpenalty \clubpenalty
\widowpenalty10000%
\sfcode`\.=1000\relax}
{\def\@noitemerr
{\@latex@warning{Empty `thebibliography' environment}}%
\endlist\clearpage}