\NeedsTeXFormat{LaTeX2e}
%----------------------page format --------------------
\usepackage{hyperref}
\setlength{\paperheight}{240mm}
\setlength{\paperwidth}{170mm}
%\setlength{\topmargin}{20mm}
%\setlength{\headheight}{\baselineskip}
%\setlength{\headsep}{.5\baselineskip}
%\addtolength{\topmargin}{-20mm}
%\setlength{\topskip}{0pt}
%\addtolength{\textheight}{-40mm}
%\addtolength{\textheight}{-\headheight}
%\addtolength{\textheight}{-\headsep}
%\setlength{\oddsidemargin}{26mm}
%\addtolength{\oddsidemargin}{-20mm}
%\setlength{\evensidemargin}{\oddsidemargin}
%\setlength{\footskip}{1.5\baselineskip}
%\addtolength{\textheight}{-\footskip}
%\setlength{\marginparwidth}{0pt}
%\setlength{\marginparsep}{0pt}
%\addtolength{\textwidth}{-52mm}
%\newif\if@french
%\@frenchfalse
\usepackage{color}
\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
\usepackage{hyperref}
\usepackage{orcidlink}
\hypersetup{
     colorlinks   = true,
     citecolor    = blue, urlcolor = black,
}

\usepackage{amssymb,enumerate}
\usepackage{amsmath}
\usepackage{graphics}

\usepackage[turkish,english]{babel} 
\usepackage[utf8]{inputenc} 
\usepackage[T1]{fontenc} 
\DeclareOption{french}{\@frenchtrue}
\ProcessOptions

%----------------fonts--------------------
\RequirePackage{amssymb}
\RequirePackage{graphicx}
\RequirePackage{palatino}
\RequirePackage[hmargin={12mm,12mm},vmargin=18mm,vmarginratio=1:1,headheight=\baselineskip,headsep=1.4\baselineskip,footskip=1.5\baselineskip]{geometry}
\newcommand{\fonttitle}{\fontfamily{ppl}\fontseries{bx}\LARGE\selectfont}
\newcommand{\fontcover}{\fontfamily{ppl}\fontseries{bx}\selectfont}
\newcommand{\fontauthor}{\fontfamily{ppl}\fontseries{m}\fontshape{sc}\normalsize\selectfont}
\newcommand{\fontabstract}{\fontfamily{ppl}\fontseries{m}\footnotesize\selectfont}
\newcommand{\fontantet}{\fontfamily{ppl}\fontseries{m}\fontsize{10}{12}\selectfont}
\newcommand{\fontkey}{\fontfamily{ppl}\fontseries{b}\fontsize{7}{9}\selectfont}
\newcommand{\fontded}{\fontfamily{pzd}\fontseries{sb}\fontsize{9}{11}\selectfont}
%--------------new command---------------
\newcommand{\mmmAbstractname}{\sc Abstract:}
\renewcommand{\datename}{Received:}
\renewcommand{\keywordsname}{\upshape Key words and phrases}


\def\maketitle{
  \@setcopyright
  \thispagestyle{firstpage}
  \vspace*{1 cm}
    \begingroup
\begin{flushleft}
{\fontded \it Research Article}\\ \vspace{0.3cm}
{\fonttitle\@title}\\ \vspace{\baselineskip}
%{\fontded \it Dedicated to Professor Erhard Meister on the occasion of his $90^{th}$ anniversary}


\end{flushleft}
    \endgroup
  \@maketitle
  \vspace{-0.5 cm}
}

\def\@maketitle{%
  \let\@makefnmark\relax  \let\@thefnmark\relax
  \ifx\@empty\@date\else \@footnotetext{\@setdate}\fi
  %\ifx\@empty\@subjclass\else \@footnotetext{\@setsubjclass}\fi
  %\ifx\@empty\@keywords\else \@footnotetext{\@setkeywords}\fi
  \ifx\@empty\@corauthor\else \@footnotetext{\@corauthor}\fi
  \ifx\@empty\@doi\else \@footnotetext{\@doi}\fi
  \ifx\@empty\thankses\else \@footnotetext{%
    \def\par{\let\par\@par}\@setthanks}\fi
  \@mkboth{\@nx\shortauthors}{\@nx\shorttitle}
  \global\topskip42\p@\relax % 5.5pc   "   "   "     "     "
  \ifx\@empty\authors \else \@setauthors \fi
  \ifx\@empty\@dedicatory
  \else
    \baselineskip18\p@
    \vtop{\centering{\footnotesize\itshape\@dedicatory\@@par}%
      \global\dimen@i\prevdepth}\prevdepth\dimen@i
  \fi
    \@setabstract
  \if@titlepage
    \newpage
  \else
    \dimen@34\p@ \advance\dimen@-\baselineskip
    \vskip\dimen@\relax
  \fi
} % end \@maketitle
%-------------------
\def\corauthor#1{\def\@corauthor{*Corresponding author: #1}}
\let\@corauthor=\@empty
\def\doi#1{\def\@doi{DOI: #1}}
\let\@doi=\@empty
%\def\@corauthor{%
 % {\itshape \keywordsname.}\enspace \@keywords\@addpunct.}
