I am trying to prepare my CV using moderncv, and my publication list currently splits pages. I would like the top of the next page to have \refname{} (continued) in the same typeface as the original \refname callout.

The closest I have gotten is with the \afterpage package, but this (a) requires that I know exactly what section is going to be at page breaks, which might change as I add/subtract things from my CV, and (b) does not work well with bibliography as it's a macro that creates a section and thus doesn't appear to like being interrupted. The MWE I provide below comes close to what I want, but problems (a) and (b) above are apparent.

What can I do?

Here's the MWE (and the references for the .bib file are below that):




\name{John T.}{Doe}
\title{Curriculum vitae}
\address{street and number}{postcode city}{country}

\section{Awards and Honors}

\section{Teaching Positions}
    \cvitem{year}{course name}
    \cvitem{year}{course name}
    \cvitem{year}{course name}
    \cvitem{year}{course name}
    \cvitem{year}{course name}
    \cvitem{year}{course name}

\renewcommand{\refname}{Publications I Wish I had Written}

\afterpage{\section{\refname{} (continued)}}




  title={Seven-year Wilkinson microwave anisotropy probe (WMAP) observations: cosmological interpretation},
  author={Komatsu, Eiichiro and Smith, KM and Dunkley, J and Bennett, CL and Gold, B and Hinshaw, G and Jarosik, N and Larson, D and Nolta, MR and Page, L and others},
  journal={The Astrophysical Journal Supplement Series},
  publisher={IOP Publishing}

  title={Hotspots of aberrant epigenomic reprogramming in human induced pluripotent stem cells},
  author={Lister, Ryan and Pelizzola, Mattia and Kida, Yasuyuki S and Hawkins, R David and Nery, Joseph R and Hon, Gary and Antosiewicz-Bourget, Jessica and O’Malley, Ronan and Castanon, Rosa and Klugman, Sarit and others},
  publisher={Nature Publishing Group}

  title={Somatic coding mutations in human induced pluripotent stem cells},
  author={Gore, Athurva and Li, Zhe and Fung, Ho-Lim and Young, Jessica E and Agarwal, Suneet and Antosiewicz-Bourget, Jessica and Canto, Isabel and Giorgetti, Alessandra and Israel, Mason A and Kiskinis, Evangelos and others},
  publisher={Nature Publishing Group}

  title={Structure of a nanobody-stabilized active state of the [bgr] 2 adrenoceptor},
  author={Rasmussen, S{\o}ren GF and Choi, Hee-Jung and Fung, Juan Jose and Pardon, Els and Casarosa, Paola and Chae, Pil Seok and DeVree, Brian T and Rosenbaum, Daniel M and Thian, Foon Sun and Kobilka, Tong Sun and others},
  publisher={Nature Publishing Group}

1 Answer 1


Still one bug left, but hopefully someone else can figure it out :)

Here is my idea: close the thebibliography environment at the start of every \bibitem to reopen it immediately. This way, LaTeX will print the bibliography head through \bibliographyhead between every bib item.

Then it should be a simple matter of modifying \bibliographyhead to only print something when a new conditional, \ifbibliographyhead, is set to true. We can then set it to true initially, set it to false every time the header is printed, and use \afterpage to set it again to true at the beginning of every page.

Here is the code:

\newif\ifbibliographyhead\bibliographyheadtrue% define a new conidtional and set it to "true" initially
  % print the header only if \ifbibliographyhead is set to "true"
    \global\bibliographyheadfalse% set the conditional to false after every header printout
    \gdef\refname{\refname@original{} (cont'd)}% update the header title to add " (cont'd)"
%  \ifbibliographyhead% if you uncomment this line and the following \fi, the "(cont'd)" heading jumps a bib item further (?!)
%  \fi
% at the start of every new page, reset the new conditional to "true"

Unfortunately, somehow the first \bibitem of the new page doesn't show the header, only the second one. I don't understand why --- yet...


  • I'm not very good with if statements in TeX yet, so I can't further improve your suggestion. Is there a way to "lag" the conditional by 1? That is, can it be set to TRUE if the next item is at the top, rather than the current item?
    – DocBuckets
    Jun 20, 2013 at 15:35
  • 1
    @DocBuckets This can be done through the aux file, you can write a line in this file for every entry in the bibliography. Well, you actually don't need to do it yourself, I believe that this is what \bibitem does anyways. Second possibility, it is possible to enforce a page break if there's not enough space on the current page (search for pagegoal on the site to see various examples of its usage).
    – yo'
    Jun 21, 2013 at 11:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .