(TeX-add-style-hook
 "article"
 (lambda ()
   (TeX-add-to-alist 'LaTeX-provided-class-options
                     '(("apa7" "floatsintext" "draftfirst" "man")))
   (TeX-add-to-alist 'LaTeX-provided-package-options
                     '(("inputenc" "utf8") ("fontenc" "T1") ("babel" "american") ("biblatex" "natbib=true" "style=apa" "sortcites=true" "backend=biber")))
   (add-to-list 'LaTeX-verbatim-environments-local "lstlisting")
   (add-to-list 'LaTeX-verbatim-macros-with-braces-local "url")
   (add-to-list 'LaTeX-verbatim-macros-with-braces-local "path")
   (add-to-list 'LaTeX-verbatim-macros-with-braces-local "lstinline")
   (add-to-list 'LaTeX-verbatim-macros-with-delims-local "url")
   (add-to-list 'LaTeX-verbatim-macros-with-delims-local "path")
   (add-to-list 'LaTeX-verbatim-macros-with-delims-local "lstinline")
   (TeX-run-style-hooks
    "latex2e"
    "bayesnets"
    "flowchart_recommendations"
    "apa7"
    "apa710"
    "epstopdf"
    "subcaption"
    "tikz"
    "tabularx"
    "inputenc"
    "wrapfig"
    "fontenc"
    "textcomp"
    "listings"
    "xcolor"
    "graphicx"
    "enumerate"
    "amsmath"
    "babel"
    "csquotes"
    "biblatex")
   (TeX-add-symbols
    '("TODO" 1)
    "citepos"
    "citespos")
   (LaTeX-add-labels
    "fig:real.data.example.iv"
    "fig:real.data.example.dv"
    "fig:real.data.example"
    "eq:covariate.reg.general"
    "eq:covariate.logisticreg.w"
    "eq:depvar.general"
    "eq:depvar.w"
    "mod:true.ols"
    "mod:measerr.logit"
    "fig:sim1a.x"
    "fig:sim1b.x"
    "fig:sim2a.x"
    "fig:sim2b.x"
    "fig:FigureRecommendations"
    "appendix:perspective"
    "fig:real.data.example.iv.app"
    "fig:real.data.example.dv.app"
    "appendix:lit.review"
    "fig:FigureA1"
    "tab:TableA1"
    "appendix:other.methods"
    "appendix:derivation"
    "eq:mle.covariate.chainrule.1"
    "eq:mle.covariate.chainrule.2"
    "eq:mle.covariate.chainrule.3"
    "eq:mle.covariate.chainrule.4"
    "appendix:assumption"
    "appendix:misclassificationmodels"
    "appendix:main.sim.plots"
    "fig:sim1b.z"
    "fig:sim2b.z"
    "appendix:misspec"
    "appendix:noz"
    "fig:iv.noz.x"
    "fig:iv.noz.z"
    "fig:iv.noz"
    "fig:dv.noz.x"
    "fig:dv.noz.z"
    "fig:dv.noz"
    "fig:iv.predacc.x"
    "fig:iv.predacc.z"
    "fig:iv.predacc"
    "fig:dv.predacc.x"
    "fig:dv.predacc"
    "appendix:sim1.profile")
   (LaTeX-add-bibliographies
    "Bibliography")
   (LaTeX-add-xcolor-definecolors
    "codegreen"
    "codegray"
    "codepurple"
    "backcolour")
   (LaTeX-add-listings-lstdefinestyles
    "mystyle"))
 :latex)

