I will ask a new question:

I created a working example:




lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem\cite{loremlorem}, lorem lorem lorem.



This gives enter image description here

Even without hyperref, it does not work. The bib file contains:

  title={lorem lorem lorem lorem},
  author={lorem lorem, lorem lorem},
  publisher={lorem lorem lorem lorem}

I would expect, what is written in the documentary under Line breaks:


It clearly does a line break in the citation.

Solution: Apalike not supported, but still no warning or error as output.

  • Welcome to TeX.SE! The issue of cite breaks and the issue of cleaning up your list of packages are two separate things, and a solution for one issue will probably be unrelated to a solution for the other issue. Which one do you want to ask about? If it is the list of packages, then the general strategy is to remove everything you don't actually use in your document. If it's the citing, then you can check the manual for the cite package or try to find some related questions like tex.stackexchange.com/questions/261832/…. – Marijn Jun 4 '19 at 15:26
  • What is it that is not working here? (Your choice of filler does not make it particularly clear, but I think everything is working fine.) Please clarify what behavior you expected/intended and how the observed behavior differs from that. – schtandard Jun 4 '19 at 16:22
  • All your silence makes me wonder, if I should use package cite any further. – Romaxx Jun 4 '19 at 16:51
  • The cite package is supposed to be used with bibliography styles that generate numeric-style citation call-outs. In contrast, the apalike bibliography style can output only authoryear-style citation call-outs. – Mico Jun 4 '19 at 17:05
  • So, does that mean, that whenever I thought i was using cite as package, it was not used? What package is used then? I mean, there are not much left... – Romaxx Jun 4 '19 at 17:09

I believe you have completely misunderstood the meaning and purpose of the nobreak option of the cite citation management package.

The cite package is meant to be used with bibliography styles that generate numeric-style citation call-outs, e.g., [3] and [22]. If the nobreak option is set, there won't be a line break either before or after the citation call-out.

However, you would appear to be using the apalike bibliography style, which can generate only authoryear-style citation call-outs. All bets are off as to what will happen if you use it in conjunction with the cite package. For sure, there's no reason to believe that the nobreak option will perform as (mis-guidedly) expected. The title of the package's user guide reads "The cite package: well formed numeric citations". And on page 3 of the same user guide, one finds "If your citations are not numeric, and not of any near-numeric sortable form, then you should probably not use cite.sty".

The remedy? Either switch to a bibliography style that can create numeric-style citation call-outs, or stop using the cite package and, in its place, start using a citation management package such as natbib.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.