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}
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. Sep 16 '16 at 21:24

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.