0

I'm using the lipics-v2021 template and I don't know how to fix the \affil already defined error.

\documentclass[a4paper,UKenglish,cleveref, autoref, thm-restate]{lipics-v2021} 

\usepackage{amsmath,amsfonts,mathrsfs} \usepackage{graphicx} \usepackage{epsfig} \usepackage{authblk}

\EventShortTitle{STACS 2024} \EventAcronym{STACS} \EventYear{2024}

\title{adagdsfafvdasfd} \author{Anonymous Authors} \keywords{Approximation Algorithms} \ccsdesc[100]{Theory of computation~Design and analysis of algorithms}

\authorrunning{Annonymous} \date{} \begin{document}

\maketitle \thispagestyle{empty} \begin{abstract} sdfg \end{abstract} \section{Introduction} fagdsfg \end{document}
2
  • 1
    Just add \let\affil\relax before \usepackage{authblk} to allow it to redefine it.
    – Werner
    Commented Apr 30 at 2:55
  • 2
    Why do load the package with a so special class? It probably has its own commands. Unrelated but do not load epsfig that is outdated since more than 20 years. Commented Apr 30 at 6:54

1 Answer 1

0

In small instances like this, you can declare the "offending" command as undeclared via

\let\affil\relax

before loading the package. Since you didn't show your need for adding authblk, there seems to be no additional benefit. In fact, the lipics-v2021 template already provides author and affiliation setting.

You must log in to answer this question.

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