%% CMBE class for MS proposal								     
%% 13/06/2023 Mohammad Abughabush 	
%% VERSION CMBE24							 


\NeedsTeXFormat{LaTeX2e}

\DeclareOption{9pt}{\OptionNotUsed}
\DeclareOption{10pt}{\OptionNotUsed}
\DeclareOption{12pt}{\OptionNotUsed}
\DeclareOption{twocolumn}{\OptionNotUsed}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}

\ProcessOptions\relax

\LoadClass[11pt,a4paper,twoside]{article}
\usepackage{times}
\RequirePackage{calc}
\RequirePackage{indentfirst}

\renewcommand{\maketitle}{%
 \newpage
 \thispagestyle{empty}
 \begin{minipage}[t][1cm][t]{15.5cm}
  \begin{flushright}
	% HEADER %
	{\footnotesize
	8\textsuperscript{th} Biot Conference on Poromechanics\\[1mm]
	7--10 October 2025, USA}
	\vskip 2em
  \end{flushright}
 \end{minipage}
 \begin{center}
  \vspace{10pt}
  {%
   \fontsize{14}{20}\selectfont
   \bfseries
    \MakeUppercase{\@title}
   \par
  }%
 \vspace{10pt}%
  {%
   \bfseries\@author
   \par
  }%
  \vspace{-3pt}%
  {%
   \normalfont\@address
   \par
  }%
 \end{center}

\begin{center}
\noindent\textbf{MINI-SYMPOSIUM PROPOSAL\\[1mm]\space}
\end{center}
 \vspace{3mm}%
 \noindent\textbf{Keywords:\space}{\it \@keywords}
 \par
\vspace{20pt}%
}


\def\author{\@ifnextchar[{\@getshortauthor}{\@getauthor}}
\def\@getauthor#1{\gdef\@author{#1}\gdef\@shortauthor{#1}}
\def\@getshortauthor[#1]#2{\gdef\@shortauthor{#1}\gdef\@author{#2}}

\newcommand{\address}[1]{\gdef\@address{#1}}
\newcommand{\keywords}[1]{\gdef\@keywords{#1}}

\def\sectionLevel{1}
\def\sectionIndent{0pt}
\def\sectionSpaceBefore{12pt}
\def\sectionSpaceAfter{6pt}
\def\sectionStyle{\normalsize\bfseries\MakeUppercase}
\def\subsectionStyle{\normalsize\bfseries}

\renewcommand{\section}{%
  \@startsection{section}{\sectionLevel}{\sectionIndent}{\sectionSpaceBefore}%
                {\sectionSpaceAfter}{\sectionStyle}}%

\renewcommand{\subsection}{%
  \@startsection{subsection}{\sectionLevel}{\sectionIndent}{\sectionSpaceBefore}%
                {\sectionSpaceAfter}{\subsectionStyle}}%

\renewenvironment{thebibliography}[1]
  {
   \section*{\MakeUppercase\refname\@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}%
   \list{\@biblabel{\@arabic\c@enumiv}}%
        {\settowidth\labelwidth{\@biblabel{#1}}%
         \leftmargin\labelwidth
         \advance\leftmargin\labelsep
         \@openbib@code
         \usecounter{enumiv}%
         \let\p@enumiv\@empty
         \renewcommand\theenumiv{\@arabic\c@enumiv}}%
   \sloppy
   \clubpenalty4000
   \@clubpenalty \clubpenalty
   \widowpenalty4000%
   \sfcode`\.\@m}
   
  {\def\@noitemerr
   {\@latex@warning{Empty `thebibliography' environment}}%
   \endlist}
   
\setlength{\topmargin}{-15mm}%
\setlength{\headsep}{30pt}
\setlength{\oddsidemargin}{0mm}%
\setlength{\evensidemargin}{3.65mm}%
\setlength{\marginparwidth}{25mm} 
\setlength{\textheight}{245mm}%
\setlength{\textwidth}{155mm}%
\setlength{\abovedisplayskip}{6pt}
\setlength{\belowdisplayskip}{6pt}
\setlength{\parindent}{0mm}
\setlength{\parskip}{5pt plus 2pt minus 1 pt}%
\setlength{\itemsep}{0pt}

\AtBeginDocument{%
  \pagestyle{empty}
  \maketitle
  \let\maketitle\relax
}

\endinput
