[Tex/LaTex] Biblatex style file for New England Journal of Medicine (NEJM)

biblatex

This question led to a new package:
biblatex-nejm

The journal New England Journal of Medicine (NEJM) has the following requirement for references. I can't find a standard style file. What is the closest match? How can I customize based on that?

In the citation, it looks like 1–3, 7, 8 (no square parentheses) at the end of a sentence .

For bibliography, list all authors when there are six or fewer; when there are seven or more, list the first three, followed by et al. The following is a sample for article type:

Shapiro AMJ, Lakey JRT, Ryan EA, et al. Islet transplantation in
seven patients with type 1 diabetes mellitus using a
glucocorticoid-free immunosuppressive regimen. N Engl J Med
2000;343:230-8.

EDIT 1:

Question 1

The bib entry for this article:

@ARTICLE{Shapiro2000, 
   author = { Shapiro, A M J and Lakey, J R T and Ryan, E A and Lisa Schreiber and Jon Smith and Allan Jones and Cathy Smith},
   title = { Islet transplantation in seven patients with type 1 diabetes mellitus using a glucocorticoid-free immunosuppressive regimen},
  journal = { N Engl J Med },
  year = {2000},
  volume = {343},
  pages = {230-8}  }

I have fixed the author initial thing. Now it is the

N Engl J Med 2000;343:230-8.

part I need help. I really appreciate your time and help.

Question 2

In the bibliography, how can I get "1." in stead of "1"?

EDIT 2:

Question 3

The journal name should not be italic. Can we make it right?

Question 4

Suppose there is an entry field number = {2} in the bib item, how can we prevent it from showing up in bibliography?

Solution 5

tips from @lockstep:

please google: biblatex: remove commas between last and first names in bibliography

terseinits=true seems not working with backend=biber

When I removed backend=biber, the terseinits=true started to work.

many thanks to @Marco

Best Answer

EDIT (31.08.2011 17:00 CET) I build a small package which allow you to use:

\usepackage[style=nejm,backend=biber]{biblatex}

The package consists of the modification of this threat and the examples of NEJM.

The package is now on CTAN.

EDIT (30.08.11 09:00 CET) Now all 5 questions are implemented in the code.

terseinits=true works with biber. You need also the option firstinits=true

Now I use the bib-entry of tlw to modify the style numeric

\documentclass[english]{scrartcl}

\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@ARTICLE{Shapiro2000, 
   author = { Shapiro, A M J and Lakey, J R T and Ryan, E A and Lisa Schreiber and Jon Smith and Allan Jones and Cathy Smith},
   title = { Islet transplantation in seven patients with type 1 diabetes mellitus using a glucocorticoid-free immunosuppressive regimen},
  journal = { N Engl J Med },
  year = {2000},
  number={2},
  volume = {343},
  pages = {230-8}}

\end{filecontents}
\usepackage{babel} 
\usepackage[T1]{fontenc}    
\usepackage{csquotes}
\usepackage[style=numeric,%
            minnames=3, maxnames=6,%
            terseinits=true,%
            firstinits=true,
            backend=biber]{biblatex}
\renewrobustcmd*{\bibinitperiod}{\addspace}

\renewbibmacro*{name:last-first}[4]{%
  \ifuseprefix
    {\usebibmacro{name:delim}{#3#1}%
     \usebibmacro{name:hook}{#3#1}%
     \ifblank{#3}{}{%
       \ifcapital
         {\mkbibnameprefix{\MakeCapital{#3}}\isdot}
     {\mkbibnameprefix{#3}\isdot}%
       \ifpunctmark{'}{}{\bibnamedelimc}}%
     \mkbibnamelast{#1}\isdot
     \ifblank{#4}{}{\bibnamedelimd\mkbibnameaffix{#4}\isdot}%
     \ifblank{#2}{}{\bibnamedelimd\mkbibnamefirst{#2}\isdot}}%remove \addcomma
    {\usebibmacro{name:delim}{#1}%
     \usebibmacro{name:hook}{#1}%
     \mkbibnamelast{#1}\isdot
     \ifblank{#4}{}{\bibnamedelimd\mkbibnameaffix{#4}\isdot}%
%     \ifblank{#2#3}{}{\addcomma}%%commented
     \ifblank{#2}{}{\bibnamedelimd\mkbibnamefirst{#2}\isdot}%
     \ifblank{#3}{}{\bibnamedelimd\mkbibnameprefix{#3}\isdot}}}

%Name-scheme in thebibliography
\DeclareNameAlias{default}{last-first}
%cite without brackets
\DeclareCiteCommand{\cite}%[\mkbibbrackets]
  {\usebibmacro{prenote}}
  {\usebibmacro{citeindex}%
   \usebibmacro{cite}}
  {\multicitedelim}
  {\usebibmacro{postnote}}
%no bracktes in thebibliography
\DeclareFieldFormat{labelnumberwidth}{#1}
%no pp
\DeclareFieldFormat{pages}{#1}
%no In by journal name:
\newbibmacro*{in:}{}
%Order year;volume:page
\renewbibmacro*{issue+date}{%
  \printtext{%
%  \printtext[parens]{%
    \iffieldundef{issue}
      {\usebibmacro{date}}
      {\printfield{issue}%
       \setunit*{\addspace}%
       \usebibmacro{date}}}%
  \newunit}
\renewbibmacro*{journal+issuetitle}{%
  \usebibmacro{journal}%
  \setunit*{\addspace}%
  \usebibmacro{issue+date}%
  \setunit*{\addsemicolon}
  \iffieldundef{series}
    {}
    {\newunit
     \printfield{series}%
     \setunit{\addspace}}%
  \usebibmacro{volume+number+eid}%
  \setunit{\addspace}%
%  \usebibmacro{issue+date}%
  \setunit{\addcomma\space}%
  \usebibmacro{issue}%
  \newunit}
\renewcommand*{\bibpagespunct}{\addcolon}
%Journalname roman
\DeclareFieldFormat*{journaltitle}{#1}
%no number
\newbibmacro*{volume+number+eid}{%
  \printfield{volume}%
%  \setunit*{\adddot}%
%  \printfield{number}%
  \setunit{\addcomma\space}%
  \printfield{eid}}

\addbibresource{\jobname}
\begin{document}
\cite{Shapiro2000}
\printbibliography
\end{document}

enter image description here