Nenhuma quebra de linha de URL na descrição

Nenhuma quebra de linha de URL na descrição

existem várias maneiras de fazer uma quebra de linha em URLs. Mas alguém sabe como quebrar a URL neste exemplo? Obrigado, Harald

\documentclass[
    10pt,
    twoside,
    toc=listofnumbered,
    listof=flat,
    headinclude,
    footinclude,
    index=numbered
]{scrbook}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc} % HJELE: für Silbentrennung von Wörtern mit Umlauten via \hyphenation
\usepackage[ngerman]{babel}
\usepackage[hyphens]{url}
\usepackage{breakurl}
\usepackage[colorlinks,urlcolor=black,linkcolor=black,filecolor=black,citecolor=black]{hyperref}
\hypersetup{breaklinks=true}
\begin{document}
\begin{description}
\begin{sloppypar}
\item[\normalfont{Thaney, Kaitlin (2009):}] Laying out the Principles of Open Science. Vortrag am {\glqq}Open Science workshop :: PSB 2009{\grqq}, 5.1.2009, Big Island of Hawaii.\\
Online unter:\\
\url{https://de.slideshare.net/kaythaney/laying-out-the-principles-of-open-science-presentation}
\item[\url{https://www.springer.com/de/autoren-herausgeber/deutsche-publikationen/buchautoren/buchautoren-manuskript-richtlinien}:] Richtlinien zum Publizieren für Autoren und Herausgeber des Springer Verlags.
\end{sloppypar}
\end{description}
\end{document}

Quebra de linha em URLs

Responder1

Não carregue o breakurlpacote, substitua \usepackage[hyphens]{url}por \usepackage{xurl}e não inclua strings de URL nos argumentos dos itens de uma descriptionlista.

Você também pode substituir urlcolor=black, linkcolor=black, filecolor=black, citecolor=blackpor allcolors=black.

insira a descrição da imagem aqui

\documentclass[
    10pt,
    twoside,
    toc=listofnumbered,
    listof=flat,
    headinclude,
    footinclude,
    index=numbered
]{scrbook}
%%\usepackage[utf8]{inputenc} % that's the default nowadays
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage{xurl}
%%\usepackage[hyphens]{url}
%%\usepackage{breakurl}
\usepackage[colorlinks,allcolors=black]{hyperref}
%\hypersetup{breaklinks=true}

\begin{document}
\begin{description}

\item[]Thaney, Kaitlin (2009): Laying out the Principles of Open Science. 
   Vortrag am {\glqq}Open Science workshop :: PSB 2009{\grqq}, 5.1.2009, 
   Big Island of Hawaii.

Online unter:
\url{https://de.slideshare.net/kaythaney/laying-out-the-principles-of-open-science-presentation}

\item[]\url{https://www.springer.com/de/autoren-herausgeber/deutsche-publikationen/buchautoren/buchautoren-manuskript-richtlinien}: Richtlinien zum Publizieren für Autoren und Herausgeber des Springer Verlags.

\end{description}
\end{document}

informação relacionada