Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.21 KB | None | 0 0
  1. RequirePackage{filecontents}
  2. begin{filecontents}{sample.bib}
  3. @article{SNIa,
  4. title={Measurements of $Omega$ and $Lambda$ from 42 high-redshift supernovae},
  5. author={Perlmutter S. et al.},
  6. journal={ApJ},
  7. year={1995}
  8. }
  9. @article{Tegmark1998,
  10. title={Measuring the Galaxy Power Spectrum with Future Redshift Surveys},
  11. author={Tegmark M., Hamilton A.J.S., Strauss M.S., Szalay A.S.},
  12. journal={ApJ},
  13. pages={499-555.},
  14. year={1998}
  15. }
  16. end{filecontents}
  17.  
  18. documentclass[11pt,french,oneside]{report}
  19. usepackage[latin1]{inputenc}
  20. usepackage[T1]{fontenc}
  21. usepackage[francais]{babel}
  22. usepackage{indentfirst}
  23. usepackage{lastpage}
  24. usepackage{amsmath}
  25. usepackage{fancyhdr}
  26. usepackage{url}
  27. usepackage{epsfig}
  28. usepackage{graphics}
  29. usepackage{multirow}
  30. usepackage{vmargin}
  31. usepackage{float}
  32. usepackage{psboxit,pstcol}
  33. usepackage[style=ext-authoryear, backend=biber]{biblatex}
  34. usepackage{hyperref}
  35.  
  36. ...
  37.  
  38. % well displayed
  39. SNIa cite{SNIa} et valid'ee depuis par d'autres d'observations
  40.  
  41. ...
  42. % bad displayed
  43. dans le papier de cite{Tegmark1998}
  44.  
  45. author = {Sigfridsson, E.},
  46.  
  47. author = {Tegmark, M. and Hamilton, A. J. S. and Strauss, M. S. and Szalay, A. S.},
  48.  
  49. author={Perlmutter, S. and others},
  50.  
  51. WARN - Name "Tegmark M., Hamilton A.J.S., Strauss M.S., Szalay A.S." has too many commas:
  52. skipping name
  53.  
  54. RequirePackage{filecontents}
  55. begin{filecontents}{jobname.bib}
  56. @article{SNIa,
  57. title = {Measurements of {$Omega$} and {$Lambda$} from 42 high-redshift supernovae},
  58. author = {Perlmutter, S. and others},
  59. journal = {ApJ},
  60. year = {1995},
  61. }
  62. @article{Tegmark1998,
  63. title = {Measuring the Galaxy Power Spectrum with Future Redshift Surveys},
  64. author = {Tegmark, M. and Hamilton, A. J. S. and Strauss, M. S. and Szalay, A. S.},
  65. journal = {ApJ},
  66. pages = {499-555},
  67. year = {1998}
  68. }
  69. end{filecontents}
  70.  
  71. documentclass[11pt,french,oneside]{report}
  72. usepackage[utf8]{inputenc}
  73. usepackage[T1]{fontenc}
  74. usepackage[francais]{babel}
  75. usepackage[style=ext-authoryear, backend=biber]{biblatex}
  76. usepackage{hyperref}
  77.  
  78. addbibresource{jobname.bib}
  79.  
  80. begin{document}
  81. SNIa autocite{SNIa} et validée depuis par d'autres d'observations
  82. dans le papier de textcite{Tegmark1998}
  83.  
  84. printbibliography
  85. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement