Senin, 19 Agustus 2024

Add Bibliography In Latex

File Extension of Latex Bibliography Database or Bibtex Bibliography Database: .bib.

Latex Bibliography Database file or Bibtex Bibliography Database file of Bibtex file is a text file (database) containing publication references formatted in the bibtex format. It can have anywhere from one to more of entries.

Requirements

Assuming that our document is in a file named main.tex, our bibliography file is in a file named main.bib, and you can free to choose the most frequently used of latex editor.

Step Overview

This is a bibliography file to processed with the following sequence of commands (if we are not using latex editor):

  1. Create/Open your Bibtex file.
  2. Create/Open your Latex file
  3. Run pdflatex command or other latex compiler command.
  4. Run bibtex command.
  5. Run pdflatex or other latex compiler command.

Step By Step

Step 1

Sample of Latex Bibliography File, save as main.bib:

% compile this following Latex Bibliography file
% with
 PDFLatex command first 
% and then run Bibtex command
% and then run PDFLatex command again

@book{textbook1,
author = {Frank Mittelbach, et. al.},
editor = {Jacques André, et. al.},
title = {The LaTEX Companion},
publisher = {Pearson Education, Inc.},
city={Paris},
year = {2023},
address = {1330 Avenue of the Americas, New York City, NY 10019, USA},
}

Step 2

Sample of Latex document file, save as main.tex:

\documentclass[12pt,a4paper]{article}

\usepackage{natbib}
\usepackage{hyperref}
\usepackage{lmodern}
\author{private course and after school tutor}


\begin{document}

\cite{textbook1}

\newpage

\bibliographystyle{plain} % Choose the "plain" reference style

\bibliography{main} % Entries are in the main.bib

\end{document}

Step 3

Run pdflatex.exe main.tex

After, you compile

Step 4

Run bibtex main.bib

Step 5

Run pdflatex.exe main.tex




Notes

*.bst (bibliography style file), *.bib (bibtex reference database), *.bbl (bibtex generated file), *.tex (latex document source file).

To download the exercise file, click this file: https://app.box.com/s/vgw5t36j3r9naklcgoo8varc7ydn3b02

Next Add Bibliography With Link Back To Page >

Bibliography

https://bibtex.eu/
https://toronto.edu/ ( university )
https://www.bibtex.com/
https://www.bibtex.org/
http://www.cornell.edu/ ( university )
https://www.overleaf.com/

Related Post

Latex Package To Handle Bibliography and Citations

Learn About Latex List 1

Latex Books

Posting About Latex

Study About Markdown 1

Google Chrome Extension

Tidak ada komentar:

Posting Komentar

Various Other Posts