Advertisement
epsilon413

Latex-Question10

Apr 19th, 2024
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 1.37 KB | Source Code | 0 0
  1. \documentclass{article}
  2. \usepackage[english]{babel}
  3. \usepackage[square,numbers]{natbib}
  4. \bibliographystyle{abbrvnat}
  5.  
  6.  
  7. \begin{document}
  8.  
  9.  
  10. This document is an example of \texttt{natbib} package using in bibliography
  11. management. Three items are cited: \textit{The \LaTeX\ Companion} book \cite{latexcompanion}, the Einstein journal paper \citet{einstein}, and the
  12. Donald Knuth's website \cite{knuthwebsite}. The \LaTeX\ related items are
  13. \cite{latexcompanion,knuthwebsite}.
  14.  
  15. \medskip
  16.  
  17. \bibliography{bib_10}
  18.  
  19. \end{document}
  20.  
  21.  
  22. % bib_10.bib
  23. @article{einstein,
  24.    author =       "Albert Einstein",
  25.    title =        "{Zur Elektrodynamik bewegter K{\"o}rper}. ({German})
  26.        [{On} the electrodynamics of moving bodies]",
  27.    journal =      "Annalen der Physik",
  28.    volume =       "322",
  29.    number =       "10",
  30.    pages =        "891--921",
  31.    year =         "1905",
  32.    DOI =          "http://dx.doi.org/10.1002/andp.19053221004"
  33. }
  34.  
  35. @book{latexcompanion,
  36.    author    = "Michel Goossens and Frank Mittelbach and Alexander Samarin",
  37.    title     = "The \LaTeX\ Companion",
  38.    year      = "1993",
  39.    publisher = "Addison-Wesley",
  40.    address   = "Reading, Massachusetts"
  41. }
  42.  
  43. @misc{knuthwebsite,
  44.    author    = "Donald Knuth",
  45.    title     = "Knuth: Computers and Typesetting",
  46.    url       = "http://www-cs-faculty.stanford.edu/\~{}uno/abcde.html"
  47. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement