I am using the named bibliography style with the following citation formulation provided by karlkoeller:
\makeatletter
\let\@internalcite\cite
\def\cite{\def\citeauthoryear##1##2{##1, ##2}\@internalcite}
\def\shortcite{\def\citeauthoryear##1##2{##2}\@internalcite}
\def\@biblabel#1{\def\citeauthoryear##1##2{##1, ##2}[#1]\hfill}
\makeatother
While this formulation produces the desired style, it is printing a large number of citation beyond the text width, into the margin space:
Is there a way to force these citations remaining within the text body?


\sloppydoes it,\linebreak[3]has no effect; please insert this as an answer. P.S.: You can use the MWE provided by karlkoeller to test. – Luís de Sousa Aug 29 '15 at 14:28