TransWikia.com

Bring biblatex reference URL on standalone line

TeX - LaTeX Asked by Mathieu Bigneault on February 24, 2021

I am trying to bring my biblatex reference URL one line down for it to be alone on his lines.
This is the code and the output:

Main code:

documentclass[french, 11pt, biblatex]{article}
usepacakge[]{biblatex-chicago}
usepackage{xurl}
addbibresource{bib.bib}

Example of textfullcite{Pericles}

newpage
printbibliography

bib.bib code:

@ARTICLE{Pericles,
  title     = "Périclès",
  author  = "Contributeurs de, Wikipédia",
  journal   = "Wikipédia",
  year      = "7 juillet 2012"                 ,
  url       = "https://fr.wikipedia.org/wiki/P%C3%A9ricl%C3%A8s#PluVie",
}

The output:

Output

The goal is to start the URL at the next line, where it is alone.

One Answer

I found a way.
In the usepackage{biblatex-chicago} we need to add the parameter block=ragged, just like that:

usepackage[block=ragged]{biblatex-chicago}

and it output that:

enter image description here

What that parameter does is bringing one line down every things that breaks at ends of lines.

Example:
If the title is very long: enter image description here

Answered by Mathieu Bigneault on February 24, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP