I use the following code to create a custom cite command for APA style citation of a table:
\DeclareCiteCommand{\sourcecite}
{%\usebibmacro{prenote}
}
{%
\mkbibquote{\printfield{title}} \setunit{\addcomma\space}%
\printnames[default][-\value{listtotal}]{author} \setunit{\addcomma\space}%
\bibhyperref{\thefield{year}} \setunit{\addcomma\space}%
\thefield{journaltitle} \setunit{\addcomma\space}%
\thefield{volume}\thefield{number} \setunit{\addcomma\space}%
\usebibmacro{postnote} \setunit{\space(}%
\bibhyperlink{\printfield{doi}}{\printfield{doi}}\setunit{)}%
}
{\multicitedelim}
{}
I use the command within a tablenote that is defined like this:
\renewcommand{\tablenote}[1]{\begin{tablenotes}[para,flushleft]
{\small\raggedright\doublespacing
\textit{\notelabel.} {#1}
}
\end{tablenotes}}
The notes are printed in double spacing, but the citation is not (see screenshot).
Any ideas how to overcome this behavior?
\parafter the{#1}in your definition. – Ulrike Fischer Dec 28 '22 at 14:01\pardo in that context? – tomthegeek Dec 28 '22 at 14:12