## LaTeX forum ⇒ General ⇒ Package{authblk} and command \affil

LaTeX specific issues not fitting into one of the other forums of this category.
akcays
Posts: 1
Joined: Fri Jul 18, 2014 2:58 pm

### Package{authblk} and command \affil

I seem to have a problem with the package {authblk} on my Ubuntu 10 machine. When I use the command \affil, LaTeX tells me that it's already been defined elsewhere, but if I use \affil without the package{authblk} then LaTeX simply does not recognize the command \affil and calls it an undefined control sequence. Any ideas as to what may be causing it?

Tags:

Johannes_B
Site Moderator
Posts: 4183
Joined: Thu Nov 01, 2012 4:08 pm
Revtex defines a similar command, the responing counter clashes with package authblk.

%\documentclass{revtex4-1}\documentclass{article}\usepackage{authblk}\usepackage{blindtext}\begin{document}\author{Akcays}\affil{\LaTeX-community.org}%JB: authblk%\affiliation{\LaTeX-community.org}%JB: revtex\author{Johannes B}\affil{\TeX Welt}%JB: authblk%\affiliation{\TeX Welt}%JB: revtex\title{MWE}\maketitle\blinddocument\end{document}

BTW: please always prepare a minimal working example just as i did above. You mentioned revtex in the tags, that was the only hint i had. Having all the information needed is much better than hunt for them. And it makes helping so much easier and faster.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.