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 main2.tex, our bibliography file is in a file named main2.bib, and you can free to choose the most frequently used of latex editor (must support biblatex).
Step Overview
- Create/Open your Bibtex file.
- Create/Open your Latex file
- Run pdflatex command or other latex compiler command.
- Run bibtex command.
- Run pdflatex or other latex compiler command.
Step By Step
Step 1
Sample of Latex Bibliography File, save as main2.bib:
% compile this following Latex Bibliography file
% with PDFLatex command first
% and then run Bibtex command
% and then run PDFLatex command again
Step 2
Sample of Latex document file, save as main2.tex:
% !TEX TS-program = pdflatex
% !TEX encoding = UTF-8 Unicode
%Typeset/Build program
\documentclass[12pt,a4paper]{article}
\usepackage{natbib}
\usepackage[backref=page]{hyperref}
\usepackage{lmodern}
\urlstyle{same} % sf font also works, for something more subtle than tt font
% change to the author name
\author{private course and after school tutor}
\begin{document}
refer to Latex Companion \cite{textbook1}
\newpage
refer to LaTeX Beginner's Guide \cite{textbook2}
\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
Step 5
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/cocpa0gs90pxfy8gm6fxymypkwip1fzz
< Previous Add Bibliography In Latex
Tidak ada komentar:
Posting Komentar