Versalitas en la nota a pie de página del título (amsart)

Versalitas en la nota a pie de página del título (amsart)

Estoy intentando agregar una nota a pie de página a un título enamsarten versalitas, pero constantemente terminan con caracteres en mayúsculas (incluso en modo matemático).

\documentclass{amsart}
\title{ text \footnote{ text }}
\begin{document}
\maketitle
\end{document}

¿Cómo puedo poner versalitas en la nota al pie?

Respuesta1

La solución es bastante sencilla, pero no habrá ningún marcador de nota al pie:

\documentclass{amsart}
\begin{document}

\newcommand\myfootnotetitle{\spaceskip=0pt \scshape I want this in Small Caps}
\title{Title\footnote{\protect\myfootnotetitle}}
\author{A. U. Thor}
\maketitle

\vspace*{\fill}
{\footnotesize\myfootnotetitle\par} % for checking

\end{document}

Hay dos problemas: uno es proteger contra una expansión inoportuna (el argumento to \titlese pasa a \MakeUppercase) y también que en el texto \spaceskipse establece en un valor distinto de cero.

ingrese la descripción de la imagen aquí

Agregar un marcador de nota al pie requiere una cirugía más profunda. Una solución sencilla para obtener un asterisco como marca de nota al pie es la siguiente.

\documentclass{amsart}

\makeatletter
\newcommand{\definetitlefootnote}[1]{%
  \newcommand\addtitlefootnote{%
    \makebox[0pt][l]{$^{*}$}%
    \footnote{\protect\@titlefootnotetext}
  }%
  \newcommand\@titlefootnotetext{\spaceskip=\z@skip $^{*}$#1}%
}
\makeatother

% Just to make a short page for viewing the result
\setlength{\textheight}{6cm}
\calclayout

\begin{document}

\definetitlefootnote{\scshape I want this in Small Caps}
\title{Title\addtitlefootnote}
\author{A. U. Thor}
\maketitle

Some text with a footnote\footnote{Whatever}

\end{document}

ingrese la descripción de la imagen aquí

Respuesta2

A continuación se muestra una forma de conservar también el marcador de notas al pie. Debe guardar las definiciones y restaurarlas justo antes de emitir el \footnotemarkcomando. Luego hay que hacer algunos malabarismos para obtener los valores de contador correctos.

Aquí está el título:

Título

Y aquí están las notas a pie de página, las demostraciones, \thanksetc., que no se modifican.

Notas a pie de página

\documentclass{amsart}

\makeatletter
\let\mymakefnmark\@makefnmark
\let\mythefnmark\@thefnmark

\newcommand{\restorefn}{\let\@makefnmark\mymakefnmark
\let\mythfnmakr\@thefnmark}
\makeatother

\begin{document}

\title{Title text\restorefn\footnotemark}
\author{A. N. Author}
\date{\today}
\thanks{Thanks}
\maketitle
\stepcounter{footnote}\footnotetext{\scshape Footnote.}

\end{document}

Respuesta3

Esta solución proporciona un poco más de automatización y mantiene la interfaz de usuario tal cual, por así decirlo, puedes seguir escribiendo \title[short text]{text\footnote{text}}.

La idea básica es desactivar que la macro interna \@adminfootnotesdesactive el mecanismo habitual de notas al pie a través de

\xpatchcmd\@adminfootnotes{\let\@makefnmark\relax}{}{}{}

y luego use \footnotemark- \footnotetextduo. La marca se construye a través de algo como \title{...\fotenotemark}y \footnotetextse declara afuera para asegurarse de que no se vea afectada por las mayúsculas. Esto último se logra mediante un parche simple para \maketitle:

\xapptocmd\maketitle{%
  \stepcounter{footnote}
  \ifx\@empty\titlefn\else
    \footnotetext{\scshape\titlefn}\fi}{}{}

\titlefnes el almacenamiento del texto de la nota al pie que se recopila \footnote{...}en una versión redefinida de \title(tenga en cuenta que \footnoteaquí solo sirve como delimitador):

\def\title@aux#1\footnote#2#3{%
  \global\let\shorttitle\@tempa
  \gdef\titlefn{#2}
  \ams@title{#1\ifx\@empty\titlefn\else\protect\footnotemark\fi}
  \ifx#3\footnote\expandafter\@gobble\else\expandafter#3\fi
}

En esta redefinición, por supuesto, también \footnotemarkse introduce el.

salida1_crop

salida2_crop

código completo

\documentclass{amsart}
\usepackage{xpatch}

\makeatletter
\xpatchcmd\@adminfootnotes{\let\@makefnmark\relax}{}{}{}
\xapptocmd\maketitle{%
  \stepcounter{footnote}
  \ifx\@empty\titlefn\else
    \footnotetext{\scshape\titlefn}\fi}{}{}
\let\ams@title\title
\def\title{\@dblarg\title@}
\def\title@[#1]#2{\gdef\@tempa{#1}\title@aux#2\footnote{}}
\def\title@aux#1\footnote#2#3{%
  \global\let\shorttitle\@tempa
  \gdef\titlefn{#2}
  \ams@title{#1\ifx\@empty\titlefn\else\protect\footnotemark\fi}
  \ifx#3\footnote\expandafter\@gobble\else\expandafter#3\fi
}
\makeatother

\title{text\footnote{text}}

\begin{document}
\maketitle
%for testing purposes
\vfill
\footnotesize\scshape\hskip3.5pt text
\end{document}

información relacionada