Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am using LyX and would like to know if it is possible to specify which citation command should be used by default for the "Insert -> Citation" function from the menu.

Specifically I am using natbib and would like to use \citep{key} when using "Insert -> citation"

share|improve this question
1  
It seems to use the previously used citation style, so if you add one citation using the enclosed-in-parenthesis citation style (\citep), that is used for the following citations as well (until you use a different one). –  Torbjørn T. Sep 5 '13 at 11:49
add comment

1 Answer

There is no option for this at the moment, though there is an open ticket in the bug tracker requesting the feature:

However, in the last comment on that ticket there is a possible workaround, so you could take a look at that.

Also, LyX will remember the last used style, so if you add one reference and change it to the (<author>, <year>) style, that will be chosen for any new citations you add, until you change the style of a citation.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.