6

I'm using biblatex for producing the bibliography in my document, and I wish to customize the entries. More specifically, I want to reduce the font size used for the URL as they tend to overflow.

Anyone have any idea how to achieve this?

gablin
  • 17,006

1 Answers1

10

URLs are formatted (in part) by the url package. Adding

\AtBeginBibliography{\def\UrlFont{\scriptsize\tt}}

to your preamble should reduce the font size relative to the rest of the bibliography. (The bibliography font size is determined by the biblatex command \bibfont, defined as \newcommand*{\bibfont}{\normalfont\normalsize}.)

Audrey
  • 28,881
  • But doesn't this affect all usage of \url? For instance, I'm using \url in some other places in the document. – gablin Feb 13 '12 at 08:36
  • 2
    @gablin It would. The \AtBeginBibliography hook can limit the change to within the bibliography - any use of \url before or after \printbibliography would be unaffected. – Audrey Feb 13 '12 at 14:20