Skip to content

Instantly share code, notes, and snippets.

@moewew
Created June 24, 2019 20:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moewew/bea2ef284ccd11041b2d5949622ff9d3 to your computer and use it in GitHub Desktop.
Save moewew/bea2ef284ccd11041b2d5949622ff9d3 to your computer and use it in GitHub Desktop.
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[style=authoryear, backend=biber]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
% crossref to a speicfic number of a @periodical
@article{sigfridsson,
author = {Sigfridsson, Emma and Ryde, Ulf},
title = {Comparison of methods for deriving atomic charges from the
electrostatic potential and moments},
crossref = {jcc:19.4},
pages = {377-395},
doi = {10.1002/(SICI)1096-987X(199803)19:4<377::AID-JCC1>3.0.CO;2-P},
}
@periodical{jcc:19.4,
title = {Journal of Computational Chemistry},
date = 1998,
volume = 19,
number = 4,
}
% crossref to the journal
@article{springer,
author = {Springer, Otto},
title = {Mediaeval Pilgrim Routes from {Scandinavia} to {Rome}},
crossref = {medstud},
date = 1950,
volume = 12,
pages = {92-122},
}
@periodical{medstud,
title = {Mediaeval Studies},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\cite{sigfridsson,springer}
\printbibliography
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment