Skip to content

Instantly share code, notes, and snippets.

@pottsga
Last active March 17, 2020 15:45
Show Gist options
  • Save pottsga/15db140bf5f8306cc587d0ec59894b2c to your computer and use it in GitHub Desktop.
Save pottsga/15db140bf5f8306cc587d0ec59894b2c to your computer and use it in GitHub Desktop.
LaTeX Cheat Sheet

BibTeX

Commands

Use the following commands to compile a .tex file with .bib file.

pdflatex {filename}
bibtex {filename}
pdflatex {filename}
pdflatex {filename}

Template

file.tex

  \documentclass{article}

  \usepackage{apacite}

  \title{Title}
  \author{Author}

  \begin{document}
    \maketitle

    Some claim \cite{jensen2018frequency}.

    \bibliographystyle{apacite}

    \bibliography{References}
  \end{document}

References.bib

  @misc{jensen2018frequency,
    title={Frequency identification for microwave ablation probes},
    author={Jensen, Jeffrey L and Brannan, Joseph D},
    year={2018},
    month=aug # "~14",
    publisher={Google Patents},
    note={US Patent 10,045,819}
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment