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 need APA style hanging references using \fullcite. For example

enter image description here

I need \fullcite because I want the reference cited where I want in the document, unlike at the end of the document using \cite.

How can I do this?

share|improve this question

1 Answer 1

up vote 8 down vote accepted

Update

The latest version of biblatex-apa (2.6 or above) now fixes this problem, so you should update rather than use the solution below. biblatex-apa now provides two commands: \fullcite which makes an inline reference (with no hanging indent) and \fullcitebib which makes a fake bibliography entry, with a hanging indent.

If you are making a categorised bibliography for a CV, for example, there are better ways to achieve this than using multiple \fullcitebib commands.

Original answer

The problem is that the standard \fullcite command in biblatex assumes that the full citation should be included in the text. So what's needed is to redefine the \fullcite command so that it actually makes a small bibliography when called. Here is the code:

\documentclass{article}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[style=apa]{biblatex}
\DeclareLanguageMapping{american}{american-apa}
\bibliography{biblatex-examples}
\DeclareCiteCommand{\fullcite}
      {\renewcommand{\finalnamedelim}
           {\ifnum\value{liststop}>2 \finalandcomma\fi\addspace\&\space}
       \begin{thebibliography}\thebibitem}
      {\usedriver
         {\DeclareNameAlias{sortname}{default}}
      {\thefield{entrytype}}\finentry}
      {\thebibitem}
      {\end{thebibliography}}

\begin{document}

\fullcite{reese} % This citation will appear in the text

%\printbibliography % if you also have a bibliography

\end{document}

This should now do what you want.

For multiple citations, the citations aren't sorted automatically, but appear in the order in the fullcite command. This is because the apa style sets sortcites=false; to get the \fullcites to be sorted you can add sortcites=true to your biblatex options, but I suspect this will make other citations not fully APA compatible.

I should mention that the \fullcite command is not really appropriate for making larger lists of references; biblatex has other ways to make partial bibliographies.

share|improve this answer
    
This one works, but I need APA style references. \usepackage[style=apa]{biblatex} does not work. –  y2p Mar 13 '11 at 3:13
    
Sorry about that. I've updated my answer. Does this example work for you? –  Alan Munn Mar 13 '11 at 5:11
    
This is what I had initially. But this does not give "hanging references". –  y2p Mar 13 '11 at 5:42
    
Now I see. (If you had included this example in your question we might have progressed a little faster. :-) ). The problem is that the biblatex-apa doesn't define a \fullcite command, and so uses the biblatex default, which assumes that the reference should blend in with the rest of the text. What exactly are you trying to do with these \fullcites anyway? Maybe there's an alternative. –  Alan Munn Mar 13 '11 at 5:46
    
Sorry about not putting it before, in the question? I need \fullcite to be able to put the whole citation in the document with other text. I want to be able to put text around these citations. Unlike doing, for example, [1] and the citation if at the end of the document. And these citations need to be hanging and in APA style –  y2p Mar 13 '11 at 6:25

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.
http://tex.stackexchange.com/questions/13272/hanging-references-using-fullcite
tex.stackexchange.com
crawl=CC-MAIN-2015-27
75811
application/http; msgtype=response
sha1:OY75DMKUYNI7D5ED2LWISBRDAGUTT4AP
<urn:uuid:e082b63b-67a7-4994-9430-398e030006e3>
2015-07-06T13:43:36Z
104.16.12.13
sha1:OZTDA7U3DQ6S57XUKR7POBESH3FS2XS2
<urn:uuid:d072076a-d779-41f0-bf51-b74aa737fab0>
http://tex.stackexchange.com/questions/13272/hanging-references-using-fullcite
length
response
<urn:uuid:3eda781c-ca8e-4163-b216-cf2e1d289e94>
robots: classic
hostname: ip-10-179-60-89.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2015-27
operator: CommonCrawl Admin
description: Wide crawl of the web for June 2015
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf