
Para um elsarticle
modelo, como gerar citações AMA? Adicionei o ama.bst
estilo bibliográfico ao diretório de trabalho do papel. Usando MikTeX2.9:
O papel:
\documentclass[preprint,authoryear,12pt]{elsarticle}
\usepackage{amssymb}
\usepackage[margin=0.7in]{geometry}
\usepackage{textcomp}
\begin{document}
\title{ \textbf{All the Cats}}
\section*{Citing cats author}
All the cats in the world as eloquently explained in reference \cite{Cat19}.
This should have printed as [1]!\\
In References, the citation should appear as: \textbf{Catty CT, Katin KK,
and Kitty MM. An amazing account of cats around the world.}\textit{ J. Cats.
Life} \textbf{2019; 19:290-299.}
\nocite{*}
\bibliographystyle{ama}
\bibliography{catsbib}
\end{document}
gatosbib.bib
@article{Cat19,
author = "Catty, CT and Katin, KK and Kitty, MM",
title = "An amazing Account of cats around the world",
year = "2019",
journal = "J {C}ats {L}ife",
volume = "19",
number = "9",
pages = "290--299"
}
Ao compilar com pdfLatex+MakeIndex+Bibtex, o latex trava com:
! Package natbib Error: Bibliography not compatible with author-year citations.[![enter image description here][1]][1]
A saída desejada é mostrada abaixo: