I've been working on a chapter for an Elsevier book elsarticle.cls class file and the elsarticle-num-names reference file.
This Harvard style shows the referenced papers in the following format, for example:
- D. A. Natale, C. N. Arighi, W. C. Barker, J. Blake, T.-C. Chang, Z. Hu, H. Liu, B. Smith, C. H. Wu, Framework for a protein ontology, BMC Bioinformatics 8 (9), 2007 S1.
I would like to switch the year field to the beginning of the reference, this way:
- D. A. Natale, C. N. Arighi, W. C. Barker, J. Blake, T.-C. Chang, Z. Hu, H. Liu, B. Smith, C. H. Wu, 2007. Framework for a protein ontology, BMC Bioinformatics 8 (9) S1.
(bolding added for emphasis)
How can I do it?
Thanks
EDIT: It's hard to create a minimal working example because I'm using 4 files to create the pdf.
Here's the bibliography declaration at the start of the main tex file, and at the end of it:
\bibliographystyle{elsarticle-num-names}
\biboptions{authoryear}
...
\bibliography{pro_chapter_bib_file}
And here's the entry in the bib file:
@article{natale2007framework,
title = "Framework for a protein ontology",
author = "Natale, Darren A. and Arighi, Cecilia N. and
Barker, Winona C. and Blake, Judith and
Chang, Ti-Cheng and Hu, Zhangzhi and Liu,
Hongfang and Smith, Barry and Wu, Cathy H.",
journal = "BMC Bioinformatics",
volume = "8",
number = "9",
pages = "S1",
year = "2007",
publisher = "BioMed Central",
}
elsarticle-num-names
bib style to theelsarticle-harv
style. Well, the year won't be encased in parentheses, but at least it'll be in the desired position, viz., immediately following the author block. Can you (and/or your publisher) live with this rather minor imperfection? (A second, even less noticeable, imperfection is that there will be a comma between thevolume (number)
group and thepages
group...) – Mico Jun 5 '17 at 15:45year
field of the references, e.g. (2007). Then I realized that this change was creating problems in the citations, that became like(Natale et al., (2007))
. So I removed them from the references and decided to ask here. Thanks – DavideChicco.it Jun 8 '17 at 21:28