Customize author and affiliation using authblk
You need
\normalfont
for the affiliations to neutralize the boldfaced fonts for the authors:\renewcommand*{\Affilfont}{\normalsize\normalfont} \renewcommand*{\Authfont}{\bfseries}
You can use a
\parbox
of the appropriate width inside\affil
to have manual line breaks.
The code:
\documentclass{article}
\usepackage[left=3.00cm, right=3.00cm, top=2.00cm, bottom=2.00cm]{geometry}
\usepackage{authblk}
\renewcommand*{\Authsep}{, }
\renewcommand*{\Authand}{, }
\renewcommand*{\Authands}{, }
\renewcommand*{\Affilfont}{\normalsize\normalfont}
\renewcommand*{\Authfont}{\bfseries} % make author names boldface
\setlength{\affilsep}{2em} % set the space between author and affiliation
\newsavebox\affbox
\title{Aa Article Title}
\author[1]{Aaaaaa Aa}
\author[1*]{Bbbbb Bb}
\author[2]{Ccccccc Ccc}
\affil[1]{%
\savebox\affbox{\Affilfont Department of Chemical Engineering, University of AAAAA BBBBBB, CCCCC road,}%
\parbox[t]{\wd\affbox}{\protect\centering Department of Chemical Engineering, University of AAAAA BBBBBB, CCCCC road, \par XXXXX 200021, Y Country}}
\affil[2]{AAAAAA Laboratory, University of AAAAA BBBBBB, XXXXX 303939, Z Country}
\date{}
\begin{document}
\maketitle
This is an article.
\end{document}
For 2., instead of \parbox
you can use a varwidth
environment so you don't have to calculate lengths:
\documentclass{article}
\usepackage[left=3.00cm, right=3.00cm, top=2.00cm, bottom=2.00cm]{geometry}
\usepackage{authblk}
\usepackage{varwidth}
\renewcommand*{\Authsep}{, }
\renewcommand*{\Authand}{, }
\renewcommand*{\Authands}{, }
\renewcommand*{\Affilfont}{\normalsize\normalfont}
\renewcommand*{\Authfont}{\bfseries} % make author names boldface
\setlength{\affilsep}{2em} % set the space between author and affiliation
\title{Aa Article Title}
\author[1]{Aaaaaa Aa}
\author[1*]{Bbbbb Bb}
\author[2]{Ccccccc Ccc}
\affil[1]{\protect\begin{varwidth}[t]{\linewidth}\protect\centering Department of Chemical Engineering, University of AAAAA BBBBBB, CCCCC road, \par XXXXX 200021, Y Country\protect\end{varwidth}}
\affil[2]{AAAAAA Laboratory, University of AAAAA BBBBBB, XXXXX 303939, Z Country}
\date{}
\begin{document}
\maketitle
This is an article.
\end{document}
In complement to customise (more elegant in my opinion) could be using macro in your preamble for setting the customization of \affil, by example:
\usepackage{authblk}
\renewcommand*{\Authand}{\authorcr}
\renewcommand*{\Authands}{\newline} %%new line after each author
\renewcommand*{\Affilfont}{\normalsize}
\renewcommand*{\Authfont}{\bfseries} % make author names boldface
\setlength{\affilsep}{2em} % set the space between author and affiliation
\newcommand{\filliation}[5]{\affil[#1]{\textbf{#2}\vskip 0pt \textbf{#3}\vskip 0pt #4\vskip 0pt #5\vspace{10pt}}} %% 5 number of affil 1
In main file:
\filliation{1}{University}{Dept.}{Adress}{email@email}