Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

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

Change the defbibenvironment code to this (removing , and wrapping the\printfield{labelnumber}` with a bold command to bold the numbers ):

\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

share|improve this answer
    
Basically, you are my hero right now. –  Richard Nov 8 '13 at 4:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.