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

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

In-text citing format (APA-style)

Postby Seanshine » Thu Jul 12, 2018 12:38 pm

Dear readers,

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

Related code to the References in the Preamble:

  1. \documentclass[
  2. 11pt,english, onehalfspacing, nolistspacing, liststotoc, headsepline,oneside,
  3. chapterinoneline, reqno, a4paper, toctotoc,
  4. ]{MastersDoctoralThesis}
  5.  
  6. \usepackage[utf8]{inputenc}
  7. \usepackage[T1]{fontenc}
  8. \usepackage{xpatch}
  9. \usepackage{amsthm, amsmath, amssymb, amsfonts, exscale, latexsym, float, eucal, mathtools}
  10. \usepackage{booktabs, threeparttable, adjustbox, textcomp, mathpazo, lipsum}
  11.  
  12. \usepackage[autostyle=true]{csquotes} % Required to generate language-dependent quotes in the bibliography
  13. \usepackage[backend=biber,style=apa, natbib=true]{biblatex}
  14. \DeclareLanguageMapping{english}{english-apa}
  15. \addbibresource{References.bib}
  16.  
  17. \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.

Tags:

User avatar
Johannes_B
Site Moderator
Posts: 3883
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Fri Jul 13, 2018 7:25 am

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

Postby Seanshine » Fri Jul 13, 2018 12:38 pm

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: 9164
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Sat Jul 14, 2018 11:52 am

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
Site admin

Seanshine
Posts: 52
Joined: Sat Apr 28, 2018 9:59 pm

Postby Seanshine » Sat Jul 14, 2018 2:27 pm

Just realised that today :) Thanks!

Any idea on how to hyperref author and year?

User avatar
Stefan Kottwitz
Site Admin
Posts: 9164
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Sat Jul 14, 2018 2:42 pm

You can use \href within the author bib entry.

Stefan
Site admin

Seanshine
Posts: 52
Joined: Sat Apr 28, 2018 9:59 pm

Postby Seanshine » Sun Jul 15, 2018 11:54 am

Could you show how this works in combination with biblatex?

User avatar
Stefan Kottwitz
Site Admin
Posts: 9164
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Sun Jul 15, 2018 12:28 pm

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

Stefan
Site admin

Seanshine
Posts: 52
Joined: Sat Apr 28, 2018 9:59 pm

Postby Seanshine » Sun Jul 15, 2018 4:50 pm

Example:

  1. @article{HOLSTON2017S59,
  2. title = "Measuring the natural rate of interest: International trends and determinants",
  3. journal = "Journal of International Economics",
  4. volume = "108",
  5. pages = "S59 - S75",
  6. year = "2017",
  7. note = "39th Annual NBER International Seminar on Macroeconomics",
  8. author = "Kathryn Holston and Thomas Laubach and John C. Williams",
  9. keywords = "Natural rate of output, Monetary policy rules, Kalman filter, Trend growth"
  10. }


...are known \citep[65]{HOLSTON2017S59}, are even wider....


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 7 guests