# Biblatex citations first and last author only

I would like to include only the first and the last author in my citations within the text. In case, there are only two authors, they should be connected by 'and'. For more than two authors, the remaining author names should be replaced by dots.

• (1 author ) John Doe (2004)
• (2 authors) John Doe and Peter Noel (2004)
• (3 authors) John Doe, ..., Peter Noel (2004)

What I am looking for is some way of formatting it, so that the following commands, in particular 'FirstLast' gives me the desired output.

``````\DeclareCiteCommand{\longcite}{}{%
\printnames[FirstLast]{author} (\printfield{year}),
\printfield{journaltitle}}{;}{}
``````

So my question is, what should FirstLast look like, to get the desired output?

-

Here is a possible redefinition of `FirstLast` name formatting directive

``````\DeclareNameFormat{FirstLast}{%
\ifthenelse{\value{listtotal}=1}
{\ifthenelse{\value{listtotal}=2}
{\ifthenelse{\value{listcount}<\value{listtotal}}
{\ifthenelse{\value{listcount}=1}
You have to set `maxcitenames` to a large value (e.g., 999) otherwise it is truncated as in the example you report. `maxcitenames` is an option of `biblatex` –  Guido Oct 18 '13 at 22:47