|
SmtC: Show me the Code
Ole Peter Smith
Instituto de Matemática e Estatística
Universidade Federal de Goiás
http://www.olesmith.com.br
|
|
Vive como se fosse morrer amanhã.
Estude como se fosse viver para sempre.
Einstein
|
Bibiliography
-
BiBTeX ($\BibTex$)
-
Create MyBibliography.bib:
??MyBibliography.bib Listing: MyBibliography.bib.
%Entries of type BOOK
@BOOK
{
leslie,
AUTHOR = "Leslie Lamport",
TITLE = "LaTeX - User’s Guide and Reference Manual",
PUBLISHER = {Addison-Wesley},
YEAR = {2000}
}
@BOOK
{
goossen,
AUTHOR = "Michel Goosens and Frank Mittelbach and Alexander Samarin",
TITLE = "The LaTeX Companion",
PUBLISHER = {Addison-Wesley},
YEAR = {1994}}
}
@BOOK
{
mittel,
AUTHOR = "Michel Goosens and Sebastian Rahtz and Frank Mittelbach",
TITLE = "The LaTeX Graphics Companion",
PUBLISHER = {Addison-Wesley},
YEAR = {1998}
}
@BOOK
{
leslie2000,
AUTHOR = "Leslie Lamport",
TITLE = "LaTeX - User’s Guide and Reference Manual",
PUBLISHER = {Addison-Wesley},
YEAR = {2000}
}
@BOOK
{
botelho,
AUTHOR = "Geraldo Botelho and Daniel Pellegrino and Eduardo Teixeira",
TITLE = "LaTeX - User’s Guide and Reference Manual",
PUBLISHER = {Editora SBM},
YEAR = {2012}
}
|
Author names separated by 'and'.
-
\bibliographystyle{STYLE}
\bibliography{MyBibliography}
-
Main.tex:
\documentclass{report}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[brazilian]{babel}
\begin{document}
\chapter{Intro}
Bibliographies appears in order of citation.
Only cited authors included.
See \cite{goossen}, \cite{leslie2000} as well as \cite{mittel}.
See \cite{goossen,leslie2000,mittel}.
Citation with 3 authors \cite{botelho}.
\bibliographystyle{unsrt}
\bibliography{MyBibliography}
\end{document}
|
-
Run pdflatex Main.tex.
Creates Main.aux
-
Run bibtex Main.tex.
Creates Main.blg & Main.bbl:
??Main.bbl Listing: Main.bbl.
\begin{thebibliography}{1}
\bibitem{goossen}
Michel Goosens, Frank Mittelbach, and Alexander Samarin.
\newblock {\em The LaTeX Companion}.
\newblock Addison-Wesley, 1994.
\bibitem{leslie2000}
Leslie Lamport.
\newblock {\em LaTeX - User’s Guide and Reference Manual}.
\newblock Addison-Wesley, 2000.
\bibitem{mittel}
Michel Goosens, Sebastian Rahtz, and Frank Mittelbach.
\newblock {\em The LaTeX Graphics Companion}.
\newblock Addison-Wesley, 1998.
\bibitem{botelho}
Geraldo Botelho, Daniel Pellegrino, and Eduardo Teixeira.
\newblock {\em LaTeX - User’s Guide and Reference Manual}.
\newblock Editora SBM, 2012.
\end{thebibliography}
|
List of \bibitem's.
-
Run pdflatex again!
-
Watch for:
LaTeX Warning: There were undefined references.
-
Change 'and' between multiple authors according to language:
LaTeX Listing: Main.pt-br.tex.
PDF
ZIP*
\documentclass{report}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[brazilian]{babel}
\usepackage{babelbib}
\begin{document}
\chapter{Intro}
Bibliographies appears in order of citation.
Only cited authors included.
See \cite{goossen}, \cite{leslie2000} as well as \cite{mittel}.
See \cite{goossen,leslie2000,mittel}.
Citation with 3 authors \cite{botelho}.
\bibliographystyle{babplain}
\bibliography{MyBibliography}
\end{document}
|
References:
-
[1]:
Bibliography types:
https://www.overleaf.com/learn/latex/Bibtex_bibliography_styles
-
[2]:
Entry data:
https://www.overleaf.com/learn/latex/Bibliography_management_with_bibtex#Reference_guide
-
[3]:
https://tex.stackexchange.com/questions/305975/is-it-possible-to-translate-the-and-separator-in-references-using-bibtex
|
Messages:
0 secs.
|