# Left-margin alignment of biblatex's bibliography list [duplicate]

Possible Duplicate:
Move biblatex label into margin

Is there a simple solution to force the numerals of biblatex's bibliography list (via \printbibliography) into the left column such that text of the entry will align with the rest of the text in the document?

I'd like to produce

   References
1. Last, F. M.; Last, F. M., Title; Publisher: City, Year, pages.
2. Last, F. M.; Last, F. M., Title; Publisher: City, Year, pages.


instead of the usual

References
1. Last, F. M.; Last, F. M., Title; Publisher: City, Year, pages.
1. Last, F. M.; Last, F. M., Title; Publisher: City, Year, pages.


It seems that using the solution from my earlier question "How can I align section titles and list environments in the left margin?" does not work, so I'm assuming that generating the bibliography list goes beyond declaring a simple enumerate list.

-

## marked as duplicate by domwass, Thorsten, Torbjørn T., Werner, lockstepMar 7 '12 at 21:36

This question has mostly been answered here. To omit square brackets around the label numbers you'd use \DeclareFieldFormat{labelnumberwidth}{#1\adddot} –  Audrey Mar 7 '12 at 14:27

The answer depends on which bibliography style you are using for biblatex; in this case it looks like you're thinking of numeric, so:

\documentclass[12pt]{article}

\usepackage[showframe]{geometry}
\usepackage[backend=biber, style=numeric]{biblatex}

\DeclareFieldFormat{labelnumberwidth}{#1\adddot}% forgot this; from Audrey's comment

% default bibliography environment (from biblatex.sty)
\defbibenvironment{bibliography}
{\list{}{%
\leftmargin\bibhang
\itemindent-\leftmargin
\itemsep\bibitemsep
\parsep\bibparsep}}
{\endlist}
{\item}

% 'numeric' bibliography environment (from numeric.bbx)
\defbibenvironment{bibliography}
{\list
{\printtext[labelnumberwidth]{%
\printfield{prefixnumber}%
\printfield{labelnumber}}}
{\setlength{\labelwidth}{\labelnumberwidth}%
\setlength{\leftmargin}{\labelwidth}%
\setlength{\labelsep}{\biblabelsep}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}}%
\renewcommand*{\makelabel}[1]{\hss##1}}
{\endlist}
{\item}

\begin{document}