Thanks Justin,
I have also gotten an answer myself as well. The solution for such question is rather simple. What it wants in Lyx is only to add an option 'authoryear' for the class. It is from the official introduction. Thanks again for your concrete answer. Jun Jun Gu, PhD Student Department of Accounting and Finance Lancaster University Management School Lancaster University Lancaaster LA1 4YX United Kingdom From: [email protected] [mailto:[email protected]] On Behalf Of Justin Wood Sent: Friday, December 17, 2010 11:20 AM To: LyX Users List; Jun Gu Subject: Re: Questions on elsarticle This has probably already been answered, but if not: you need to use BibTeX and select an author-date style. Check out section 6.5 (Bibliography) of the User Guide, and http://wiki.lyx.org/BibTeX/BibTeX (hmm, I thought there was a page with step by step instructions but can't see to find it). Basically you need four things (assuming LyX 1.6.8): 1. A BibTeX database .bib file containing your citation records. This is done outside of LyX; utilities abound... I personally use the superawesome LyZ utility <http://www.klubko.net/wp/?page_id=945&lang=en> to handle this for me from my Zotero <http://www.zotero.org/> reference database in Firefox. 2. Set your document to use BibTeX: Document Settings - Bibliography, select Natbib with Author-year 3. Insert a Bibliography in your document using Insert - List/TOC - BibTeX bibliography, and point to the .bib file - you'll probably have to browse to it unless you install it in the relevant directory of your LaTeX distro (which is worth doing in my opinion; I hardlink from there back to where I store the real file). 4. In that same dialogue, you choose the citation style. plainnat is the default and works okay but it uses square brackets not parentheses by default. Personally I use Chicago style, via this .bst <http://www.digitas.harvard.edu/cgi-bin/wiki/ken/McBride> (which again needs to be installed in your LaTeX distro). The actual citation style I think is the weak link in the chain. I could well be missing something, but it struck me as overly difficult to get a 'proper' author-year format in the manner you describe. Apologies if I've misunderstood what you're after! 2010/12/17 <[email protected]> ---------- Forwarded message ---------- From: "Jun Gu" <[email protected]> To: <[email protected]> Date: Thu, 16 Dec 2010 17:55:39 +0800 Subject: Questions on elsarticle Dear Members, I am using the template from Lyx for a manuscript which requires author-year citation in text. However, no matter what kind of efforts I have made, the citation doesn't work but only with a numeral ID at the end of the citation. Taking an example as Jones (1995). What I want is 'Jones (1995) constructed a model that .', while the final result after transferring it to PDF shows 'Jones (1995) [1]'. Would anyone of you provide some suggestion for such a case? All the best, Jun Jun Gu, PhD Student Department of Accounting and Finance Lancaster University Management School Lancaster University Lancaaster LA1 4YX United Kingdom
smime.p7s
Description: S/MIME cryptographic signature
