Text FormattingReference Style "apalike"

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
behrooz66
Posts: 2
Joined: Sun Jul 26, 2015 2:32 pm

Reference Style "apalike"

Post by behrooz66 »

I would like to use "apalike" reference style in my thesis. I use "\bibliographystyle{apalike}" but nothing changes and citations are still like [5]. I try to remove "numbers" from \usepackage[square, numbers, comma, sort&compress]{natbib}, then it errs that "Package natbib Error: Bibliography not compatible with author-year citations." Any suggestions?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

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

Reference Style "apalike"

Post by Johannes_B »

You need to load package apalike as well. I would suggest to use the modern package biblatex along with biber; a dedicated apa style is available through package biblatex-apa.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
behrooz66
Posts: 2
Joined: Sun Jul 26, 2015 2:32 pm

Re: Reference Style "apalike"

Post by behrooz66 »

Thanks Johannes_B for your clear response. Can you elaborate more on that? The link of the apalike package is broken. Do you know any other link? In case I succeed to download the package, where I should I put it? Is it the same story for the newer package? What other changes do I need to make in my LateX code? Thank you.
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Reference Style "apalike"

Post by Johannes_B »

You need to load the package in the preamble \usepackage{apalike} along with \bibliograpystyle{apa}.


But i really really recommend to use biblatex/biber wit biblatex-apa instead.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply