
Ha pasado un tiempo que he estado buscando este problema aquí. Casi todas las publicaciones son antiguas o no solucionan mi problema. Los siguientes son mis comandos de látex que necesito cargar:
\documentclass[12pt, a4 paper,twocolumn]{article}
\usepackage[T1]{fontenc}
\usepackage{times}
\usepackage{amsmath,amssymb}
\usepackage{newtxtext,newtxmath}
\usepackage{graphicx}
\usepackage{caption, subcaption}
\usepackage[margin=2cm]{geometry}
\usepackage{booktabs}
\usepackage[english]{babel}
\usepackage{authblk}
\usepackage[colorlinks,allcolors=blue]{hyperref}
\usepackage[authoryear,round]{natbib}
\bibliographystyle{abbrvnat}
\title{this is example}
\date{}
\begin{document}
\twocolumn[
\maketitle
\begin{abstract}
here is abstract.
\noindent
\textbf{Keywords:} classics.
\end{abstract}
]
\section{Conclusion}
Here is the citation \citep{Thomas}.
\bibliography{my bib file}
\end{document}
Ahora, ¿cómo uso el estilo de referencia APA7? También quiero citar con nombre del autor y año, digamos (Thomas, 2019). Se agradece cualquier sugerencia.
Respuesta1
Para realizar la transición de su configuración actual para crear bibliografías a una que implemente las pautas de formato APA7, debe
reemplazar
\usepackage[authoryear,round]{natbib} \bibliographystyle{abbrvnat}
con
\usepackage[style=apa]{biblatex} \addbibresource{mybibfile.bib}
¿Dónde
mybibfile.bib
está el nombre de su archivo dorsal?reemplazar
\bibliography{mybibfile}
con
\printbibliography
comience a usar
\textcite
y\parencite
, losbiblatex
equivalentes denatbib
's\citet
y\citep
comandosempezar a usar
biber
en lugar debibtex
crear la bibliografía formateada
Asegúrese de ejecutar un ciclo de recompilación completo (latex, biber y latex) después de realizar estos cambios.
Ah, y no uses el times
paquete, está obsoleto. De hecho, dado que también carga los paquetes newtxtext
and newtxmath
, que proporcionan texto Times Roman y fuentes matemáticas, no hay ningún propósito discernible al cargar el times
paquete (incluso si no estuviera obsoleto).
\documentclass[12pt,a4paper,twocolumn]{article}
% Create a bib file "on the fly":
\begin{filecontents}[overwrite]{mybibfile.bib}
@misc{Thomas,
author = "John Thomas",
title = "Thoughts",
year = 3001,
}
\end{filecontents}
\usepackage[T1]{fontenc}
%%\usepackage{times} % 'times' package is obsolete
\usepackage{amsmath,amssymb}
\usepackage{newtxtext,newtxmath} % Times Roman text and math fonts
\usepackage{graphicx}
\usepackage{%caption, % 'caption' is loaded automatically by 'subcaption'
subcaption}
\usepackage[margin=2cm]{geometry}
\usepackage{booktabs}
\usepackage[english]{babel}
\usepackage{authblk}
\usepackage[colorlinks,allcolors=blue]{hyperref}
%%\usepackage[authoryear,round]{natbib}
%%\bibliographystyle{abbrvnat}
\usepackage[style=apa]{biblatex} % 'backend=biber' is the default
\addbibresource{mybibfile.bib}
\begin{document}
\noindent
``Textual'' citation call-out: \textcite{Thomas}.
\noindent
``Parenthetical'' citation call-out: \parencite{Thomas}.
%%\bibliography{mybibfile}
\printbibliography
\end{document}
Respuesta2
Con tus paquetes, realmente no lo sé. El paquete que uso para las citas APA 7 es:
\usepackage{csquotes}
\usepackage[style=apa, backend=biber, sortcites, url=true]{biblatex}
\addbibresource{bibliografia.bib} % this is your BibLatex
Si está utilizando un editor Latex, debería ser compatible con Biber.
Aquí está la documentación del paquete:https://ctan.dcc.uchile.cl/macros/latex/contrib/biblatex-contrib/biblatex-apa/biblatex-apa.pdfy algunos ejemplos:https://ctan.dcc.uchile.cl/macros/latex/contrib/biblatex-contrib/biblatex-apa/biblatex-apa-test.pdf
Al menos para mí, con este paquete, no se requiere configuración para que muestre el estilo de referencia APA normal.