Jacob Bishop <bishop.ja...@gmail.com> írta: >>1. How can I set options for the natbib package? The stuff that goes >>>>between [], like \usepackage[options]{natbib}. As I see lyx adds only >>'authoryear' or 'numbers' as options, but how can >>I add other options, eg. 'merge'?
>Although it seems strange (to me), you actually pass package options in >document -> settings under document class, there is a "class >options" frame, >and in that frame there is a textbox for custom options. That is where >you add them. This is documented in the LyX User's guide (in >help->user's guide) section B.1 Thank you, but I guess this is not correct. In my opinion the option field you mention is not for adding/changing options for a package loaded by \usepackage. It is for changing document class load options, in my case it is article.cls (artlicle.layout in lyx). Or is there a way I don't know of? As I see, currently I have two possibilities in lyx: either load natbib manually in the preamble by the required options, and then lyx will not add the correct \citet and \citep commands when citations are inserted. Or I can make lyx load natbib by checking Document -> Settings -> Bibliography -> Natbib. In this case lyx will insert correct \citet, \citep etc. citations but I can not customize natib options as needed. >>2. I have a document where all the citations, even those which are >>>>neighbors, are inserted separately. This results in separate citations in >>>>the output as well: (Smith et al., 1995)(Jones et al., 2003), which is >>ugly. >>Is it possible to get a single output [like (Smith et al., 1995; >>Jones et al., >>2003)] without moving all neighboring citations into one >>group? It would >>be really tedious work to group them now. > >Not that I am aware of.I hope this helps.Jacob Thanks, bcsikos