[Tex/LaTex] Add affiliations to the authors’ name in the article class


I am using the \documentclass{article} to write an article. how can I add the affiliation to the author's name like the following picture?

enter image description here

And, this document class has a date under the names. Can I omit it?

Best Answer

Using authblk maybe it's better to do something like:

\title{This is some thing}
\author[1]{Don Joe}
\author[2]{Smith K.}
\affil[2]{Both on a bus}
\date{}                     %% if you don't need date to appear

This way, you can mix affiliations.