Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Usually, when one uses \documentclass{amsart}, a short horizontal line appears on the first page in the lower left hand corner. If one includes information such as keywords and MSC, this information usually appears below that line.

Is there a way to make LaTeX draw this line automatically when using \documentclass{article}?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Here are the necessary additions to article in order to duplicate the look of the footnote in amsart:

enter image description here

\documentclass{article}
\usepackage{lipsum}

\makeatletter
\def\@addpunct#1{%
  \relax\ifhmode
    \ifnum\spacefactor>\@m \else#1\fi
  \fi}
\newcommand{\keywordsname}{Key words and phrases}
\def\@setkeywords{%
  {\itshape \keywordsname.}\enspace \@keywords\@addpunct.}
\def\keywords#1{\def\@keywords{#1}}
\let\@keywords=\@empty
\g@addto@macro{\maketitle}{\begingroup%
  \let\@makefnmark\relax  \let\@thefnmark\relax%
  \ifx\@keywords\@mpty\else\@footnotetext{\@setkeywords}\fi%
  \endgroup}
\makeatletter

\title{My title}
\author{My author}
\keywords{some, keywords, for, this, article}
\begin{document}
\maketitle
\begin{abstract}
\lipsum[1]
\end{abstract}
\section{introduction}\lipsum[2-4]
\end{document}
share|improve this answer
    
Thank you, very useful!! –  User X May 12 at 3:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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