%---------------------------------------------------------------------------------------------------------------------
%-----	XVI French-Polish Colloquium of Soil and Rock Mechanics, 8 - 10 July 2013, Montpellier, France
%---------------------------------------------------------------------------------------------------------------------
%
\def\fileversion{1.00}
\def\filedate{2013/01/28}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{FPC}[\filedate\space v\fileversion\space XVI FPC]
\LoadClass[11pt]{extarticle}
\RequirePackage[utf8]{inputenc}
\RequirePackage[T1]{fontenc}
\RequirePackage{amsmath,amsfonts,amssymb,bm,helvet}
\RequirePackage{pslatex}
\RequirePackage{graphicx,color}
\RequirePackage[a4paper,left=2.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm]{geometry}
\usepackage{titlesec}
\usepackage{nopageno}
\usepackage[justification=justified,singlelinecheck=false,labelsep=period]{caption}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\captionsetup[figure]{font=small}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\captionsetup[table]{position=top,justification=raggedleft, font=small}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\rmdefault}{ptm}
\renewcommand{\sfdefault}{ptm}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\figurename}{Fig.}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\address}[1]{\def\@address{#1}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\@maketitle}{
\begin{center}
\vspace*{42pt}
\par
    {\bf\fontfamily{phv}\fontsize{16}{16}\selectfont{\@title} }
%
\par\vspace{21pt} %2\baselineskip
%
    {\fontfamily{ptm}\fontsize{11}{11}\selectfont \@author \par}
%
\par\vspace{12pt} %0.8\baselineskip
%
    {\fontfamily{ptm}\fontsize{10}{10}\selectfont \@address}
%
\par\vspace{20pt}
\end{center}
}
%
\makeatother
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newenvironment{abstract1}{%
{{\center{\noindent\fontfamily{ptm}\fontsize{10}{10}\selectfont {A\,b\,s\,t\,r\,a\,c\,t}}
  \par
}}
  \small
  \par%
  \medskip
  \leftskip=2em\rightskip=2em%
  \noindent\ignorespaces}{%
  \par \vspace{12pt}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\renewcommand{\thesection}{\arabic{section}. }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\thesubsection}{\arabic{section}.\arabic{subsection}.}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setlength{\belowcaptionskip}{-10pt}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newenvironment{acknowledgment1}{%
   {{\center\hspace*{7mm}{\noindent\fontfamily{ptm}\fontsize{11}{11}\selectfont {A\,c\,k\,n\,o\,w\,l\,e\,d\,g\,m\,e\,n\,t\,s.}}
}}
  \ignorespaces}{%
  \par\medskip}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newenvironment{keywords1}{%
   \vspace{6pt}
   {{\center{\noindent\fontfamily{ptm}\fontsize{10}{10}\selectfont {\textbf{Key words}:}}
}}
  \vspace{-12pt}
  \ignorespaces}{%
  \par }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\titleformat{\section}
  {\bfseries \small}
  {\thesection}
  {0.3cm}
  {\MakeUppercase}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\titlespacing{\section}{0pt}{12pt}{6pt}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\titlespacing{\subsection}{0pt}{6pt}{6pt}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\titleformat{\subsection}
  {\bfseries}
  {\thesubsection}
  {0.2cm}
  {}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newenvironment{references}{\vspace*{20pt}
   {{\center{\noindent\fontfamily{ptm}\fontsize{11}{11}\selectfont {R\,e\,f\,e\,r\,e\,n\,c\,e\,s}}
  \par\vspace{6pt}
}}
\small
  \par%
  \medskip
   }{%
  \par\medskip}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%