Guest User

Untitled

a guest
Jan 22nd, 2019
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.96 KB | None | 0 0
  1. usepackage[utf8]{inputenc}
  2. usepackage[T1]{fontenc}
  3.  
  4. usepackage[style=alphabetic,
  5. mcite=true,
  6. subentry,
  7. maxcitenames=3,
  8. backend=biber
  9. ]{biblatex}
  10.  
  11. makeatletter
  12. % warning the file called blxmset@bibfile@name will be
  13. % overwritten without warning
  14. defblxmset@bibfile@name{jobname -msets.bib}
  15. newwriteblxmset@bibfile
  16. immediateopenoutblxmset@bibfile=blxmset@bibfile@name
  17.  
  18. AtEndDocument{%
  19. closeoutblxmset@bibfile}
  20.  
  21. newrobustcmd*{defbibentrysetlabel}[3]{%
  22. @bsphack
  23. begingroup
  24. immediatewriteblxmset@bibfile{%
  25. @set{#1, entryset = {unexpanded{#3}}, %
  26. shorthand = {unexpanded{#2}},}%
  27. }%
  28. nocite{#1}%
  29. @esphack}
  30.  
  31. addbibresource{blxmset@bibfile@name}
  32. makeatother
  33.  
  34. usepackage{filecontents}
  35. begin{filecontents}{jobname.bib}
  36. @book{Yvon_1935,
  37. title = {La Th'eorie Statistique Des Fluides et l''equation d''etat},
  38. series = {Actualit'es Scientifiques et Industrielles ; {Th'eories} M'ecaniques (Hydrodynamique-Acoustique)},
  39. publisher = {Hermann & cie},
  40. date = {1935},
  41. author = {Yvon, Jacques},
  42. lccn = {37018772}
  43. }
  44. @article{Born_1946,
  45. title = {A General Kinetic Theory of Liquids {I}. {The} Molecular Distribution Functions},
  46. volume = {188},
  47. issn = {2053-9169},
  48. doi = {10.1098/rspa.1946.0093},
  49. number = {1012},
  50. journaltitle = {Proceedings of the Royal Society of London. Series A. Mathematical and Physical Sciences},
  51. date = {1946-12-31},
  52. pages = {10-18},
  53. author = {Born, Max and Green, Herbert Sydney},
  54. }
  55. @article{Kirkwood_1946,
  56. title = {The Statistical Mechanical Theory of Transport Processes {I}. {General} Theory},
  57. volume = {14},
  58. url = {http://aip.scitation.org/doi/10.1063/1.1724117},
  59. doi = {10.1063/1.1724117},
  60. number = {3},
  61. journaltitle = {The Journal of Chemical Physics},
  62. urldate = {2019-01-16},
  63. date = {1946-03},
  64. pages = {180-201},
  65. author = {Kirkwood, John Gamble},
  66. }
  67. @article{Bogolioubov_1945,
  68. title = {Kinetic Equations},
  69. volume = {10},
  70. number = {3},
  71. journaltitle = {Journal of Physics USSR},
  72. date = {1945},
  73. pages = {265-274},
  74. author = {Bogolioubov, Nikola"i Nikola"ievitch}
  75. }
  76. @article{Boncella_1984,
  77. author = {Boncella, James M. and Andersen, Richard A.},
  78. journal = {Inorg. Chem.},
  79. pages = {432--437},
  80. volume = {23},
  81. year = {1984},
  82. }
  83. end{filecontents}
  84.  
  85. addbibresource[datatype=bibtex]{jobname.bib}
  86.  
  87. documentclass{article}
  88.  
  89. input{preamble.tex}
  90.  
  91. begin{document}
  92. A first citation~cite{Boncella_1984}.
  93. And another that I want to cite as a set BBGKY45 defbibentrysetlabel{setBBGKY}{BBGKY45}{Yvon_1935,Bogolioubov_1945,Born_1946,Kirkwood_1946}cite{setBBGKY}.
  94.  
  95. printbibliography
  96. end{document}
  97.  
  98. documentclass{article}
  99.  
  100. input{preamble.tex}
  101.  
  102. usepackage{standalone}
  103.  
  104. begin{document}
  105. test3 cite{Boncella_1984}
  106.  
  107. input{./test_include.tex}
  108. end{document}
Add Comment
Please, Sign In to add comment