We will often need to cite references in our paper. There is an easy way to do this, and a hard way…
thebibliography
environment (The Hard Way)thebibliography
environment and the
\bibitem
command.\cite
command.Very similar to using \label
and \ref
.
Bibtex
is a program that generates Latex
bibliographies.
The process is a little convoluted if you don’t know what is happening.
\cite
command to cite references throughout our
paper.bibtex
to generate our bibliography based on the
references we cited and the information in our reference database.The Bibtex database is a plain text file with all of the information about our references that we would need to create a bibliography.
@Article{CLARK-2016,
author = {Clifton D. Clark III and Gavin D. Buffington},
title = {On the probability summation model for laser-damage thresholds},
journal = {Journal of Biomedical Optics},
year = {2016},
}
@Article{CLARK-2011,
title = {Mathematical model that describes the transition from thermal to photochemical damage in retinal pigment epithelial cell culture},
author = {C.D. {Clark III} and Micael L. Denton and Robert J. Thomas},
journal = {Journal of Biomedical Optics},
year = {2011},
pages = {020504},
volume = {16},
}
We can use different styles for our citations and bibliography. There are several installed by default:
There are other styles that are not installed by default:
JabRef
is a program that manages Bibtex
reference databased.
We don’t want to be writting these by hand:
@ARTICLE{MOUSSA1977,
author = {N.A. Moussa and J.J. McGrath and E.G. Cravalho and J. Asimacopoulos},
title = {Kinetics of Thermal Injury in Cells},
journal = {Journal of Miomechanical Engineering},
year = {1977},
pages = {155--159},
}
Many journals will provide templates for authors to use.
The Journal of Biometical Optics is a SPIE journal that uses an SPIE LaTeX Template.
REVTex Homepage is very common.
Download the tds
distribution and the samples directory
from the docs/
page.
revtex-tds-2020-10-22.zip
.texmf/
directory in your home directory.texmf/
(rsync revtex-tds texmf
).LaTeX is extremely popular, and yet extremely difficult to use…
Overleaf is an online platform for writing LaTeX documents.
We can automate the entire LaTeX build process from the command line. If we have a bibliography, the compilation needs to happen in 4 steps.
pdflatex main.tex
bibtex main.tex
pdflatex main.tex
pdflatex main.tex
What is happening here?
Its a similar problem to the reference labels. Latex/Bibtex need to figure out what number to use for each reference.
\cite
commands.\cite
commands.