I need to cite master thesis and the lecture notes into a document. But the problem with @masterthesis
and @unpublished
citations is they don't print an institution name in the pdflatex
output of bibliography.
`\documentclass{article}
\usepackage{filecontents}
\usepackage[
backend=biber,
style=numeric,
sortlocale=de_DE,
natbib=true,
url=true,
doi=true,
eprint=false
]{biblatex}
\addbibresource{bibliography.bib}
\begin{filecontents}{bibliography.bib}
@masterthesis{bhgt,
title={Bike Model},
author={Fris},
year={2016},
school={University A},
address={XXX}
}
@unpublished{Map,
title = {Electrical Engineering Book},
author={Koch},
howpublished = {Lecture Notes},
Institution= {University B},
year = {2015}
}
}
\end{filecontents}
\begin{document}
Citation Test: \cite{bhgt} and \cite{Map}
\printbibliography
\end{document}`
I get this bibliography output:
[1] Fris. Bike Model. XXX, 2016.
[2] Koch. “Electrical Engineering Book”. Lecture Notes. 2015.
Any suggestions, how we can also print an institute name?
Best Answer
@mastersthesis
(with ans
aftermaster
) instead of@masterthesis
(which doesn’t exist and probably defaults to some other type), thenschool
will appear.The entry type
@unpublished
doesn’t supportschool
, so I’d suggest usingnote
instead, as is recommended in thebiblatex
documentation:You could also use the field
addendum
, which would appear at the very end.It would probably be more proper and clean to redefine the output of
@unpublished
to includeschool
/institution
, but as a one-off solution, this should be fine.Here’s the output:
As a side note: The official field names in
biblatex
areinstitution
, notschool
; andlocation
, notaddress
, but the latter ones do work as aliases.