4

My current BibLaTeX bibliography output looks like this:

[1] Bob et al. “How to Make Cheese”. In: Farming 101 (2010). [2] Cohen. “The Varities of Cheeese" In: International Journal of Cheese (2003). [3] Cox et al. “Cheese: A Comparative Guide”. In: Cheese Aficionados (2002).

(The single line bibliography was achieved using this answer.)

I would like the bibliography to look like this:

1. Bob et al. “How to Make Cheese”. In: Farming 101 (2010). 2. Cohen. “The Varities of Cheeese" In: International Journal of Cheese (2003). 3. Cox et al. “Cheese: A Comparative Guide”. In: Cheese Aficionados (2002).

But I am not sure how to bold the numbers. Any help would be appreciated.

1

1 Answer 1

4

Assuming you are using the exact content from the answer you linked to:

Change the defbibenvironment code to this:

\defbibenvironment{bibliography}
  {}
  {}
  {\addspace
   {%
     \printfield{prefixnumber}%
     \textbf{\printfield{labelnumber}}.}%
   \addhighpenspace}

I've removed \printtext[labelnumberwidth] to remove the brackets and wrapped the \printfield{labelnumber} with a bold command (and added in the period). With this .bib file:

@misc{A01,
  author = {Author, A.},
  year = {2001},
  title = {Alpha},
}

@misc{B02,
  author = {Buthor, B.},
  year = {2002},
  title = {Bravo},
}

@misc{C03,
  author = {Cuthor, C.},
  year = {2003},
  title = {Charlie},
}

This output is produced for the bibliography:

References

1
  • 2
    Basically, you are my hero right now.
    – Richard
    Commented Nov 8, 2013 at 4:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .