BibTeX Basics
This content is not available in your language yet.
1. Create a BibTeX file (.bib):
- Start by creating a separate BibTeX file, using CiteDrive. As a reminder, you will find all the information you need:
- ds
2. Cite in LaTeX Document:
- To cite a reference in your LaTeX document, use
\cite{key}
. - Multiple citations can be separated by commas:
\cite{key1, key2}
.
3. Compile LaTeX Document with BibTeX:
- Run the following sequence of commands:
pdflatex yourfile.tex
(orlatex
for DVI output)bibtex yourfile
(without file extension)pdflatex yourfile.tex
pdflatex yourfile.tex
- Replace
yourfile
with the name of your LaTeX file.
4. Choose Bibliography Style:
\bibliographystyle{plain}
: Orders citations by appearance, which we have used in our example above.- Other styles like
unsrt
,alpha
, orabbrv
are available.
BibTeX Style | Description |
---|---|
plain | Standard style with complete information |
alpha | Alphanumeric style |
abbrv | Abbreviated style |
unsrt | Unsorted style (order of citations) |
apalike | American Psychological Association (APA) style |
IEEEtran | IEEE Transactions style for technical documents |
5. Handling Multiple Bibliographies:
- For multiple bibliographies, use
\nocite{key}
to include references without citation.