Sin salto de línea de URL en la descripción

Sin salto de línea de URL en la descripción

Hay varias formas de realizar un salto de línea en las URL. ¿Pero alguien sabe cómo dividir la URL en este ejemplo? Gracias, 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}

Salto de línea en URL

Respuesta1

No cargue el breakurlpaquete, reemplácelo \usepackage[hyphens]{url}con \usepackage{xurl}y no incluya cadenas de URL en los argumentos de los elementos de una descriptionlista.

También puedes reemplazarlo urlcolor=black, linkcolor=black, filecolor=black, citecolor=blackcon allcolors=black.

ingrese la descripción de la imagen aquí

\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}

información relacionada