【问题标题】:Which command is used by bibtex to create the bibliography header?bibtex 使用哪个命令来创建书目标题?
【发布时间】:2010-12-17 13:56:56
【问题描述】:

我正在使用 multibib 在附录中创建文章列表。

%Preamble...
%Create new macros for citation in "lit" group
\newcites{lit}{My list of articles}

%The appendix
\appendix
\chapter{My list of articles}
%Force use of citations
\nocitelit{ref01}
...
\nocitelit{refNN}
%Stop clear double page
\newcommand{\foo}{}
\let\cleardoublepage\foo
%Will print bib heading
\bibliographylit{myrefs}

我遇到的问题是我希望用 NULL 命令替换由\bibliographylit 命令(我猜它反过来使用 bibtex)生成的自动章节标题,以便我可以使用我自己的附录章节标题。我可以使用以下命令删除双页清除:

\newcommand{\foo}{}
\let\cleardoublepage\foo

我也希望这样做,但要使用整个章节的标题。重新定义 \chapter 给我留下了一个 * 来代替章节。

这里建议:Bibliography as section in LaTeX / BibTeX 这没有用: http://www.flakery.org/search/show/568\bibsection 未定义)

【问题讨论】:

    标签: latex bibtex


    【解决方案1】:

    好吧,我对\renewcommand 的理解有些欠缺。添加两个参数为:

    \renewcommand{\chapter}[2]{}
    

    一切正常!

    编辑:我还了解到您可以“范围”重新定义,因此在此参考书目之后保持 \chapter 命令不变:

    \chapter{Appendix with references}
    { %Disable chapter command
    \renewcommand{\chapter}[2]{}
    \bibliography{myrefs}
    }
    

    很可爱!

    【讨论】:

      猜你喜欢
      • 2019-03-18
      • 2016-11-06
      • 2017-01-19
      • 2020-06-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-08-13
      • 1970-01-01
      相关资源
      最近更新 更多