Text FormattingHow to enable URL hyphenation for the dash

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
micketlaa

How to enable URL hyphenation for the dash

Post by micketlaa »

Hi again,

I'm using the url-package and in my bibliography long urls are only hyphened at slashes (/). This makes some urls start at the middle of the page. How can I enable hyphenation for the actual hyphen (-) as well?

Thanks

Recommended reading 2024:

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

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

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

How to enable URL hyphenation for the dash

Post by Johannes_B »

\usepackage[hyphens]{url}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply