
amsart
문서 클래스를 패키지와 함께 사용하면 첫 번째 저자의 각주 doc
에 추가 들여쓰기가 표시됩니다 .thanks
\documentclass{amsart}
\usepackage{doc}
\begin{document}
\title{title}
\author{first author}
\thanks{thanks1}
\author{second author}
\thanks{thanks2}
\maketitle
\end{document}
수확량
이 동작을 피할 수 있는 방법이 있나요?
답변1
다음 업데이트로 \@setthanks
충분할 것 같습니다.
\documentclass{amsart}
\usepackage{doc}
\makeatletter
\def\@setthanks{\vspace{-\baselineskip}\def\thanks##1{\@par##1\@addpunct.}\thankses}
\makeatother
\begin{document}
\title{title}
\author{first author}
\thanks{thanks1}
\author{second author}
\thanks{thanks2}
\maketitle
\end{document}
amsart
언급하다
단일 인수 내에서 여러 개의 감사 각주가 작동하도록 하려면 첫 번째 각주를 무시하도록
\@footnotetext
해야 합니다 .\par
참조.\@setthanks
.
그런 다음 에서 \def\par{\let\par\@par}
첫 번째 항목으로 설정됩니다 \@footnotetext
. 따라서 \@par
처음부터 Every를 사용하면 를 \thanks
사용하여 되돌리는 수직 건너뛰기가 발생합니다 \vspace{-\baselineskip}
.
답변2
다음의 값을 사용하도록 각주 들여쓰기를 설정하는 \maketitle
명령 부분을 패치합니다 .doc.sty
amsart
\documentclass{amsart}
\usepackage{etoolbox}
\usepackage{doc}
\patchcmd\maketitle
{\parindent 1em}{\parindent\normalparindent}%
{}{}
\patchcmd\maketitle
{\hbox to1.8em}{\hbox to\normalparindent}%
{}{}
\begin{document}
\title{title}
\author{first author}
\thanks{thanks1}
\author{second author}
\thanks{thanks2}
\maketitle
\end{document}
답변3
예를 들어 패키지 \@makefntext
정의에서 정의를 변경할 수 있습니다 .\maketitle
doc
\documentclass{amsart}
\usepackage{doc}
\makeatletter
\def\maketitle{\par
\begingroup
\def\thefootnote{\fnsymbol{footnote}}%
\setcounter{footnote}\z@
\def\@makefnmark{\hbox to\z@{$\m@th^{\@thefnmark}$\hss}}%
\long\def\@makefntext##1{\noindent
\ifnum\c@footnote>\z@\relax
\hbox to1.8em{\hss$\m@th^{\@thefnmark}$}##1%
\else
\hbox to1.8em{\hfill}%
\parbox{\dimexpr\linewidth-1.8em}{\raggedright ##1}%
\fi}
\if@twocolumn\twocolumn[\@maketitle]%
\else\newpage\global\@topnum\z@\@maketitle\fi
\thispagestyle{titlepage}\@thanks\endgroup
\setcounter{footnote}\z@
\gdef\@date{\today}\gdef\@thanks{}%
\gdef\@author{}\gdef\@title{}}
\makeatother
\begin{document}
\title{title\footnote{A footnote}\footnote{Another footnote}}
\author{first author}
\thanks{thanks1}
\author{second author}
\thanks{thanks2}
\maketitle
\end{document}
답변4
모든 답변은 \maketitle
made by doc
package를 수정합니다. IMO에서는 이것이 논리적이고 올바른 접근 방식이지만, 문제가 있는 솔루션은 \makeatletter ...
기억하기 쉽지 않습니다. 그래서 내 해결책은 표시가 없는 간단한 각주로 가짜 감사를 만드는 것입니다.~ 후에 \maketitle
. 분명히 누군가는 이것이 나쁜 습관이라고 생각할 것이지만, 지금까지는 이것이 다음과 같은 방식으로 아무 것도 깨뜨리지 않는다는 것을 알 수 있습니다.
\documentclass{amsart}
\usepackage{doc}
\def\thanks#1{{\let\thefootnote\relax\footnote{#1.}\setcounter{footnote}{0}}}
\begin{document}
\author{first author}
\author{second author}
\title{title}
\maketitle
\thanks{thanks1}
\thanks{thanks2}
Some text\footnote{A normal footnote.}
\end{document}