Sample LaTeX file with bibliography
Below is a sample LaTeX .tex
manuscript file. It has dependencies on the following files: aastex62.cls
(class file), thisjournal.bst
(bibliography style file), and mybibs.bib
(bibtex reference database).
\documentclass[twocolumns]{aastex62} \begin{document} E = m c$^2$ was first postulated by \cite{Einstein}. \bibliographystyle{thisjournal} \bibliography{mybibs} \end{document}
To generate the .aux
file, needed to generate the .bbl
file using BibTeX, type latex manuscript
, where manuscript.tex
is the name of the LaTeX manuscript file. Rename the .bbl
file into bibliography.tex
and include the bibliography in the LaTeX manuscript:
\documentclass[twocolumns]{aastex62} \begin{document} E = m c$^2$ was first postulated by \cite{Einstein}. \bibliographystyle{thisjournal} \bibliography{mybibs} \include{bibliography} \end{document}
Once done, execute latex manuscript
twice more to get the reference list cross checked.