Format of references with BibTex
With Bibtex one can add references to other articles in the text that by adding numbers in square brackets (e.g [2]).
As explained in this post, it is also possible to format the reference in the standard author (year) with natbib citation management package and the plainnat bibliography style.
Example of having two different formats in one article
However, there is often a need for two different reference formats in the same article. A format that is used when the authors are subject or objects of a sentence and a format when the references are added in parentheses. Consider for example an extrait from Charlesworth et al. 1997:
[..] frequency of the common allele (Nordborg et al., 1996b). As discussed by Nordborg et al. (1996b), the exact model of [..]
Here there are two formats for the (same) reference
author (year)author, year
Question
Is it possible to have a system that allow to specify at each \cite{} what format we want to use (without messing up with the bibliography at the end)?
I suggest to use the above two formats (author (year) and author, year) as example.
natbibprovides two citation commands for it:\citetwhich yieldsName (xxxx)and\citepwhich yields (Name, xxxx).biblatexhas similar facilities with its\textciteand\parencite. – Alan Munn Feb 03 '16 at 01:13