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.

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

share|improve this question
3  
Looks like you're requesting code to define a style, which is a lot to ask in a single question. You've also only provided one example entry, and this probably isn't enough information to specify the style. Next time around you might want to consider breaking up your problem into questions and providing as much detail as possible up front. –  Audrey Aug 29 '11 at 23:12
    
@Audrey: yes I start to realize I am requesting too much. Definitely next time I will do good homework before posting 'good' and clear questions. Thanks so much! –  tlw Aug 30 '11 at 7:39
    
@Marco: It is great idea. Actually you have already finished most part of it. –  tlw Aug 30 '11 at 10:25
    
@Marco: It is great idea. Actually you are already almost there. It would be a huge help to the medicine/biology people who use less LaTex. nejm.org/page/author-center/manuscript-submission Here is their link. Their bibliography requirement is in the middle part of the page. another piece: % to remove quotation marks from {title}{\mkbibquote{#1\isdot}} \DeclareFieldFormat [article,inbook,incollection,inproceedings,patent,thesis,unpublished] {title}{#1\isdot} Their citations require '\supercite' –  tlw Aug 30 '11 at 10:33
1  
@tlw: see my edited post. –  Marco Daniel Aug 31 '11 at 17:13
show 1 more comment

1 Answer

up vote 10 down vote accepted

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

share|improve this answer
1  
I think you mean maxnames=6 as per the OP. –  rcollyer Aug 29 '11 at 17:15
    
@rcollyer: Thanks. I read 3 :D –  Marco Daniel Aug 29 '11 at 17:18
2  
with minnames=3, so that if there are 7 or more authors the list is truncated to 3. –  rcollyer Aug 29 '11 at 17:25
    
@Marco: Thanks. –  tlw Aug 29 '11 at 20:35
1  
@Marco The name format still needs some tweaking. The OP is replacing first names with initials by hand in the bib file, but this is unnecessary. The format in a previous answer by lockstep is probably what you want. –  Audrey Aug 29 '11 at 22:21
show 2 more comments

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.