Advertisement
Guest User

two citations

a guest
May 9th, 2013
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 1.77 KB | None | 0 0
  1.     \documentclass{article}
  2.    \usepackage{filecontents}
  3.    \usepackage[natbib=true,
  4.                hyperref=true,
  5.                url=false,
  6.                style=science,
  7.                autocite=superscript,
  8.                isbn=false,
  9.                backref=true,
  10.                maxcitenames=3,
  11.                maxbibnames=100,
  12.                block=none]{biblatex}
  13.    
  14.    \DefineBibliographyStrings{english}{%
  15.         backrefpage  = {See p.}, % for single page number
  16.         backrefpages = {See pp.} % for multiple page numbers
  17.     }
  18.  
  19.     \renewbibmacro*{finentry}{\iflistundef{pageref}{\finentry}{}}
  20.    
  21.    \renewbibmacro*{pageref}{%
  22.       \iflistundef{pageref}
  23.        {}
  24.        {\setunit{\adddot\addspace}\printtext{%
  25.       \fbox{
  26.           \ifnumgreater{\value{pageref}}{1}
  27.             {\bibstring{backrefpages}\ppspace}
  28.         {\bibstring{backrefpage}\ppspace}%
  29.            \printlist[pageref][-\value{listtotal}]{pageref}
  30.      }}}}
  31.  
  32.    \usepackage{hyperref}
  33.    
  34.    \begin{filecontents}{references.bib}
  35.    @article{nowak2006five,
  36.      title={Five rules for the evolution of cooperation},
  37.      author={Nowak, M.A.},
  38.      journal={Science},
  39.      volume={314},
  40.      number={5805},
  41.      pages={1560--1563},
  42.      year={2006},
  43.      publisher={American Association for the Advancement of Science}
  44.    }
  45.   @book{delanda2006new,
  46.         title={A new philosophy of society: Assemblage theory and social complexity},
  47.         author={DeLanda, M.},
  48.         year={2006},
  49.         publisher={Continuum}
  50.        }
  51.    \end{filecontents}
  52.    
  53.    \bibliography{references.bib}
  54.    
  55.    \begin{document}
  56.    Evolutionary games.\supercite{nowak2006five}  Assemblages.\supercite{delanda2006new}
  57.    \printbibliography
  58.    \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement