Generalthe break of internet address

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
spiegboy
Posts: 120
Joined: Thu Dec 06, 2007 9:58 am

the break of internet address

Post by spiegboy »

the internet address in one item of the bibliography wont break like the picture i uploaded in the attachment

could you help?

thanks a lot
Attachments
1.jpg
1.jpg (6.13 KiB) Viewed 3144 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: the break of internet address

Post by Stefan Kottwitz »

Hi,

use the url package, you can configure additional breakpoints, see its documentation.
With hyperref the breakurl package may be helpful.

Stefan
LaTeX.org admin
spiegboy
Posts: 120
Joined: Thu Dec 06, 2007 9:58 am

Re: the break of internet address

Post by spiegboy »

breakurl works very well with hyperref, there is only one problem the default font for the url is typewriter, i want it be the same as other texts(i use mathptmx). how can i do that?

thanks a lot
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

the break of internet address

Post by Stefan Kottwitz »

Hi,

use:

Code: Select all

\urlstyle{same}
Stefan
LaTeX.org admin
spiegboy
Posts: 120
Joined: Thu Dec 06, 2007 9:58 am

Re: the break of internet address

Post by spiegboy »

It works, thanks a lot ,you are way too helpful
Post Reply