My preferred citation style using biblatex
is the numeric-comp
style with theautocite=superscript
option. However occasionally I need to refer to a specific reference in text and thus would like to switch to something like authoryear
in this instance.
Using \textcite
just negates the superscript option. Is it possible to write a new function that allows me to mix the two citation styles?
MWE:
\documentclass{report}
\begin{filecontents}{example.bib}
@article {Example_article,
AUTHOR = {Author, A. B.},
TITLE = {A example paper},
JOURNAL = {Example journal},
VOLUME = {1},
YEAR = {2018},
NUMBER = {1},
PAGES = {1-100}}
\end{filecontents}
\usepackage[style=numeric-comp,
autocite=superscript,
backend=biber
]{biblatex}
\addbibresource{example.bib}
\begin{document}
I normally cite like this \autocite{Example_article} which is great but sometimes I want to do this \textcite{Example_article} but it doesn't seem to to work.
\end{document}
This produces:
I normally cite like this1 which is great but sometimes I want to do this Author [1] but it doesn’t seem to to work.
when what I would like is:
I normally cite like this1 which is great but sometimes I want to do this Author (2018) but it doesn’t seem to to work.
preferably only one author et al. (year) is listed when there are multiple authors.
Author (2018)
unless there's a bibliography entry labelled something likeAuthor, First names (2018)
. What would the label refer to? Author-year is just like a numerical style: it uses labels in the text and those labels match sources in the bibliography. If nothing is labelled that way, it makes no sense to use the label in the text. Also, the bibliography is organised to make the labels easy to find: 1, 2 ... for numeric; A, B ... fro author-year. – cfr Feb 16 '18 at 3:29\textcite
does it is right. If I want to follow up the reference, I expect you to tell me the label which is assigned to that reference in your bibliography. I don't expect to have to trawl through half a dozen pages of sources searching for the relevant one. And it isn't about sayingby reference
.\textcite
will give youby Author
. It will just also give you the label rather than some fragment of the content of an entry with a label you don't bother to share. The point of these systems is to make it easy to find stuff. If the year's important, include it, but also the label. – cfr Feb 16 '18 at 4:26