[Edit] I noticed that I made a mistake in how I asked my previous question. I accidentally posted the wrong link and did not explain the errors I got well. I apologise. I am new to this forums and using latex in general.
I am working with this preamble. I need to change the citation style to Publication Manual of the American Psychological Association (APA) (6th edition). This is a link to the package (http://www.ctan.org/pkg/apa6). When I try to use it, it seems that it is in conflict with packages like titlesec and amsmath,mathabx.
I get errors like:
...ex/titlesec/titlesec.sty, 1642. Argument of \subparagraph has an extra }. or Runaway argument?
eric/mathabx/mathabx.sty, 67. Latex Error: Too many symbol fonts declared.
I don't know how to change the citation style I am using now.
What can I do?
Preamble:
Code: Select all
\documentclass[11pt]{report}
\usepackage[utf8]{inputenc}
\usepackage{helvet}
\usepackage{xspace}
\usepackage{subcaption}
\usepackage{placeins}
\usepackage{wrapfig}
\usepackage{multirow}
\usepackage[table,xcdraw]{xcolor}
\usepackage{adjustbox}
\usepackage{booktabs,caption}
\usepackage[flushleft]{threeparttable}
\usepackage{ragged2e}
\usepackage{floatrow}
\usepackage{graphicx,wrapfig,lipsum}
\graphicspath{{../figs/}}
\usepackage{pdfcomment}
\usepackage{geometry}
\newgeometry{left=2.5cm,right=2.5cm,bottom=2.5cm}
\usepackage[english]{babel}
\usepackage{CJKutf8}
\pagestyle{headings}
\usepackage{blindtext}
\usepackage{csquotes}
\setcounter{secnumdepth}{4}
\usepackage{titlesec}
\usepackage[T1]{fontenc}
\usepackage{imakeidx}
\makeindex[columns=3, title=Alphabetical Index]
\usepackage{array}
\usepackage{tikzpagenodes}
\usepackage[format=plain, labelfont={bf,it}, textfont=it]{caption}
\usepackage{fancyhdr}
\usepackage[toc,nopostdot, nonumberlist,style=long,automake,acronym]{glossaries}
\usepackage{subfiles}
\usepackage{nicematrix}
\usepackage{amsmath,mathabx}
\usepackage{hyperref}
\usepackage{lscape}
\newcommand{\sectionbreak}{\phantomsection}
\hypersetup{
colorlinks=true,
linkcolor=black,
filecolor=black,
urlcolor=black,
citecolor=olive,
pdftitle={PhD Dissertation},
pdfpagemode=FullScreen,
}
\urlstyle{same}
\bibliographystyle{abbrvnat}
\usepackage[authoryear]{natbib}%/bibliography apa
\setcitestyle{authoryear,open={(},close={)}} %Citation-related commands
Code: Select all
@article{newman_Gowland_2015,
title = {The use of non-adult vertebral dimensions as indicators of growth disruption and non-specific health stress in skeletal populations},
volume = {158},
doi = {10.1002/ajpa.22770},
number = {1},
journal = {American journal of physical anthropology},
author = {Newman, Sophie L. and Gowland, Rebecca L.},
year = {2015},
pages = {155--164},
file = {Full Text:C\:\\Users\\xello\\Zotero\\storage\\23NM8MKE\\Newman and Gowland - 2015 - The use of non-adult vertebral dimensions as indic.pdf:application/pdf;Snapshot:C\:\\Users\\xello\\Zotero\\storage\\9YJ93WRC\\ajpa.html:text/html},
}