2

How ca I suppress the period at the end auf the date string in amsart? It is formatted as, e.g. 08. August 2016.; but there should be no period after 2016. The example code:

%% 
\documentclass{amsart}
\usepackage[ngerman]{babel}
\renewcommand{\datename}{}
\title{-- Something --}
\date{\today} 
\begin{document}
\maketitle
\end{document}
%%

1 Answer 1

2

Just redefine the date's definition in the document class (remove the dot at the end - see the comment in the MWE).

%% 
\documentclass{amsart}
\usepackage[ngerman]{babel}
\renewcommand{\datename}{}% you can remove this line and remove <\datename\ > in the below definition to get the same thing minus the space between the datename and the date itself
\makeatletter
\def\@setdate{\datename\ \@date}% modified from <\def\@setdate{\datename\ \@date\@addpunct.}>
\makeatother
\title{-- Something --}
\date{\today} 
\begin{document}
    \maketitle
\end{document}
%%}
3
  • Thank you very much, also for the hin to lock at the cls-file.
    – Ulrich
    Commented Aug 8, 2016 at 15:42
  • @Ulrich You're welcome but please read how do we say thank you around here,.
    – alwaysask
    Commented Aug 8, 2016 at 16:19
  • I hope I done it the right way now.
    – Ulrich
    Commented Aug 9, 2016 at 11:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .