Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Feb 22nd, 2018 57 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. documentclass[a4paper,10pt]{article}
  2. usepackage[T1]{fontenc}
  3. usepackage[utf8]{inputenc}
  4. usepackage[english]{babel}
  5. usepackage{csquotes}
  6. usepackage{filecontents}
  7. begin{filecontents}{jobname.bib}
  8. @article{greenwade93,
  9.     author  = "George D. Greenwade and A. Author and B. Buthor and C. Cuthor",
  10.     title   = "The {C}omprehensive {T}ex {A}rchive {N}etwork",
  11.     year    = "1993",
  12.     journal = "TUGBoat",
  13.     volume  = "14",
  14.     number  = "3",
  15.     pages   = "342--351"
  16. }
  17. end{filecontents}
  18. usepackage[backend=biber,style=alphabetic,maxnames=10]{biblatex}
  19. addbibresource{jobname.bib}
  20. DeclareLabelalphaTemplate{
  21.  labelelement{
  22.   field[final]{shorthand}
  23.   field{label}
  24.   field[strwidth=2,strside=left,ifnames=1]{labelname}
  25.   field[strwidth=1,strside=left]{labelname}
  26. }
  27. % labelelement{
  28. %  field[strwidth=2,strside=right]{year}
  29. % }
  30. }
  31. DeclareFieldFormat{extraalpha}{#1}
  32. DeclareFieldFormat*{title}{mkbibemph{#1}}
  33. begin{document}
  34. cite{greenwade93}
  35. printbibliography[heading=bibintoc]
  36. end{document}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top