%-------------------
\def\@setdate{\datename\ \@date;\enspace Accepted: \@undate; \enspace Published Online: \@adate}

\def\undate#1{\def\@undate{#1}}
\let\@undate\@empty
\def\adate#1{\def\@adate{#1}}
\let\@adate\@empty
%-----------------
\def\publname{MODERN MATHEMATICAL METHODS}
\def\article@logo{%
  \vtop to 0pt{
  \parindent\z@
  \begin{minipage}{0.6\linewidth}
 {\fontantet\selectfont\small MODERN MATHEMATICAL METHODS  \\
  {\bfseries\currentvolume \ }(\currentyear),  No. \currentissue, pp. \currentpages
  %{\fontkey\selectfont Special issue: ICAM6, 2008}\\
  \\{{\ttfamily https://modernmathmeth.com/}\\ISSN 3023 - 5294
  } 
   }
  \end{minipage}
  \hfill
  \begin{minipage}{0.40\linewidth}
  
  \begin{flushright}
   \includegraphics[height=1.5cm, width=3cm]{mmm.png}
   \end{flushright}
    
  
  
  \end{minipage}
  \endgraf\vss}
}

\def\@setauthors{%
  \begingroup
  \trivlist
  \raggedright\fontauthor \@topsep30\p@\relax
  \advance\@topsep by -\baselineskip
  \item\relax
  \andify\authors
  \def\\{\protect\linebreak}%
\authors%
  \endtrivlist
  \endgroup
}


\newbox\mmmAbstractbox
\newenvironment{mmmAbstract}{%
  \ifx\maketitle\relax
    \ClassWarning{\@classname}{Abstract should precede
      \protect\maketitle\space in AMS documentclasses; reported}%
  \fi
  \global\setbox\mmmAbstractbox=\vtop \bgroup
    \fontabstract
    \list{}{\labelwidth\z@
      \leftmargin0pc \rightmargin0pc
      \listparindent\normalparindent \itemindent\z@
      \parsep\z@ \@plus\p@
      \let\fullwidthdisplay\relax
    }%
    \nointerlineskip  %abstract line
   \moveright 0\textwidth \vbox{\hrule width 1\textwidth height 1\p@}
    \item[\hskip\labelsep\scshape\normalsize\abstractname.]
}{%
  \endlist\egroup
  \ifx\@setabstract\relax \@setabstracta \fi
}
\def\@setabstract{\@setabstracta \global\let\@setabstract\relax}
\def\@setabstracta{%
  \ifvoid\mmmAbstractbox
  \else
    \skip@20\p@ \advance\skip@-\lastskip
    \advance\skip@-\baselineskip \vskip\skip@
    \box\mmmAbstractbox
    \prevdepth\z@
  \fi
\vspace{1.5mm}\nointerlineskip  %abstract line
   \moveright 0\textwidth \vbox{\hrule width 1\textwidth height 1\p@}
}

%===================================
\def\copyrightyear{}
\def\copyrightyearmodC{}
\def\ISSN{}
\def\copyrightprice{}
\def\currentvolume{}
\def\currentyear{}
\def\currentissue{}

%\newcommand{\coordinates}[4]{
%  \def\currentvolume{#1}
%  \def\currentyear{#2}
%  \def\currentissue{#3}
%  \def\currentpages{#4}
%}

\newcommand{\coordinates}[4]{
  \def\currentvolume{#1}
  \def\currentyear{#2}
  \def\currentissue{#3}
  \def\currentpages{#4}
}

\def\lowLaTeX{{\reset@font\rmfamily L\kern-.05em%
    \raise.7ex\hbox{\scshape a}\kern-.08em%
    T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
\def\LaTeX{\protect\lowLaTeX}
%----------------------------------
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}{Lemma}
\newtheorem{corollary}{Corollary}
\newtheorem{proposition}{Proposition}
\newtheorem{definition}{Definition}
\newtheorem{example}{Example}
\newtheorem{remark}{Remark}
\newtheorem{application}{Application}
\renewcommand{\thetheorem}{\thesection.\arabic{theorem}}
\renewcommand{\thelemma}{\thesection.\arabic{lemma}}
\renewcommand{\thecorollary}{\thesection.\arabic{corollary}}
\renewcommand{\theproposition}{\thesection.\arabic{proposition}}
\renewcommand{\thedefinition}{\thesection.\arabic{definition}}
\renewcommand{\theexample}{\thesection.\arabic{example}}
\renewcommand{\theremark}{\thesection.\arabic{remark}}
\renewcommand{\theapplication}{\thesection.\arabic{application}}
\renewcommand{\theequation}{\thesection.\arabic{equation}}
%--------------------------------------
\endinput