From b82a705fdb21d79df2339f7ee25f969109510e9e Mon Sep 17 00:00:00 2001 From: slorello89 Date: Wed, 26 Aug 2020 20:12:06 -0400 Subject: [PATCH] fixing issues with citation inline --- jdf-starter.tex | 2 +- jdf.cls | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jdf-starter.tex b/jdf-starter.tex index c26c876..b4e9056 100644 --- a/jdf-starter.tex +++ b/jdf-starter.tex @@ -120,7 +120,7 @@ \subsubsection{Lists} \section{Procedural elements} \subsection{In-line citations} -Articles or sources to which you refer should be cited in-line with the authors’ names and the year of publication.\footnote{In-line citations are preferred over footnotes, and we favor APA citation format for both in-line citations and reference lists. Refer to the Purdue Online Writing Lab, or follow the above examples. Footnotes should use 8.5 point text with 14 point line spacing.} The citation should be placed close in the text to the actual claim, not merely at the end of the paragraph. For example: students in the OMSCS program are older and more likely to be employed than students in the on-campus program \citep{joyner2017}. In the event of multiple authors, list them. For example: research finds sentiment analysis of the text of OMSCS reviews corresponds to student-assigned ratings of the course \citep{newman2018}. You may also cite multiple studies together. For example: several studies have found students in the online version of an undergraduate CS1 class performed equally with students in a traditional version (\cite{joyner2018a}; \cite{joyner2018b}). If you would like to refer to an author in text, you may also do so by including the year (in parentheses) after the author’s name in the text. If a publication has more than 4 authors, you may list the first author followed by ‘et al.’ For example: \citeauthor{joyner2016} (\citeyear{joyner2016}) claim that a round of peer review prior to grading may improve graders’ efficiency and the quality of feedback given. This applies to parenthetical citations as well, e.g. \citep{joyner2016}. +Articles or sources to which you refer should be cited in-line with the authors’ names and the year of publication.\footnote{In-line citations are preferred over footnotes, and we favor APA citation format for both in-line citations and reference lists. Refer to the Purdue Online Writing Lab, or follow the above examples. Footnotes should use 8.5 point text with 14 point line spacing.} The citation should be placed close in the text to the actual claim, not merely at the end of the paragraph. For example: students in the OMSCS program are older and more likely to be employed than students in the on-campus program \citep{joyner,2017}. In the event of multiple authors, list them. For example: research finds sentiment analysis of the text of OMSCS reviews corresponds to student-assigned ratings of the course \citep{newman,2018}. You may also cite multiple studies together. For example: several studies have found students in the online version of an undergraduate CS1 class performed equally with students in a traditional version (\cite{joyner,2018a}; \cite{joyner,2018b}). If you would like to refer to an author in text, you may also do so by including the year (in parentheses) after the author’s name in the text. If a publication has more than 4 authors, you may list the first author followed by ‘et al.’ For example: \citeauthor{joyner et al.} (\citeyear{2016}) claim that a round of peer review prior to grading may improve graders’ efficiency and the quality of feedback given. This applies to parenthetical citations as well, e.g. \citep{joyner et al., 2016}. \subsection{Reference lists} References should be placed at the end of the paper in a dedicated section. Reference lists should be numbered and organized alphabetically by first author’s last name. If multiple papers have the same author(s) and year, you may append a letter to the end of the year to allow differentiated in-line text (e.g. Joyner, 2018a and Joyner, 2018b in the section above). If multiple papers have the same author(s), list them in chronological order starting with the older paper. Only works that are cited in-line should be included in the reference list. The reference list does not count against the length requirements. diff --git a/jdf.cls b/jdf.cls index e5f89e2..7d85ea1 100644 --- a/jdf.cls +++ b/jdf.cls @@ -267,8 +267,8 @@ \DeclareNameAlias{sortname}{family-given} % Inline citations -\renewcommand{\cite}[1]{\citeauthor{#1}, \citeyear{#1}} -\renewcommand{\citep}[1]{(\citeauthor{#1}, \citeyear{#1})} +\renewcommand{\cite}[2]{\citeauthor{#1}\citeyear{#2}} +\renewcommand{\citep}[2]{(\citeauthor{#1}\citeyear{#2})} %%