[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Citations with org-ref in apa style
From: |
Lars Bjørndal |
Subject: |
Re: [O] Citations with org-ref in apa style |
Date: |
Fri, 26 May 2017 13:24:03 +0200 |
User-agent: |
Mutt/1.8.0 (2017-02-23) |
On Thu, May 25, 2017 at 08:36:28PM -0400, John Kitchin wrote:
> I guess you should change
> #+LATEX_HEADER:
> \usepackage[citestyle=authoryear-icomp,bibstyle=authoryear,
> hyperref=true,backref=false,maxcitenames=3,url=true,
> backend=biber,natbib=true]
> {biblatex}
> to
> #+LATEX_HEADER: \usepackage[american]{babel}
> #+LATEX_HEADER: \usepackage{csquotes}
> #+LATEX_HEADER: \usepackage[style=apa]{biblatex}
> #+LATEX_HEADER: \DeclareLanguageMapping{american}{american-apa}
Thank you very much!
After a bit of fiddling, I got it. The headers I have now, and which
work, are:
#+LANGUAGE: no
#+OPTIONS: toc:nil timestamp:nil time:nil
#+LATEX_CLASS: article
#+LaTeX_CLASS_OPTIONS: [a4paper,norsk,12pt,listings-bw,microtype]
#+LATEX_HEADER: \usepackage{babel}
#+LATEX_HEADER: \usepackage{fancyhdr}
#+LATEX_HEADER: \usepackage{csquotes}
#+LATEX_HEADER: \usepackage[backend=biber,style=apa]{biblatex}
#+LATEX_HEADER: \DeclareLanguageMapping{norsk}{norsk-apa}
#+LATEX_HEADER: \usepackage{lastpage}
#+LATEX_HEADER: \usepackage{hyperref}
#+LATEX_HEADER: \usepackage{url}
#+Latex_header: \addbibresource{~/mydoc/smartlaring/ref.bib}
#+BIBLIOGRAPHY: ~/mydoc/smartlaring/ref apa
#+Latex_header: \linespread{1.4}
Again, thank you!
Lars
> On Thu, May 25, 2017 at 05:36:07PM +0100, Eric S Fraga wrote:
> > On Thursday, 25 May 2017 at 11:47, Lars Bjørndal wrote:
> > > Hi, list!
> > >
> > > I'm currently writing an exam in org-mode with org-ref,
> installed from
> > > elpa. I think the institution expects to get the referances in
> apa
> > > style. So I wonder if I can do that, and how I can do it.
> >
> > Have you tried? What happens?
> Well, to be honest, I don't know what to replace the line in
> question
> with. I'm a novice both in LaTeX and in org-mode/org-ref.
> Lars
>
> References
>
> 1.
> http://mirrors.ibiblio.org/CTAN/macros/latex/contrib/biblatex-contrib/biblatex-apa/biblatex-apa.pdf
> 2. http://kitchingroup.cheme.cmu.edu/
> 3. mailto:address@hidden