5

Upon output of \maketitle, the smfart class produces something like

Title

by

Author

Is there anyway I can remove the "by" bit? I think I've seen similar files do it, but I never had access to the latex code. I checked the documentation but I couldn't find anything helpful. I guess one could tweak the .cls file, but maybe someone knows a better way to do this? (or at least the "correct" way to tweak the .cls file?)

Here's a MWE (one needs to have smfart.cls file, available here)

\documentclass[oneside,english]{smfart}
\begin{document}
\begin{abstract}
    Very.
\end{abstract}
\title{The Monograph}
\author{Dr Koolaid}
\date{\today}
\maketitle
Wordz.
\end{document}

1 Answer 1

4

The smfart class adds “by” (or a translation thereof) if and only if the macro \smfbyname expands to something non empty.

However the redefinition has to be done “at begin document” and \renewcommand* must be used (note the *).

\documentclass[oneside,english]{smfart}

\AtBeginDocument{\renewcommand*{\smfbyname}{}}

\begin{document}
\begin{abstract}
Very.
\end{abstract}

\title{The Monograph}
\author{Dr Koolaid}
\date{\today}
\maketitle

Wordz.

\end{document}

enter image description here

1
  • that's exactly what I wanted. awesome. thanks for the quick answer. Commented Sep 16, 2016 at 21:24

You must log in to answer this question.

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