The problem is simple, I have a link for a cite
at the end of a page, the name of the author is on the first one and the year on the second, but the link with hyperref is continuous between the two pages (so the number of the page and the fancyfoot and head is on the link).
MWE:
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[authoryear,round]{natbib}
\bibliographystyle{plainnat}
\usepackage[frenchb]{babel}
\usepackage[breaklinks=true]{hyperref}
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{lipsum}
\begin{document}
\lipsum[1-3]
\vspace*{25ex}
I just want to be able to cite a great article talking about the image processing algorithm of the watershed. For this I will cite the article of \cite{watershed}.
\lipsum[1-5]
\bibliography{totobib}
\end{document}
.bib
file:
@article{watershed,
title={The morphological approach to segmentation: the watershed transformation},
author={Beucher, S. and Meyer, F.},
journal={OPTICAL ENGINEERING-NEW YORK-MARCEL DEKKER INCORPORATED-},
volume={34},
pages={433--433},
year={1992},
publisher={Marcel Dekker AG}
}
The cite at the end of the line gives:
How to break the link or forces the cite
to be on a single line?
Best Answer
The answers to this question suggested to me a workaround: you can put the citation that generates the anomaly in a
\mbox{...}
.This is the output
.pdf
: