6

I create a .bib file

@article {HanKumar2011,
author = {Han, Bing and Kumar, Alok},
title = {Speculative Retail Trading and Asset Prices},
journal = {Journal of Financial and Quantitative Analysis (JFQA)},
volume = {Forthcoming},
year = {2011},
}

I then import this file into by .lyx file by doing insert > list/toc > bibtex bibliography. I select the database as the file I have created. The style I select as plainnat. I then go to cite the paper via insert > citation, add the particular id, the preview of the actual cite seems to show up fine. However the problem is that the only citation style available is [#ID] under formatting. I need one that allows me to do author (yyyy). I can't seem to fix this. Does anyone know what's going on?

0

1 Answer 1

9

Seems you have to activate this in the settings, so go to Document --> Settings --> Bibliography, and choose Natbib and author-year as citation style. Then you'll have more styles to choose from.

enter image description here

7
  • Is there an example list of styles available, so I can predict what will be generated? Jun 18, 2013 at 11:57
  • Note -- it doesn't seem sufficient to change the citation style of your master document. I had to also change it for each child document before the natbib options appeared in the citation dialogue.
    – Desty
    Jun 8, 2014 at 17:24
  • I have changed this in my document and changed each citation style to (Surname, year). The LyX preview shows the citation style I want. However, the resulting PDF remains in the numeric [1] style. (LyX 2.1 on Windows)
    – badp
    Jul 29, 2014 at 14:49
  • 1
    @badp Which bibliography style are you using? Works fine here with plainnat. Jul 29, 2014 at 19:16
  • @TorbjørnT. Ooooh, good catch! You also have to set your bibliography section to use plainnat instead of plain.
    – badp
    Jul 29, 2014 at 19:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.
https://tex.stackexchange.com/questions/74570/lyx-bibliography-citation-style
tex.stackexchange.com
crawl=CC-MAIN-2022-21
228180
application/http; msgtype=response
sha1:TQNMQUQGG65QYEURRVRXFWQWRBZ75VWO
<urn:uuid:f4621c2e-7727-4fe9-8b03-a6da51ae11e4>
2022-05-21T09:15:48Z
151.101.65.69
text/html
sha1:FY65F676OKUXZASOMQXUGNWFCOY3RVH5
<urn:uuid:1314d4d8-d94e-4ea6-8551-8cd533e2e88a>
https://tex.stackexchange.com/questions/74570/lyx-bibliography-citation-style
response
<urn:uuid:b37f64f3-d3b9-4fc5-b178-da854bce5409>
isPartOf: CC-MAIN-2022-21
publisher: Common Crawl
description: Wide crawl of the web for May 2022
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-253
software: Apache Nutch 1.18 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.3-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/