LyXHarvard BibTeX Style — 'et al' not italic in References

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
dexterlemmer
Posts: 2
Joined: Fri Jul 29, 2011 1:08 pm

Harvard BibTeX Style — 'et al' not italic in References

Post by dexterlemmer »

My references and bibliography should be in the Harvard style. However, in references with many authors, the "et al" part should be in italics (but it isn't).

I'm using LyX v 2.0.0 and MikTeX v 2.9.
I've downloaded the style files (*.bst, for example agsm.bst) from all over and other requirements (such as harvard.sty) was downloaded automatically when LyX/LaTeX/PDFLaTeX/whatever detected they were missing.

I've tried most possible combinations of the following settings:
> Setting 1) Document class: Either article or article(AMS)
> Setting 2) I've also changed the citation style to be one of the following:
2.1) Natbib (Author-year)
2.2) Harvard
> Setting 3) Setting the style as one of the following: agsm, apsr, dcu, kluwer.

To choose setting 2.1:
2.1.1) Document > Settings: Bibliography: Citation Style: Choose Natbib
2.1.2) In the same dialog: Natbib style = Author-year
2.1.3) Document > Settings: LaTeX Preamble: <Empty>

To choose setting 2.2:
2.2.1) Document > Settings: Bibliography: Citation Style: Choose Default
2.2.2) Document > Settings: LaTeX Preamble:

Code: Select all

\usepackage{hyperref}
\usepackage{harvard}
\renewcommand{\harvardurl}{URL:\url}
Here is an example of my *.lyx file (with Setting 1= article(AMS), Setting 2=2.1 (Harvard) and Setting3= agsm):

Code: Select all

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass amsart
\begin_preamble
%\usepackage{hyperref}
%\usepackage{harvard}
%\renewcommand{\harvardurl}{URL:\url}
\end_preamble
\use_default_options true
\begin_modules
theorems-ams
eqs-within-sections
figs-within-sections
\end_modules
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\use_mhchem 1
\use_mathdots 1
\cite_engine natbib_authoryear
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Section
Section
\end_layout

\begin_layout Standard
Testing: 
\begin_inset CommandInset citation
LatexCommand citep
key "Delalandre.etal2010"

\end_inset

.
\end_layout

\begin_layout Standard
\begin_inset CommandInset bibtex
LatexCommand bibtex
bibfiles "E:/Documents/Vakke/Meesters/DocumentRecognition/DocumentRecog"
options "E:/Documents/Programs/Programmering/LaTeX/BibTeX/Harvard_PUK/agsm"

\end_inset


\end_layout

\end_body
\end_document

Here's part of my bibtex file:

Code: Select all

% This file was created with JabRef 2.6.
% Encoding: Cp1252

@ARTICLE{Delalandre.etal2010,
  author = {Mathieu Delalandre and Ernest Valveny and Tony Pridmore and Dimosthenis
	Karatzas},
  title = {Generation of synthetic documents for performance evaluation of symbol
	recognition \& spotting systems},
  journal = {International Journal on Document Analysis and Recognition},
  year = {2010},
  volume = {13},
  pages = {187-207},
  number = {3},
  owner = {Administrator},
  timestamp = {2011.05.25},
  url = {http://portal.acm.org/citation.cfm?id=1858548}
}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
paul
Posts: 49
Joined: Thu Apr 08, 2010 5:56 am

Harvard BibTeX Style — 'et al' not italic in References

Post by paul »

dexterlemmer wrote:My references and bibliography should be in the Harvard style. However, in references with many authors, the "et al" part should be in italics
Are you sure? The Chicago Manual of Style says it should not be italicized...
dexterlemmer
Posts: 2
Joined: Fri Jul 29, 2011 1:08 pm

Re: Harvard BibTeX Style — 'et al' not italic in References

Post by dexterlemmer »

Sorry. It seems my university uses a modified version of the Harvard style. At my university, "et al" should be italicized. I've confirmed this with both my study leader and a librarian.
gari
Posts: 1
Joined: Mon Sep 05, 2011 1:09 pm

Harvard BibTeX Style — 'et al' not italic in References

Post by gari »

I found this in another forum, I hope it helps:
How to typeset "et al." in italics: Copy the file plainnat.bst (located in the \bibtex\bst\natbib subdirectory of your TeX distribution) into your working directory and rename it to, say, myplainnat.bst. (Later, this file should be placed in your local TEXMF tree). In the renamed copy, search for the string " et~al." * (there should be four instances) and replace every instance with " \emph{et~al.}" *. In your .tex file, use \bibliographystyle{myplainnat}.
Source: http://tex.stackexchange.com/questions/ ... o-et-al-no
pfeiffer
Posts: 1
Joined: Thu Nov 03, 2011 6:15 pm

Harvard BibTeX Style — 'et al' not italic in References

Post by pfeiffer »

Hello,

I found this PDF, maybe it may help!
http://tex.loria.fr/bibdex/harvard.pdf

Cheers,

Michael Pfeiffer
amyfg
Posts: 1
Joined: Mon Nov 28, 2011 11:49 am

Re: Harvard BibTeX Style — 'et al' not italic in References

Post by amyfg »

Hi,
I know this is an old thread but in case of future searches: I finally got this to work. What you need to do is open the agsm.bst file. For every instance of et~al it needs to be changed to \emph{et~al}. I think there are maybe four instances. Then it will italicise et al in your thesis.

Hope this helps

Amy
Loddi
Posts: 1
Joined: Tue Nov 29, 2011 3:33 am

Harvard BibTeX Style — 'et al' not italic in References

Post by Loddi »

Hi Latex experts,

thank you for this thread, it helped me a lot in fixing the "et al." issue for my apalike bibtex citation style. However, I have one small problem that is a little bit related to the first one: I would like to have the authors last names in the citation printed in small caps (using the "\scaps{}" command). So that my citations look like this: (OBAMA et al., 2011). I already found the piece of code where things happen:

Code: Select all

%			There are three apalike cases: one person (Jones),
%			two (Jones and de~Bruijn), and more (Jones \emph{et~al.}).
%			This function is much like format.crossref.editors.
%
FUNCTION {format.lab.names}
{ 's :=
  s #1 "{vv~}{ll}" format.name$
  s num.names$ duplicate$
  #2 >
    { pop$ " \emph{et~al.}" * }
    { #2 <
	'skip$
	{ s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
	    { " \emph{et~al.}" * }
	    { " \& " * s #2 "{vv~}{ll}" format.name$ * } % " and " --  BJR 10/5/89
	  if$
	}
      if$
    }
  if$
}
but regardless where and what i try to wrap in "\scaps{}", I get errors. I would really appreciate your help.

Thank you very much & kind regards,
Loddi
Post Reply