%Content-Type: text/plain; charset=us-ascii;
% name="css2024.cls"
%Content-Transfer-Encoding: 7bit
%Content-Disposition: inline;
% filename="css2024.cls"

\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{css2024}
\LoadClass[12pt,a4paper,twoside]{article}
\RequirePackage{a4}

\renewcommand*{\abstract}[1]{\renewcommand*{\@abstract}{#1}}
\newcommand*{\@abstract}{\mbox{}}
\@onlypreamble{\abstract}

\newcommand*{\keywords}[1]{\renewcommand*{\@keywords}{#1}}
\newcommand*{\@keywords}{\mbox{}}
\@onlypreamble{\keywords}

\newcommand*{\MSC}[1]{\renewcommand*{\@MSC}{#1}}
\newcommand*{\@MSC}{\mbox{}}
\@onlypreamble{\MSC}



%    \oddsidemargin -10 pt      %   Left margin on odd-numbered pages.
%    \evensidemargin 10 pt      %   Left margin on even-numbered pages.
%\advance\oddsidemargin5mm
%\advance\evensidemargin5mm
    \marginparwidth 1 in       %   Width of marginal notes.
%    \oddsidemargin 0 in      %   Note that \oddsidemargin = \evensidemargin
%    \evensidemargin 0 in
\oddsidemargin 3.5mm
\evensidemargin\oddsidemargin
    \marginparwidth 0.75 in

\textwidth151mm

%\def\ps@plain{\let\@mkboth\@gobbletwo
%     \let\@oddhead\@empty\def\@oddfoot{\reset@font\hfil\thepage}%
%     \let\@evenhead\@empty\def\@evenfoot{\reset@font\thepage\hfil}}
\renewcommand\section{\@startsection {section}{1}{\z@}%
                                   {3ex \@plus 1ex \@minus .2ex}%
                                   {.8ex \@plus.2ex}%
                                   {\normalfont\normalsize\bfseries}}
\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
                                     {2ex\@plus .5ex \@minus .2ex}%
                                     {.5ex \@plus .2ex}%
                                     {\normalfont\normalsize\bfseries}}
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
                                     {1.5ex\@plus .5ex \@minus .2ex}%
                                     {.5ex \@plus .2ex}%
                                     {\normalfont\normalsize\bfseries}}
%\renewcommand \thesection {\@arabic\c@section}
%\renewcommand\thesubsection   {\thesection.\@arabic\c@subsection}
%\renewcommand\thesubsubsection{\thesubsection .\@arabic\c@subsubsection}
\def\@seccntformat#1{\csname the#1\endcsname.\ }
\let\@thmcountersep.  %\empty


%   \renewenvironment{abstract}{%
% 	\vspace{-1.5em}
%         \small
% 	\fontsize\@xpt{12}\selectfont %% zmensi pismo
%         \begin{center}%
%           {\bfseries \abstractname\vspace{-.5em}\vspace{\z@}}%
%         \end{center}%
%         \quotation
%       }{\endquotation}            
      
\def\@maketitle{%
  \newpage
  \begin{flushright}%
  { \scriptsize
  Conference 
  {\it Cosmology on Small Scales 2024} \\
 Michal K\v{r}\'{\i}\v{z}ek and Yurii Dumin (Eds.) \\
 Institute of Mathematics CAS, Prague \\
  }
  \end{flushright}%
  \vskip 10mm%
  \begin{center}%
    {\bfseries\expandafter\uppercase\expandafter{\@title} \par}%
    \vskip 1.5em%
    \@author
  \end{center}%
  \par
  \vskip 1.5em
  \quotation
  \small
  \noindent {\bfseries Abstract:} \@abstract
  \par
  \smallskip%\vskip 0.5em  
  \noindent {\bfseries Keywords:} \@keywords
  \par
  \smallskip%\vskip 1.5em  
  \noindent {\bfseries PACS:} \@MSC
  \endquotation
}


% konec

