Skip to content

Instantly share code, notes, and snippets.

@moewew
Last active May 23, 2018 19:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moewew/f13734ca1b143b943791cd9b7d1369eb to your computer and use it in GitHub Desktop.
Save moewew/f13734ca1b143b943791cd9b7d1369eb to your computer and use it in GitHub Desktop.
https://tex.stackexchange.com/q/433066/35864 - test in an empty directory to make sure the .bib file is created
\documentclass{article}
\usepackage[numbers]{natbib}
%\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{AS,
editor = {Milton Abramowitz and Irene Stegun},
title = {Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables},
year = {1970},
publisher = {Dover},
address = {New York},
}
\end{filecontents}
\begin{document}
\citet[section 4.6]{AS}
\bibliographystyle{plainnat}
\bibliography{\jobname}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment