0

I am new to LaTeX and I have received instructions from the journal to change my LaTeX references to conform to

enter image description here (journal is Cell iScience). whatever I do I cannot fix this issue, please help me.

A4747
  • 3
  • 2
  • Welcome to TeX.SE. Please us what you've tried so far. Please also provide a link to the webpage that lstates the fprmatting requirements for the bibliography. – Mico May 05 '23 at 17:56
  • Please add a minimal example https://tex.meta.stackexchange.com/questions/4407/how-to-write-a-mweb-minimal-working-example-with-bibliography – CarLaTeX May 05 '23 at 18:16

1 Answers1

0

With biblatex you can build your bibliographic style as you wish.

In the following example I set article and book bibliography drivers as required by the journal you indicated.

The rest of bibentry types (if needed) are left to you.

\begin{filecontents}[overwrite]{bib.bib}
@article{sondheimer2000rnq1,
  title={Rnq1: an epigenetic modifier of protein function in yeast},
  author={Sondheimer, Neal and Lindquist, Susan},
  journal={Molecular cell},
  shortjournal={Mol. cell},
  volume={5},
  number={1},
  pages={163--172},
  year={2000},
  publisher={Elsevier},
  doi={https://doi.org/10.1016/s1097-2765(00)80412-8}
}
@article{duck2023,
  title={Another article},
  author={Paulinho van Duck},
  journal={Quack University Journal},
  volume={1},
  number={2},
  pages={3--4},
  year={2023},
  url={https://www.site/of/the/article.com}
}
@book{cowan1997molecular,
  title={Molecular and cellular approaches to neural development},
  author={Cowan, William Maxwell and Jessell, Thomas M and Zipursky, Stephen Lawrence},
  year={1997},
  publisher={Oxford University Press}
}
\end{filecontents}

\documentclass[a4paper]{article}

\usepackage[english]{babel} \usepackage{csquotes}

\usepackage[ style=ext-numeric, maxbibnames=99, sorting=none,
giveninits=true, uniquename=init, autocite=superscript, ]{biblatex}

\usepackage{xurl} \usepackage{hyperref} \usepackage{xcolor} \hypersetup{ colorlinks, linkcolor={cyan}, citecolor={cyan}, urlcolor={cyan} }

% Bibliography settings % label number with no square brackets and dot \DeclareFieldFormat{labelnumberwidth}{#1\adddot}

% Inversion of given and family names \DeclareNameAlias{default}{family-given}

% no space between initials \renewcommand*{\bibinitdelim}{}

% titles without quotes \DeclareFieldFormat{title}{#1} \DeclareFieldFormat[article]{title}{#1}

% year in parenthesis \DeclareFieldFormat{date}{\mkbibparens{#1}}

% journal in normal font \DeclareFieldFormat{journaltitle}{#1}

% space between journal title \renewcommand*{\jourvoldelim}{\addspace}

% leave out "In:" before journal name \renewbibmacro{in:}{\ifentrytype{article}{}{\printtext{\bibstring{in}\intitlepunct\nopunct}}}

% print only volume (no number) \renewbibmacro*{volume+number+eid}{% \printfield{volume}% \setunit{\addcomma\addspace}% }

% leave out "pp." from pages \DeclareFieldFormat{pages}{#1}

% links without the word "URL" and "DOI" and normal font \urlstyle{same} \DeclareFieldFormat{url}{\url{#1}} \DeclareFieldFormat{doi}{\url{#1}}

% publisher in parentheses \newbibmacro*{publisher}{% \printtext[parens]{% \printlist{publisher}% \setunit{\addcomma\addspace}% } }

% Short journal name instead of complete journal name % code from https://tex.stackexchange.com/a/272503/101651 \DeclareSourcemap{ \maps[datatype=bibtex]{ \map[overwrite=true]{ \step[fieldsource=shortjournal] \step[fieldset=journal, origfieldval] } } }

\DeclareBibliographyDriver{article}{% \usebibmacro{bibindex}% \usebibmacro{begentry}% \usebibmacro{author}% \setunit{\labelnamepunct}\newblock \usebibmacro{date}% \newunit\newblock% \usebibmacro{maintitle+title}% \newunit\newblock% \usebibmacro{journal}% \newunit\newblock% \usebibmacro{volume+number+eid}% \setunit{\addcolon\addspace}\newblock \usebibmacro{chapter+pages}% \newunit\newblock% \usebibmacro{doi+eprint+url}% \usebibmacro{finentry}% }

\DeclareBibliographyDriver{book}{% \usebibmacro{bibindex}% \usebibmacro{begentry}% \usebibmacro{author}% \setunit{\labelnamepunct}\newblock \usebibmacro{date}% \newunit\newblock% \usebibmacro{maintitle+title}% \setunit{\addspace}\newblock% \usebibmacro{publisher}% \newunit\newblock% \usebibmacro{doi+eprint+url}% \usebibmacro{finentry}% }
% END Bibliography and citation customization

\addbibresource{bib.bib}

\begin{document} Autocite: \autocite{sondheimer2000rnq1}

Supercite: \supercite{sondheimer2000rnq1}

Cite: \cite{duck2023}

Parencite: \parencite{cowan1997molecular}

Textcite: \textcite{sondheimer2000rnq1}

\printbibliography

\end{document}

enter image description here

CarLaTeX
  • 62,716