
Sou muito novo no Latex (TeXShop 4.25) e enquanto escrevia minha tese tive alguns problemas com minhas referências. Estou usando biblatex
o Biber e preciso das referências da seguinte forma:
Autor.(ano)"Título". Diário;volume(número):páginas.
Por exemplo:
Baldwin I., Halitschke R., Paschold A., von Dahl CC. e Preston CA. (2006) “Sinalização volátil nas interações planta-planta: 'árvores falantes' na era da genômica”. Ciência; 311(5762):812-815.
O estilo mais próximo que encontrei é autorano, e este é o código que fiz:
\documentclass{article}
\usepackage[backend=biber,
style=authoryear,
sorting=nyt,
sortlocale=de_DE,
natbib=true,
url=false,
doi=false,
isbn=false,
maxcitenames=2,
maxbibnames=9,
eprint=false]
{biblatex} ç
\addbibresource{References.bib}
\begin{document}
\cite{baldwin06}
\printbibliography
\end{document}
E é isso que os programas me imprimem:
Baldwin, IT, Halitschke R., Anja P., von Dahl CC e Preston CA (2006). Sinalização Volátil em Interações Planta-Planta: Árvores Falantes na Era da Genômica.Science 311, 5762, págs. 812-815.
Como você pode notar, eu quero
- elimine a primeira vírgula ("Baldwin, IT"),
- coloque o título entre aspas duplas,
- coloque um ponto e vírgula depois do diário,
- imprima o número entre parênteses após o volume e
- mostre dois pontos antes das páginas.
Alguém sabe como personalizar essa referência?
Responder1
Aqui está uma solução:
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents}{References.bib}
@article{baldwin06,
Author = {Baldwin, I. and Halitschke, R. and Paschold, A. and von Dahl, C.C. and Preston, C.A.},
Journal = {Science},
Number = {5762},
Pages = {812--815},
Title = {Volatile signaling in plant–plant interactions:‘talking trees’ in the genomics era},
Volume = {311},
Year = {2006}}
\end{filecontents}
% Baldwin I., Halitschke R., Paschold A., von Dahl CC. y Preston CA. (2006) “Volatile signaling in plant–plant interactions:‘talking trees’ in the genomics era”. Science; 311(5762):812-815.
\usepackage[backend=biber,
style=authoryear,
sorting=nyt,
sortlocale=de_DE,
natbib=true,
url=false,
doi=false,
isbn=false,
maxcitenames=2,
maxbibnames=9,
eprint=false]
{biblatex}
\addbibresource{References.bib}
\usepackage{xpatch}
\xpatchbibdriver{article}{%
\usebibmacro{in:}}{}{}{}
\xpatchbibmacro{journal+issuetitle}{%
\setunit*{\addspace}}{%
\setunit*{\addsemicolon\addspace}}{}{}
\DeclareFieldFormat[article,periodical]{number}{\mkbibparens{#1}}% number of a journal
\DeclareFieldFormat[article,periodical]{pages}{#1}
\renewbibmacro*{volume+number+eid}{%
\printfield{volume}%
\setunit*{\space}%
\printfield{number}%
\setunit{\addcomma\space}%
\printfield{eid}}
\renewbibmacro*{note+pages}{%
\printfield{note}%
\setunit{\addcolon\addspace}%
\printfield{pages}%
\newunit}
\begin{document}
\cite{baldwin06}
\printbibliography
\end{document}