12

How can I remove the word (Technical report) from the output of bibtex when using Harvard style?

@techreport{doornik1994practical,
  title={A practical test for univariate and multivariate normality},
  author={Doornik, J.A. and Hansen, H.},
  year={1994},
  institution={Nuffield College, Oxford, UK, Discussion paper}
  type={~},
}
egreg
  • 1,121,712
Fatema
  • 133
  • Welcome to TeX.SX! Can you provide us with a minimal working example? – Betohaku Feb 14 '14 at 15:44
  • "Harvard" citation style, aka author-year citation style, is compatible with lots and lots of BibTeX bibliography styles -- which one do you use? (It's the argument of the \bibliographystyle command that's of interest.) – Mico Feb 14 '14 at 17:45

1 Answers1

11

You can use a trick:

\begin{filecontents*}{\jobname.bib}
@techreport{doornik1994practical,
  title={A practical test for univariate and multivariate normality},
  author={Doornik, J.A. and Hansen, H.},
  year={1994},
  institution={Nuffield College, Oxford, UK, Discussion paper},
  type={\notype},
}
\end{filecontents*}
\documentclass{article}
\usepackage{harvard}
\newcommand\notype[1]{\unskip}

\begin{document}
\nocite{*}
\bibliographystyle{agsm}
\bibliography{\jobname}
\end{document}

enter image description here

On the other hand, I believe that “Discussion paper” is the type:

\begin{filecontents*}{\jobname.bib}
@techreport{doornik1994practical,
  title={A practical test for univariate and multivariate normality},
  author={Doornik, J.A. and Hansen, H.},
  year={1994},
  institution={Nuffield College, Oxford, UK},
  type={Discussion paper},
}
\end{filecontents*}
\documentclass{article}
\usepackage{harvard}

\begin{document}
\nocite{*}
\bibliographystyle{agsm}
\bibliography{\jobname}
\end{document}

enter image description here

Note that I used the filecontents* environment just to make the example self contained. Use your normal method with a separate bib file.

egreg
  • 1,121,712