BibTeX, biblatex and biberIn-text citing format (APA-style)

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
Seanshine
Posts: 52
Joined: Sat Apr 28, 2018 9:59 pm

In-text citing format (APA-style)

Post by Seanshine »

Dear readers,

I am experiencing some issues with the formatting of the citations:

Related code to the References in the Preamble:

Code: Select all

\documentclass[
11pt,english, onehalfspacing, nolistspacing, liststotoc, headsepline,oneside, 
chapterinoneline, reqno, a4paper, toctotoc,
]{MastersDoctoralThesis}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{xpatch}
\usepackage{amsthm, amsmath, amssymb, amsfonts, exscale, latexsym, float, eucal, mathtools}
\usepackage{booktabs, threeparttable, adjustbox, textcomp, mathpazo, lipsum}

\usepackage[autostyle=true]{csquotes}  % Required to generate language-dependent quotes in the bibliography
\usepackage[backend=biber,style=apa, natbib=true]{biblatex}
\DeclareLanguageMapping{english}{english-apa}
\addbibresource{References.bib}

\printbibliography[heading=bibintoc, title={References}]
For example, if I want the citation to have the following forms:
(1) X and Y (YEAR, p. Z)
(2) ..... (YEAR, p. Z)

However, how does one achieve this? The result in latex is X and Y, YEAR, p. Z; without the round brackets. A citation without author and just the year and the page seems even more complicated to achieve.

Looking forward to the replies.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

In-text citing format (APA-style)

Post by Johannes_B »

The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Seanshine
Posts: 52
Joined: Sat Apr 28, 2018 9:59 pm

In-text citing format (APA-style)

Post by Seanshine »

Hi Johannes,

A few more questions regarding the formatting of citations:

* In the list with references, only the first word is capitalised. Even though in the title section of the .bib file more words start with a capital. How can one solve this?
* I saw that the first time you cite a paper, all authors are mentioned. After the first citation, this changes to 'et al.', is there a way to make this standard in all scenarios? Is there a way to make 'et al.' italic?
* Furthermore, how can one cite manuals. For example, I used a manual of the International Monetary Fund who explain how they seasonally adjust data. Similarly, I used a manual that explains the X13-SEATS procedure (for seasonal adjustment).
* Lastly, is there a way to extend the hyperref to the author(s), year, and pages; instead of only the year.

Thanks for the help! I've learned a lot over the course!
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

In-text citing format (APA-style)

Post by Stefan Kottwitz »

Hi,
Seanshine wrote:In the list with references, only the first word is capitalised. Even though in the title section of the .bib file more words start with a capital. How can one solve this?
enclose the title in additional curly braces,

Stefan
LaTeX.org admin
Seanshine
Posts: 52
Joined: Sat Apr 28, 2018 9:59 pm

In-text citing format (APA-style)

Post by Seanshine »

Just realised that today :) Thanks!

Any idea on how to hyperref author and year?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

In-text citing format (APA-style)

Post by Stefan Kottwitz »

You can use \href within the author bib entry.

Stefan
LaTeX.org admin
Seanshine
Posts: 52
Joined: Sat Apr 28, 2018 9:59 pm

In-text citing format (APA-style)

Post by Seanshine »

Could you show how this works in combination with biblatex?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

In-text citing format (APA-style)

Post by Stefan Kottwitz »

Possibly - do you have sample code that needs a hyperlink?

Stefan
LaTeX.org admin
Seanshine
Posts: 52
Joined: Sat Apr 28, 2018 9:59 pm

In-text citing format (APA-style)

Post by Seanshine »

Example:

Code: Select all

@article{HOLSTON2017S59,
title       =   "Measuring the natural rate of interest: International trends and determinants",
journal     =   "Journal of International Economics",
volume      =   "108",
pages       =   "S59 - S75",
year        =   "2017",
note        =   "39th Annual NBER International Seminar on Macroeconomics",
author      =   "Kathryn Holston and Thomas Laubach and John C. Williams",
keywords    =  "Natural rate of output, Monetary policy rules, Kalman filter, Trend growth"
}
...are known \citep[65]{HOLSTON2017S59}, are even wider....
Post Reply