texlive[55007] Master/texmf-dist: apa7 (4may20)
commits+karl at tug.org
commits+karl at tug.org
Mon May 4 23:15:57 CEST 2020
Revision: 55007
http://tug.org/svn/texlive?view=revision&revision=55007
Author: karl
Date: 2020-05-04 23:15:57 +0200 (Mon, 04 May 2020)
Log Message:
-----------
apa7 (4may20)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/apa7/apa7.pdf
trunk/Master/texmf-dist/doc/latex/apa7/samples/longsample.pdf
trunk/Master/texmf-dist/doc/latex/apa7/samples/longsample.tex
trunk/Master/texmf-dist/doc/latex/apa7/samples/shortsample.pdf
trunk/Master/texmf-dist/doc/latex/apa7/samples/shortsample.tex
trunk/Master/texmf-dist/source/latex/apa7/apa7.dtx
trunk/Master/texmf-dist/tex/latex/apa7/apa7.cls
Modified: trunk/Master/texmf-dist/doc/latex/apa7/apa7.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/apa7/samples/longsample.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/apa7/samples/longsample.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/apa7/samples/longsample.tex 2020-05-04 21:15:42 UTC (rev 55006)
+++ trunk/Master/texmf-dist/doc/latex/apa7/samples/longsample.tex 2020-05-04 21:15:57 UTC (rev 55007)
@@ -119,6 +119,7 @@
\begin{figure}
\caption{This is my first figure caption.}
\includegraphics[bb=0in 0in 2.5in 2.5in, height=2.5in, width=2.5in]{Figure1.pdf}
+ \figurenote{This is a great figure.}
\label{fig:Figure1}
\end{figure}
@@ -143,6 +144,7 @@
\begin{figure}
\caption{This is my second figure caption.}
\includegraphics[bb=0in 0in 2.5in 2.5in, height=2.5in, width=2.5in]{Figure1.pdf}
+ \figurenote{This is a great appendix figure.}
\label{fig:Figure2}
\end{figure}
Modified: trunk/Master/texmf-dist/doc/latex/apa7/samples/shortsample.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/apa7/samples/shortsample.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/apa7/samples/shortsample.tex 2020-05-04 21:15:42 UTC (rev 55006)
+++ trunk/Master/texmf-dist/doc/latex/apa7/samples/shortsample.tex 2020-05-04 21:15:57 UTC (rev 55007)
@@ -53,21 +53,24 @@
\begin{document}
\maketitle
We begin with \textcite{Shotton1989}. We can also cite this work in
-parenthesis, like this: \parencite{Shotton1989}.
+parenthesis, like this: \parencite{Lassen2006}.
-A three-author paper \parencite[e.g.,][]{Lassen2006} lists all
-three authors for the first citation, then only the first author
-on all subsequent citations \parencite{Lassen2006}.
-
Note the use of five heading levels throughout this demonstration
Method section.
\section{Method}
\subsection{Participants}
-We had a lot of people in this study.
+We had a lot of people in this study, show in Figure \ref{fig:Figure1}.
+\begin{figure}[htbp]
+ \caption{This is my figure caption.}
+ \includegraphics[bb=0in 0in 2.5in 2.5in, height=1.4in, width=1.4in]{Figure1.pdf}
+ \figurenote{This is an awesome figure.}
+ \label{fig:Figure1}
+\end{figure}
+
\subsection{Materials}
-Several materials were used for this project. Some of themwere
+Several materials were used for this project. Some of them were
already created for prior research.
\subsubsection{Paper-and-Pencil Instrument}
Modified: trunk/Master/texmf-dist/source/latex/apa7/apa7.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/apa7/apa7.dtx 2020-05-04 21:15:42 UTC (rev 55006)
+++ trunk/Master/texmf-dist/source/latex/apa7/apa7.dtx 2020-05-04 21:15:57 UTC (rev 55007)
@@ -4,11 +4,11 @@
% %
% CHANGE THESE VALUES WITH EACH NEW RELEASE: %
% %
-%<class>\ProvidesClass{apa7}[2020/3/27 v1.05 APA formatting (7th edition)]
+%<class>\ProvidesClass{apa7}[2020/05/04 v1.06 APA formatting (7th edition)]
% %
%<*internal> %
-\def\apaSevenVersionDate{2020/3/27}
-\def\apaSevenVersionNumber{1.05}
+\def\apaSevenVersionDate{2020/05/04}
+\def\apaSevenVersionNumber{1.06}
% %
% %
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -235,11 +235,12 @@
%
% \changes{v1.03}{2019/12/29}{Updated class to detect babel package in document and localize accordingly.}
%
-% \changes{v1.04}{2019/12/30}{Added table of contents.}
-% \changes{v1.04}{2019/12/30}{Updated documentation and added correct license statement to cls for apa6 package.}
+% \changes{v1.04}{2019/12/30}{Added table of contents. Updated documentation and added correct license statement to cls for apa6 package.}
%
-% \changes{v1.05}{2020/3/27}{Fixed float placement at end for man and stu mode to ensure one correctly placed figure/table per page. Thanks WC!}
+% \changes{v1.05}{2020/03/27}{Fixed float placement at end for man and stu mode to ensure one correctly placed figure/table per page. Thanks WC.}
%
+% \changes{v1.06}{2020/05/04}{Added figurenote command.}
+%
% \begin{abstract}
% The \textit{Publication Manual} of the American Psychological
% Association is widely used in the social sciences. The most
@@ -543,6 +544,9 @@
% | \centering|\par\vspace{-.5em}
% | \begin{threeparttable}|\par
% \item
+% \DescribeMacro{\figurenote}|\figurenote|\marg{figure-note-text}:
+% Formats figure note when placed immidiatly after |\includegraphic|, |\fitfigure|, or similar command within |\begin{figure}| and |\end{figure}|.
+% \item
% \DescribeMacro{\fitfigure}|\fitfigure|\oarg{height}\marg{eps-filename}:
% Automatically fit a postscript figure; use instead of
% |\includegraphics|
@@ -1785,6 +1789,7 @@
%
%=============================================================
+\newcommand{\figurenote}[1]{\newline \small \textit{Note.} {#1}}
% Code from theapa.sty
@@ -3496,21 +3501,24 @@
\begin{document}
\maketitle
We begin with \textcite{Shotton1989}. We can also cite this work in
-parenthesis, like this: \parencite{Shotton1989}.
+parenthesis, like this: \parencite{Lassen2006}.
-A three-author paper \parencite[e.g.,][]{Lassen2006} lists all
-three authors for the first citation, then only the first author
-on all subsequent citations \parencite{Lassen2006}.
-
Note the use of five heading levels throughout this demonstration
Method section.
\section{Method}
\subsection{Participants}
-We had a lot of people in this study.
+We had a lot of people in this study, show in Figure \ref{fig:Figure1}.
+\begin{figure}[htbp]
+ \caption{This is my figure caption.}
+ \includegraphics[bb=0in 0in 2.5in 2.5in, height=1.4in, width=1.4in]{Figure1.pdf}
+ \figurenote{This is an awesome figure.}
+ \label{fig:Figure1}
+\end{figure}
+
\subsection{Materials}
-Several materials were used for this project. Some of themwere
+Several materials were used for this project. Some of them were
already created for prior research.
\subsubsection{Paper-and-Pencil Instrument}
@@ -3675,6 +3683,7 @@
\begin{figure}
\caption{This is my first figure caption.}
\includegraphics[bb=0in 0in 2.5in 2.5in, height=2.5in, width=2.5in]{Figure1.pdf}
+ \figurenote{This is a great figure.}
\label{fig:Figure1}
\end{figure}
@@ -3700,6 +3709,7 @@
\begin{figure}
\caption{This is my second figure caption.}
\includegraphics[bb=0in 0in 2.5in 2.5in, height=2.5in, width=2.5in]{Figure1.pdf}
+ \figurenote{This is a great appendix figure.}
\label{fig:Figure2}
\end{figure}
Modified: trunk/Master/texmf-dist/tex/latex/apa7/apa7.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/apa7/apa7.cls 2020-05-04 21:15:42 UTC (rev 55006)
+++ trunk/Master/texmf-dist/tex/latex/apa7/apa7.cls 2020-05-04 21:15:57 UTC (rev 55007)
@@ -27,7 +27,7 @@
%%
%% ----------------------------------------------------------------------
%%
-\ProvidesClass{apa7}[2020/3/27 v1.05 APA formatting (7th edition)]
+\ProvidesClass{apa7}[2020/05/04 v1.06 APA formatting (7th edition)]
\NeedsTeXFormat{LaTeX2e}
\DeclareOption{man}{%
@@ -724,7 +724,9 @@
+\newcommand{\figurenote}[1]{\newline \small \textit{Note.} {#1}}
+
\newcounter{APAenum}
\newskip\@text at par@indent
\def\APAenumerate{\@text at par@indent\parindent\setbox0\hbox{1. }%
More information about the tex-live-commits
mailing list.