Latex: Citations in section headings put into table of contents first

12,899

Solution 1

I agree with jlouis' recommendation of avoiding citations in section headings. But if you insist, one solution may be to use the following form of the \section command:

\section[Section title sans citation]{Section title with citation\cite{key}}

The table of contents will contain an entry consisting of the first (optional) argument ("Section title sans citation") and the section heading itself will be the second (required) argument ("Section title with citation[34]").

The first (optional) argument will also be used as the text in the running heads by default.

Solution 2

You may perhaps not like this answer, but I think citations in headings is a bad style. I would rather recommend that you use another heading and then throw your citation references in the paragraphs following it. I've read quite some papers and none of those I recall used references in headings.

In the same vein, may I recommend using bibTex and bibtool for managing your bibliography database. Bibtool can normalize the citation keys so you can just drop other peoples bibtex references, run bibtool, and then you have standardized keys.

Solution 3

The problem is that the reference has not been registered. Use \nocite{abc} everywhere, for instance just after subsection{... \cite{abc}...}.

Share:
12,899
Admin
Author by

Admin

Updated on June 19, 2022

Comments

  • Admin
    Admin about 2 years

    I have some citations for sections of my document that I have put in the section heading:

    \section{The title \cite{abc}, \cite{def}} Text

    I am also using the table of contents function, but Latex must look at the citations in the headings (for the table of contents) first and assign them the first citation rankings, regardless of their place in the overall document.

    So, any citations inside of \section or \subsection will be assigned [1], [2], and so on, and the citations within the text in the section follow after.

    Has anyone encountered this problem before? Is there any way of getting around this other than simply putting the \cite command somewhere inside the paragraph? I'd like to avoid this if possible.

    Cheers in advance!

  • Lio
    Lio almost 3 years
    This will render like Conclusion <newline> [citation]