umasscs / umassthesis

Unofficial UMass thesis style files for use with LaTeX
60 stars 45 forks source link

Bibliography change #25

Open JJFitts opened 6 years ago

JJFitts commented 6 years ago

This is my first time posting on this site, so I hope I'm doing this correctly.

At the end of my latex file, I tried changing

\interlinepenalty=10000 \bibliographystyle{umassthesis} \bibliography{central-bibliography}

to

\interlinepenalty=10000 \bibliographystyle{apalike} \bibliography{central-bibliography}

This usually works to change the math-style bibliography/in-text citations to APA ones. (central-bibliography is my .bib file that I keep in ~/Library>texmf>bibtex>bib on my Mac.).

However, when I change umassthesis to apalike, the in-text citations and bibliography are messed-up looking. Instead of, e.g.,

Schiffer (2003)

in the text and

Schiffer, S. (2003). The Things We Mean. Oxford: Oxford University Press.

in the bibliography, I get the following. In the text I get:

[Schiffer, 2003]

And in the bibliography I get:

[Schiffer, 2003] Schiffer, S. (2003). The Things We Mean. Oxford: Oxford University Press.

denkav commented 6 years ago

Without seeing an MWE (Minimal Working Example) it's hard to be sure what the issue is, but here's what I did to fix the issue with the generic sample .tex file in this repo.

Load the natbib package by including \usepackage{natbib} in your preamble (before \begin{document}). Instead of \cite, use \citet (text citation) for Name (Year) format. Without more info this is just a stab in the dark, but hope it helps!

JJFitts commented 6 years ago

Brilliant -- thank you!