Am Freitag, 28. Juli 2006 12:13 schrieben Sie: > Wolfgang Engelmann wrote: > > > Is there an easier way to replace > > > cite{ > > > with > > > citealt{ > > > as to run a replace in the lyx document? > > How about: > \renewcommand{\cite}{\citealt}
Good. And easy. And thanks. > > > a ps: > > The problem with the replace is, that it does not differentiate between > > as shown (Miller 2001) > > as shown by Miller (2001) > > > > the replacement gives > > as shown (Miller 2001) > > as shown by Miller 2001 > > > > apparently latex decides by the parantheses which one is used. > > > > So, some global way (\bibpunct?) would be better. Which one? > > \bibpunct does not differentiate between the brackets around the year and > those around the whole citation. So you have to use two different cite > styles, or add the brackets manually. so far I have imported the bib file via jabref. But if I click on the particular citation box which should give as shown by Miller (2001) and select this particular style, it is done the way I want it. And since there are not many cases where this is needed, it is easily done. Should have thought of it before. Thanks to all the helpfull people. Wolfgang > > Jürgen -- --------------------------------- Wolfgang Engelmann Schlossgartenstrasse 22 D-72070 Tübingen Tel 07071 68325