bibtex in text citation runs into the margin

1,674 views
Skip to first unread message

Patoche

unread,
Apr 14, 2007, 1:36:42 PM4/14/07
to LaTeX Users Group
Hi there,

I'm using the elsart class with elsart-harv style. Long references of
3 names run into the margin, without breaking onto the next line. Any
idea how this problem can be fixed?

many thanks.

I found a post from 2005 with the same question but no answer!

Werner Grundlingh

unread,
Apr 14, 2007, 3:03:04 PM4/14/07
to LaTeX Users Group
Send more information with your post to obtain a conclusive answer.
More information could include a minimal example of compilable code
the yields the errors you're talking about.

Werner Grundlingh

unread,
Apr 17, 2007, 12:12:54 PM4/17/07
to LaTeX Users Group
Add the option
breaklinks=true
for the hyperref package in your preamble (i.e.,
\usepackage[breaklinks=true]{hyperref}). This, as it intuitively
states, allow hyperref links to be broken across lines. The output
doesn't adequately depict the hyperref links, but it is a work-around
for you current problem. Also, by adding other options to the hyperref
package your PDF output (via PS) would look better. Personally, I
don't like hyperref links to stand
out of the document - interested users may click on the links if they
want to...other's couldn't be bothered by it. For example, adding
colorlinks=true,citecolor=black
makes the citation links be coloured, but black. For more information
on what options you may include for the hyperref package, view the
hyperref documentation, available online at
http://tug.ctan.org/tex-archive/macros/latex/contrib/hyperref/doc/manual.pdf

Patoche

unread,
Apr 19, 2007, 10:11:12 AM4/19/07
to LaTeX Users Group
Thanks a lot Werner,
I tried to post a detailed example of my problem, but I don't see it
posted so I must have got that wrong too. Sorry about that.
I was saying that my problem comes from an interaction between the
hyperref and the bibtex package, and indeed your suggestion is exactly
what I need.
Great stuff, thanks again, very much,
Pat.

Patoche

unread,
Apr 22, 2007, 10:21:11 AM4/22/07
to LaTeX Users Group
Adding the breaklinks=true option to hyperref will indeed break long
references across line. However, in my experience, only one half of
the link was dynamic while the other half was non-reactive.

Reply all
Reply to author
Forward
0 new messages