The Problem

When attempting to use the APA6 package, I received this error:

! LaTeX Error: File `apa6.sty' not found.

And a little later, I see the following warnings:

Class apa6 Warning: Short title not defined.
Class apa6 Warning: Affiliation not defined.
Class apa6 Warning: Abstract not defined.

Fairly self-explanatory, or so I thought...

What I've Tried

I've reviewd the following, including the comments, and none of the provided ideas/solutions have worked:

Installing packages (that don't include a .sty file) with BSD

How do I install a .dtx file?

tracklang.sty missing in miktex

I have already tried using the package manager to uninstall and reinstall the apa6 package. Additionally, I have also attempted installing the package manually. But upon processing the files, no .sty file is produced, using either latex or pdflatex.

Additional Info and MCVE

I am using MiKTeX 2.9, on a 64-bit Windows 7 Professional machine, and the only other interesting thing that I've noted was that the value of TEXMFMAIN does not correspond to a path that actually exists on my system:

ß kpsewhich -var-value TEXMFMAIN
C:/Program Files/MiKTeX 2.9

I am thinking that could be the issue, but I have yet to locate any information on how to affect that variable's value.




\title{My Title}
\author{My name}


    \begin{center}\section{Section 1}\end{center}

        \paragraph{para title} paragraph 1\textsuperscript{\cite{ref1}}.

    \begin{center}\section{Section 2}\end{center}

        \paragraph{para title} paragraph 2\textsuperscript{\cite{ref2}}.




% % % % % % Sources to add to References
% % % % % % % % % % % % % % % % % % % % %

Is the apa6 package supposed to have a sty file and, if so, how can I go about getting a hold of a copy of it?

  • 1
    There is no apa6.sty, as far as I know.
    – egreg
    Commented Oct 25, 2015 at 20:58

1 Answer 1


The apa6 bundle contains no apa6.sty file. Here's the output of tlmgr info apa6 --list (without the description part):

run files:
source files:
doc files:
  texmf-dist/doc/latex/apa6/README details="Readme"
  texmf-dist/doc/latex/apa6/apa6.pdf details="Package documentation"

It's no different for MiKTeX, that uses the same. If we look at the apa6.ins file that's used to build the runtime files, we see


and again there is no trace of apa6.sty.

Remove \usepackage{apa6}, because it's wrong.

In order to get rid of the warnings, define the required parts as in the following example. Note that you are not supposed to add \begin{center} and \end{center} around section titles, that are centered by default.

Also \flushleft before \begin{thebibliography} is wrong. Maybe \raggedright after it, if you want ragged right typesetting.


\title{My Title}
\shorttitle{My Title}
\author{My name}
\affiliation{My university}


\abstract{An abstract}


\section{Section 1}


\paragraph{para title} paragraph 1\textsuperscript{\cite{ref1}}.

\section{Section 2}


\paragraph{para title} paragraph 2\textsuperscript{\cite{ref2}}.


\bibitem{ref1} Some item

\bibitem{ref2} Some item

\bibitem{ref3} Some item

\bibitem{ref4} Some item


  • Well. That would be my problem right there. FNGs I tell ya. Thanks egreg!
    – nihilon
    Commented Oct 25, 2015 at 21:06
  • 1
    @nihilon I added some recommendations
    – egreg
    Commented Oct 25, 2015 at 21:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .