캡션에 인용*

캡션에 인용*

그림과 표의 캡션에 인용을 삽입하고 싶습니다. 저는 두 가지 다른 캡션을 사용하며 예를 들어 보겠습니다.

나는 사용한다

\caption{Title of caption that appears in list of tables/figures}

표나 그림의 목록에 나타나는 제목.

추가적으로 나는

\caption*{Source: Eidgenössischer Turnverein (1881), own illustration}

표나 그림의 출처를 적기 위해 표나 그림의 하단에 표시합니다. 그러나 위의 내용을 다음으로 바꾸고 싶습니다.

\caption*{출처: \tcite{turnzeitung81}, 자체 일러스트레이션}

그래서 단순히 출처를 텍스트로 쓰는 경우에는 해당되지 않는 참고문헌의 실제 항목을 얻습니다. 불행하게도 캡션 안에 \tcite가 있으면 작동하지 않습니다. 이 작업을 어떻게 수행할 수 있습니까?

내 인용에 대한 관련 코드는 다음과 같습니다.

\usepackage{natbib}
\bibliographystyle{apalike}
\newcommand\mycite[2][]{%
  \citeauthor{#2}\ (\citeyear{#2})\ifx#1\undefined\else, #1\fi}
  \newcommand\myfootcite[2][]{\footnote{\mycite[#1]{#2}}}
  \def\prevcite{} % initialize \prevcite
%% macro for in-text citation
\newcommand\tcite[2][]{%  
  \def\newcite{#2} 
  \ifx\prevcite\newcite 
    Ibid.%
  \else%
    \gdef\prevcite{#2}% update \prevcite
    \citeauthor{#2}\ (\citeyear{#2})%
  \fi
  \ifx#1\undefined\else, #1\fi}
%% macro for in-footnote citation
\newcommand\fcite[2][]{\footnote{\tcite[#1]{#2}}}

\bibliographystyle{apalike}
\bibliography{biblio}

도움을 주셔서 감사합니다!

편집하다:

다음은 문제의 최소한의 예입니다.

\documentclass{report}  
\begin{document}  
 \begin{table}[htbp]

    \begin{tabulary}
    \end{tabulary}

    \caption*{Source: \tcite{turnzeitung81}, own illustration}
  \label{tab:addlabel}
\end{table}
\end{document} 



\usepackage{filecontents}

\begin{filecontents*}{\biblio.bib}
  @Article{turnzeitung81,
  Title                    = {Statistik des belgischen {T}urnerbundes für das {J}ahr 1881},
  Author                   = {{Eidgenössischer Turnverein}},
  Journal                  = {Schweizerische Turnzeitung},
  Year                     = {1881},
  Number                   = {5},
  Volume                   = {24},

\end{filecontents*}

\bibliography{\biblio} % if you’re using BibTeX

관련 정보