Guest User

Untitled

a guest
Jul 19th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.21 KB | None | 0 0
  1. documentclass[
  2. pagesize,
  3. usegeometry = on,
  4. DIV = calc,% for the line spacing, KOMA-Script manual, page 40
  5. ngerman
  6. ]{scrartcl}
  7.  
  8. usepackage[
  9. left = 25mm,
  10. bottom = 20mm,
  11. right = 45mm,
  12. top = 20mm
  13. ]{geometry}
  14. usepackage[onehalfspacing]{setspace}% for the line spacing, KOMA-Script manual, page 40
  15. usepackage{
  16. babel,
  17. csquotes
  18. }
  19. usepackage[
  20. backend = biber,
  21. sortlocale = auto,
  22. sorting = nyt,
  23. style = ext-authoryear-comp
  24. ]{biblatex}
  25.  
  26. % for the line spacing, KOMA-Script manual, page 40:
  27. AfterTOCHead{singlespacing}
  28. KOMAoptions{DIV = last}
  29. % adjusting the bibliography
  30. AtBeginBibliography{renewcommand*{mkbibnamegiven}{textsc}}% small caps for the author name
  31. AtBeginBibliography{renewcommand*{mkbibnamefamily}{textsc}}% small caps for the author surname
  32. DeclareFieldFormat{biblabeldate}{#1}% year without the surrounding brackets
  33. DeclareDelimFormat[bib]{nameyeardelim}{addcommaspace}% comma before the year
  34. % changes the type @online
  35. DefineBibliographyStrings{german}{
  36. urlfrom = {verfügbar unter},
  37. urlseen = {zuletzt geprüft am}
  38. }
  39. % changes the format of the fields url and urldate
  40. DeclareFieldFormat{url}{bibstring{urlfrom}addcolonspaceurl{#1}}
  41. DeclareFieldFormat{urldate}{mkbibbrackets{bibstring{urlseen}addcolonspace#1}}
  42. renewbibmacro*{url+urldate}{% changes the default order of the fields url and urldate
  43. usebibmacro{urldate}%
  44. newunit
  45. usebibmacro{url}
  46. }
  47.  
  48. begin{filecontents}{jobname.bib}
  49.  
  50. @ONLINE{Chemie,
  51. EDITOR = {LUMITOS GmbH},
  52. LOCATION = {Berlin},
  53. URL = {http://www.chemie.de/lexikon/Kerosin.html},
  54. TITLE = {Kerosin},
  55. URLDATE = {2018-06-22},
  56. }
  57.  
  58. end{filecontents}
  59. addbibresource{jobname.bib}
  60.  
  61. begin{document}
  62.  
  63. Text. Text. Text. Text. Text. Text. Text. Text. Text. Text. Text. Text. Text autocite{Chemie}.
  64. printbibliography
  65.  
  66. end{document}
Add Comment
Please, Sign In to add comment