![Editando o biblatex para um estilo específico](https://rvso.com/image/461884/Editando%20o%20biblatex%20para%20um%20estilo%20espec%C3%ADfico.png)
Este é o estilo que estou tentando alcançar:
Smith J, Jones M Jr, Houghton L et al (1999) Futuro do seguro saúde. N Engl J Med 965:325–329
Preciso de mais duas alterações que não consigo descobrir:
- remova a vírgula após o nome do diário
- remover e no autor e forçar a ordem das iniciais do sobrenome para todos os autores
Eu forneço meu código:
\documentclass[12pt]{article}
\usepackage[dashed=false,style=authoryear,backend=biber,giveninits=true]{biblatex}
\DeclareNameAlias{default}{last-first}
\renewcommand*{\revsdnamepunct}{}
\renewbibmacro{in:}{%
\ifboolexpr{%
test {\ifentrytype{article}}%
or
test {\ifentrytype{inproceedings}}%
}{}{\printtext{\bibstring{in}\intitlepunct}}%
}
\DeclareFieldFormat
[article,inbook,incollection,inproceedings,patent,thesis,unpublished]
{title}{#1\isdot}
\DeclareFieldFormat{title}{#1}
\DeclareFieldFormat{pages}{:#1}
\DeclareFieldFormat{journaltitle}{#1\isdot}
\renewcommand{\labelnamepunct}{\addspace}
\addbibresource{\jobname.bib}
\begin{filecontents}{\jobname.bib}
@book{Andeweg2011,
title={Puzzles of Government Formation: Coalition Theory and Deviant Cases},
author={Andeweg, Rudy W. and De Winter, Lieven and Dumont, Patrick},
year={2011},
publisher={Taylor \& Francis}
}
@article{ansolabehere2005voting,
title={Voting weights and formateur advantages in the formation of coalition governments},
author={Ansolabehere, Stephen and Snyder Jr., James M. and Strauss, Aaron B. and Ting, Michael M.},
journal={American Journal of Political Science},
volume={49},
number={3},
pages={550--563},
year={2005},
publisher={Wiley Online Library}
}
\end{filecontents}
\begin{document}
\section{Section}
text
\textcite{Andeweg2011, ansolabehere2005voting}
\printbibliography
\end{document}
Responder1
Eu posto solução. Muito obrigado a todos
\documentclass[12pt]{article}
\usepackage[dashed=false,style=authoryear,backend=biber,giveninits=true]{biblatex}
\DeclareNameAlias{sortname}{family-given}
\renewcommand*{\revsdnamepunct}{}
\renewbibmacro{in:}{%
\ifboolexpr{%
test {\ifentrytype{article}}%
or
test {\ifentrytype{inproceedings}}%
}{}{\printtext{\bibstring{in}\intitlepunct}}%
}
\DeclareFieldFormat
[article,inbook,incollection,inproceedings,patent,thesis,unpublished]
{title}{#1\isdot}
\DeclareFieldFormat{title}{#1}
\DeclareFieldFormat{pages}{#1}
\renewcommand*{\bibpagespunct}{\addcolon}
\DeclareFieldFormat{journaltitle}{#1\isdot}
\renewcommand{\labelnamepunct}{\addspace}
\renewrobustcmd*{\bibinitperiod}{}
\renewrobustcmd*{\bibinitdelim}{}
\renewrobustcmd*{\bibinithyphendelim}{}
\addbibresource{\jobname.bib}
\DefineBibliographyExtras{english}{%
\renewcommand*{\finalnamedelim}{\addcomma\addspace}%
}
\begin{filecontents}{\jobname.bib}
@book{Andeweg2011,
title={Puzzles of Government Formation: Coalition Theory and Deviant Cases},
author={Andeweg, Rudy W. and De Winter, Lieven and Dumont, Patrick},
year={2011},
publisher={Taylor \& Francis}
}
@article{ansolabehere2005voting,
title={Voting weights and formateur advantages in the formation of coalition governments},
author={Ansolabehere, Stephen and Snyder Jr., James M. and Strauss, Aaron B. and Ting, Michael M.},
journal={American Journal of Political Science},
volume={49},
number={3},
pages={550--563},
year={2005},
publisher={Wiley Online Library}
}
\end{filecontents}
\begin{document}
\section{Section}
text
\textcite{Andeweg2011, ansolabehere2005voting}
\printbibliography
\end{document}