I'm typing a linguistics Master's Thesis and have to use a custom class that our thesis office gives us. Then, I have to use the style that is set by the Linguistic Society of America for citations and references. The only problem is that I don't know the code well enough to see what I have to tweak to make everything work well with each other.
The custom thesis class code that I have to use for my thesis is here: https://copy.com/qgo0XqdfrGOryQp2
The custom bibtex style sheet (which is based off the Linguistic Society of America's style guide) code is the language.bst file on artstein dot org's website (sorry I don't have enough reputation to post more than two links, it's an easy search in google).
Basically I need to remove the comma after the Author name in the citation so it doesn't look like APA style and looks like LSA style (which I think the author of the language.bst) based his code off the APAcite code and so it still retains the comma. How can I remove it based on the code?
The biggest problem is the page that should have "References" as the header appears like this (the actual reference here is correct, I just need to get rid of Appendix C, the asterisk, and Bibliography and should have "References" centered at the top of the page):
In case you need to know, I get this error the first time after running BibTeX:
This is my .bbl file code:
\begin{thebibliography}{1}
\providecommand{\natexlab}[1]{#1}
\providecommand{\url}{\relax}
\providecommand{\urlprefix}{Online: }
\bibitem[{Levon(2007)}]{Levon07}
\textsc{Levon, Erez}. 2007.
\newblock {Sexuality in context}.
\newblock \emph{Language in Society} 36.533--554.
\end{thebibliography}
I'm at my wit's end. My department isn't LaTeX heavy and I can't find anyone to help me with this. The thesis office can't help as the code was given to them by some guy who made it back in 1994 and has retired since. I'm the first to attempt to type my thesis in LaTeX. I do NOT want to have to resort to having to use Word. Anyone out there who enjoys a challenge willing to help me?
Thank you so much in advance!
Here is a link to an MWE: https://copy.com/AdfVqGIIWqR6ed1u You will need to download all the files or it won't work. Just open up the MyThesis.tex file. I put the citation in the abstract.tex file.
Best Answer
The class has a definition for
thebibliography
which really can't be recommended (add a\usepackage{showframe}
to see what I mean), and for some reason it is not getting used. However, if you add the following:to your document, the error about
\newblock
not being defined will go away. You can add it to the main file as in the example below, or put the above definition into your own.sty
(called, say,languagebstfix.sty
) and load it with\usepackage
.Note also that there is a similar
.cls
called uuthesis2e.cls. The differences seem superficial, but maybe it represents the 'preferred' version..?As for this: ---
--- with recent versions of
natbib
, and as in the updated answer below, you can simply write:Updated answer
Given the very custom spacing the class uses for its environments (all essentially localized versions of
\list
with different settings), I think it is better to forgo the class'\def
of\thebibliography
and use one based off of thereport
class, but tweaked for use withuuthesis.cls
(still not sure why there is also auuthesis2e.cls
-- they seem at least mostly the same). So, here's how'd I do it:One thing you might want to consider, depending on how 'into' the TeX world you become, is creating your own thesis that adheres to your university's regulations. You don't need to make a whole
.cls
by any means, and by doing so, you will learn much more about how things fit together. Thesis requirements may often be draconian and typographically questionable, but they are usually quite easy to follow. (The difficulty is often managing to make the thing look nice despite the requirements for double-spacing, and so forth. And the danger is that it can become a sometimes-fun, sometimes-frustrating way to 'waste' time...)