제목의 여러 단락 각주

제목의 여러 단락 각주

왜 각주가 작동하지 않는지 모르겠습니다. 없이는 가능합니다 \par.

\documentclass[a4paper, 12pt]{article}

\title{title%
\footnote{
    para1\par
    para2
}%
}
\author{author}

\begin{document}
\maketitle
text
\end{document}

답변1

작동하지 않는 이유는 다음을 참조하세요.왜 항상 \def 대신 \long\def를 사용하지 않는 걸까요?

따라서 이 문제를 해결하려면 \title\thanksfrom latex.ltxto be \long를 재정의하면 단락 나누기를 허용할 수 있습니다.

\makeatletter
\long\def\title#1{\gdef\@title{#1}}
\long\def\thanks#1{%
  \footnotemark
  \protected@xdef\@thanks{%
    \@thanks\protect\footnotetext[\the\c@footnote]{#1}}}
\makeatother

그러나 더 쉬운 옵션은 각주 텍스트를 오류 검사를 회피하는 별도의 매크로로 정의하는 것입니다.

\documentclass[a4paper, 12pt]{article}

\def\titlefootnotetext{para1\par para2}

\title{title\thanks{\titlefootnotetext}}
\author{author}

\begin{document}
\maketitle
text
\end{document}

관련 정보