2

Folks, happy holidays.

A quick question: when I put \thanks in the below code, I don't see the horizontal line (i.e. separator) that I see in the usual footnote command. I think the issue is with the \begin{titlingpage}. Can anyone help how to get the horizontal separator back in the game? Here is the full code and happy holidays!

Note: I am using the titling package to have abstract, author, title, thanks all on the same page...

\documentclass[12pt]{article}
\usepackage{titling}
\author{My Name\thanks{ABC University}}
\title{Happy Holidays!}

\begin{document}
\maketitle
\begin{titlingpage}
\begin{abstract}
{Happy Holidays!}

\noindent \vspace{5mm}
\noindent \textit{Key Words}: Happy Holidays!
\vspace{1mm}
\noindent \textit{Lit} Code: Happy Holidays!
\end{abstract}
\end{titlingpage}
\end{document}

1 Answer 1

2

Happy holidays! :D

Use \usethanksrule inside the titlingpage environment:

\documentclass[12pt]{article}
\usepackage{titling}
\author{My Name\thanks{ABC University}}
\title{Happy Holidays!}

\begin{document}
\maketitle
\begin{titlingpage}
\usethanksrule % <-- here
\begin{abstract}
{Happy Holidays!}

\noindent \vspace{5mm}
\noindent \textit{Key Words}: Happy Holidays!
\vspace{1mm}
\noindent \textit{Lit} Code: Happy Holidays!
\end{abstract}
\end{titlingpage}
\end{document}

enter image description here

2
  • 1
    That's a strange way to name it! \cancelthanksrule prevents suppression of the footnote rule for thanks? Dec 25, 2020 at 6:35
  • @DonaldArseneau Now that you mention, indeed, the package does have a \usethanksrule that does the same. The name \cancelthanksrule uses the original \@bsfootnoterule for the rule, and \usethanksrule uses a document-level \thanksrule, so I guess the latter can be redefined, and \cancelthanksrule cancels that redefinition... Dec 25, 2020 at 14:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.