BibTeX Basics
Tento obsah zatím není dostupný ve vašem jazyce.
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}.
\documentclass{article}
\begin{document}Some text \cite{key}. Another reference \cite{anotherkey}.\bibliographystyle{plain}\bibliography{filename} % filename without extension\end{document}3. Compile LaTeX Document with BibTeX:
- Run the following sequence of commands:
- pdflatex yourfile.tex(or- latexfor DVI output)
- bibtex yourfile(without file extension)
- pdflatex yourfile.tex
- pdflatex yourfile.tex
- Replace yourfilewith 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, orabbrvare 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.
\nocite{*} % Include all references\bibliography{file1,file2} % List of BibTeX files