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

$\LaTeX$ III
Vive como se fosse morrer amanhã.
Estude como se fosse viver para sempre.
Einstein
< Hyperrefs | Bibliography | Index >

Bibiliography

  1. BiBTeX ($\BibTex$)
  2. 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'.
  3. \bibliographystyle{STYLE}
    \bibliography{MyBibliography}
  4. Main.tex:
    LaTeX Listing: Main.tex. PDF   ZIP*  
    \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}
    
  5. Run pdflatex Main.tex.
    Creates Main.aux
  6. 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.
  7. Run pdflatex again!
  8. Watch for:

    LaTeX Warning: There were undefined references.

  9. 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. [1]: Bibliography types: https://www.overleaf.com/learn/latex/Bibtex_bibliography_styles
  2. [2]: Entry data: https://www.overleaf.com/learn/latex/Bibliography_management_with_bibtex#Reference_guide
  3. [3]: https://tex.stackexchange.com/questions/305975/is-it-possible-to-translate-the-and-separator-in-references-using-bibtex
< Hyperrefs | Bibliography | Index >
Messages:
0 secs.