Advertisement
Guest User

citations.tex

a guest
Mar 21st, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 2.40 KB | None | 0 0
  1. \documentclass{article}
  2. \begin{filecontents}{citations.bib}
  3.  @article{jones1976,
  4.     title = {A Very Important Article},
  5.     subtitle = {Surveying Stuff from Then till Now},
  6.     author = {Jones, Alice F. AND Smith, John A.},
  7.     journal= {Topical},
  8.     location = {New York},
  9.     publisher = {University Publisher},
  10.     date = {2015},
  11.  }
  12.  @article{smith15,
  13.     title = {Another Very Important Article},
  14.     subtitle = {Surveying Stuff from Then till Now},
  15.     author = {Smith, John A.},
  16.     journal= {Topical},
  17.     location = {New York},
  18.     publisher = {University Publisher},
  19.     date = {2015},
  20.  }
  21.  @article{appleton,
  22.     title = {Yet Another Very Important Article},
  23.     subtitle = {Surveying Stuff from Then till Now},
  24.     author = {Appleton, MaryAnne},
  25.     journal= {Topical},
  26.     location = {New York},
  27.     publisher = {University Publisher},
  28.     date = {2015},
  29.  }
  30.  @article{colbert,
  31.     title = {So Many Important Articles},
  32.     subtitle = {Surveying Stuff from Then till Now},
  33.     author = {Colbert, Meredith AND Dickerson, Elizabeth},
  34.     journal= {Topical},
  35.     location = {New York},
  36.     publisher = {University Publisher},
  37.     date = {2015},
  38.  }
  39.  @article{colbert2,
  40.     title = {Follow-up to So Many Important Articles},
  41.     subtitle = {Surveying Stuff from Then till Now},
  42.     author = {Colbert, Meredith AND Dickerson, Elizabeth},
  43.     journal= {Topical},
  44.     location = {New York},
  45.     publisher = {University Publisher},
  46.     date = {2015},
  47.  }
  48.  @article{zenfadel,
  49.     title = {Too Many Important Articles},
  50.     subtitle = {Surveying Stuff from Then till Now},
  51.     author = {Zenfadel, Ariel AND Dickerson, Elizabeth AND Appleton, MaryAnne},
  52.     journal= {Topical},
  53.     location = {New York},
  54.     publisher = {University Publisher},
  55.     date = {2015},
  56.  }
  57. \end{filecontents}
  58. \usepackage{lipsum}
  59.  
  60. \usepackage[%
  61.   backend=bibtex,%
  62.   style=authoryear,%
  63.   citetracker=true,%
  64.   maxcitenames=2,%
  65.   giveninits=false,%
  66.   maxbibnames=99,%
  67.   dashed=false,%
  68.   isbn=false,%
  69.   url=false,%
  70.   urldate=comp,%
  71.   natbib=true%
  72. ]{biblatex}
  73. \bibliography{citations}
  74.  
  75. % \renewcommand{\mkbibnamefamily}[1]{\textsc{#1}}
  76.  
  77. \usepackage{fontspec}
  78. \defaultfontfeatures{Ligatures={Required, Common, Contextual, TeX}}
  79. \setmainfont{FreeSerif}
  80.  
  81. \begin{document}
  82.  Testing \autocite{jones1976}.
  83.  
  84.  \nocite{*}
  85.  \printbibliography
  86. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement