% Latex Paper Template Style Sheet for ICMC 2025 (version1)
%   adapted from earlier templates for ICMC, SMC, ISMIR, etc...
%
% The bibliography style is now the most recent IEEEtran.bst

\def\Hline{\noalign{\hrule height 0.4mm}}
%\newcommand{\bm}[1]{\mbox{\boldmath{$#1$}}}
\newcommand{\figbox}[1]{\fbox{\parbox{\columnwidth}{\centering{ #1 }}}}
\newcommand{\range}[2]{{#1,\cdots,#2\;}}
\newcommand{\secref}[1]{\mbox{Section~\ref{#1}}}
\newcommand{\tabref}[1]{\mbox{Table~\ref{#1}}}
\newcommand{\figref}[1]{\mbox{Figure~\ref{#1}}}
\newcommand{\eqnref}[1]{\mbox{Eq.~(\ref{#1})}}

\renewcommand{\sfdefault}{phv}
\renewcommand{\rmdefault}{ptm}
\renewcommand{\ttdefault}{pcr}

\setlength{\paperheight}{29.7cm}
\setlength{\paperwidth}{21.0cm}
\setlength{\textheight}{25.2cm}
\setlength{\textwidth}{17.20cm}
\setlength{\columnsep}{0.8cm}
\setlength{\headheight}{0mm}
\setlength{\voffset}{-12mm}
\setlength{\hoffset}{0mm}
\setlength{\marginparwidth}{0mm}
\setlength{\parindent}{2mm} %1pc
\setlength{\topmargin}{-5mm}
\setlength{\oddsidemargin}{-6mm}
\setlength{\evensidemargin}{-6mm}

\setlength\normallineskip{1\p@}
\setlength\parskip{0\p@ \@plus \p@}
%\def\baselinestretch{0.98}
\def\baselinestretch{1.15}

\def\normalsize{\@setsize\normalsize{10pt}\xpt\@xpt}
\def\small{\@setsize\small{9pt}\ixpt\@ixpt}
\def\footnotesize{\@setsize\footnotesize{8pt}\viiipt\@viiipt}
\def\scriptsize{\@setsize\scriptsize{9pt}\ixpt\@ixpt}
\def\capsize{\@setsize\capsize{8pt}\viiipt\@viiipt}
\def\tiny{\@setsize\tiny{6pt}\vipt\@vipt}
\def\large{\@setsize\large{14pt}\xiipt\@xiipt}
\def\Large{\@setsize\Large{16pt}\xivpt\@xivpt}
\def\LARGE{\@setsize\LARGE{20pt}\xviipt\@xviipt}
\def\huge{\@setsize\huge{23pt}\xxpt\@xxpt}
\def\Huge{\@setsize\Huge{28pt}\xxvpt\@xxvpt}

\twocolumn
\pagestyle{empty}

\def\maketitle{\par
  \begingroup
  \def\thefootnote{}
  \def\@makefnmark{
    \hbox
    {$^{\@thefnmark}$\hss}
  }
  \twocolumn[\@maketitle]
  \permission
  \@thanks
  \endgroup
  \setcounter{footnote}{0}
  \let\maketitle\relax
  \let\@maketitle\relax
  \gdef\thefootnote{
  \arabic{footnote}
  }
  \gdef\@@savethanks{}
  \gdef\@thanks{}
  \gdef\@author{}
  \gdef\@title{}
  \let\thanks\relax
}

\def\@maketitle{
  \newpage
  \null
  \begin{center} {
    \Large \bf \@title \par
  }
  \vskip 2.0em {
    \normalsize \lineskip .5em
    \begin{tabular}[t]{c}
    \@author \\
    \end{tabular}
    \par
  }
  \end{center}
  \par
  \vskip 2.0em
}

\newcommand{\permission}{
\begin{figure}[b]
{\footnotesize {\em Copyright: \copyright  2025 \firstauthor  \hspace*{1 pt} et al. This is an open-access article distributed under the terms of the \href {http://creativecommons.org/licenses/by/3.0/}{\textcolor {magenta}{\ul{Creative Commons Attribution License 3.0 Unported}}}, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.}}
%{\copyright~Copyright notice here}
\end{figure}}

\def\oneauthor#1#2{
  \gdef\@author{
  \begin{tabular}{@{}c@{}}
    {\bf #1} \\
    #2\relax
   \end{tabular}
  }
}

\def\twoauthors#1#2#3#4#5{
  \gdef\@author{
  \begin{tabular}{@{}c@{}}
    {\bf #2} \\
    #3
  \end{tabular}\hskip #1
  \begin{tabular}{@{}c@{}}
    {\bf #4} \\
    #5\relax
  \end{tabular}
  }
}


\def\threeauthors#1#2#3#4#5#6#7{
  \gdef\@author{
  \begin{tabular}{@{}c@{}}
    {\bf #2} \\
    #3
  \end{tabular}\hskip #1
  \begin{tabular}{@{}c@{}}
    {\bf #4} \\
    #5
  \end{tabular}\hskip #1
  \begin{tabular}{@{}c@{}}
    {\bf #6} \\
    #7\relax
  \end{tabular}
  }
}

\def\fourauthors#1#2#3#4#5#6#7#8#9{
  \gdef\@author{
  \begin{tabular}{@{}c@{}}
    {\bf #2} \\
    #3
  \end{tabular}\hskip #1
  \begin{tabular}{@{}c@{}}
    {\bf #4} \\
    #5
  \end{tabular}\\ \\
  \begin{tabular}{@{}c@{}}
    {\bf #6} \\
    #7
  \end{tabular}\hskip #1
  \begin{tabular}{@{}c@{}}
    {\bf #8} \\
    #9\relax
  \end{tabular}
  }
}

\def\fiveauthors#1#2#3#4#5#6#7#8#9{
  \def\ArgTenAndUp##1##2{
      \gdef\@author{
    \begin{tabular}{@{}c@{}}
      {\bf #2} \\
      #3
    \end{tabular}\hskip #1
    \begin{tabular}{@{}c@{}}
      {\bf #4} \\
      #5
    \end{tabular}\hskip #1
    \begin{tabular}{@{}c@{}}
      {\bf #6} \\
      #7
    \end{tabular}\\ \\
    \begin{tabular}{@{}c@{}}
      {\bf #8} \\
      #9
    \end{tabular}\hskip #1
    \begin{tabular}{@{}c@{}}
      {\bf ##1} \\
      ##2\relax
    \end{tabular}
    }
  }
  \ArgTenAndUp%
}

\def\sixauthors#1#2#3#4#5#6#7#8#9{
  \def\ArgTenAndUp##1##2##3##4{
      \gdef\@author{
    \begin{tabular}{@{}c@{}}
      {\bf #2} \\
      #3
    \end{tabular}\hskip #1
    \begin{tabular}{@{}c@{}}
      {\bf #4} \\
      #5
    \end{tabular}\hskip #1
    \begin{tabular}{@{}c@{}}
      {\bf #6} \\
      #7
    \end{tabular}\\ \\
    \begin{tabular}{@{}c@{}}
      {\bf #8} \\
      #9
    \end{tabular}\hskip #1
    \begin{tabular}{@{}c@{}}
      {\bf ##1} \\
      ##2
    \end{tabular}\hskip #1
    \begin{tabular}{@{}c@{}}
      {\bf ##3} \\
      ##4\relax
    \end{tabular}
    }
  }
  \ArgTenAndUp%
}

\def\abstract{
  \begin{center}{
  \bf ABSTRACT
  }
  \end{center} \em
}
\def\endabstract{\par}

\def\title#1{\gdef\@title{\uppercase{#1}}}

\newif\if@smcsection

\renewcommand\section{
  \@smcsectiontrue
  \@startsection
  {section}
  {1}
  {\z@}
  {-3.5ex \@plus -1ex \@minus -.2ex}
  {6pt \@plus.2ex}
  {\large\bf\centering}
}

\renewcommand\subsection{
  \@smcsectionfalse
  \@startsection
  {subsection}
  {2}
  {\z@}
  {-2.5ex \@plus -1ex \@minus -.2ex}
  {6pt \@plus.2ex}
  {\normalsize\bf\raggedright}
}

\renewcommand\subsubsection{
  \@smcsectionfalse
  \@startsection
  {subsubsection}
  {3}
  {\z@}
  {-1.5ex \@plus -1ex \@minus -.2ex}
  {6pt \@plus.2ex}
  {\normalsize\it\raggedright}
}

\def\@sect#1#2#3#4#5#6[#7]#8{
  \refstepcounter{#1}
  \if@smcsection
    \edef\@svsec{\csname the#1\endcsname.\hskip 0.6em}
  \else
    \edef\@svsec{\csname the#1\endcsname\hskip 0.6em}
  \fi
  \begingroup
    \ifnum #2=1
      \bf\centering{\interlinepenalty \@M \@svsec\uppercase{#8}\par}
    \else
      \ifnum #2=2
        \bf\raggedright
        \noindent{\interlinepenalty \@M \@svsec #8\par}
      \else
        \it\raggedright
        \noindent{\interlinepenalty \@M \@svsec #8\par}
      \fi
    \fi
  \endgroup
  \csname #1mark\endcsname{#7}\addcontentsline
  {toc}{#1}{\protect\numberline
  \if@smcsection
    {\csname the#1\endcsname.}
  \else
    {\csname the#1\endcsname}
  \fi
  #7}
  \@tempskipa #5\relax
  \@xsect{\@tempskipa}
}

\newenvironment{acknowledgments}%
{%
\vskip 2.5ex {\normalsize\bf\raggedright Acknowledgments} 
\vspace*{6pt} \\
\noindent
}%
{%
\par
}


\bibliographystyle{IEEEtran}

\def\thebibliography#1{
  \section{References}\list
  {[\arabic{enumi}]}{
  \settowidth\labelwidth{[#1]}\leftmargin 1em
  \advance\leftmargin\labelsep
  \usecounter{enumi}
  }
  \def\newblock{\hskip .01em plus .01em minus .01em}
  \sloppy\clubpenalty4000\widowpenalty4000
  \sfcode`\.=1000\relax
}

\let\endthebibliography=\endlist

\long\def\@makecaption#1#2{
  \vskip 10pt
  \setbox\@tempboxa\hbox{#1. #2}
  \ifdim
    \wd\@tempboxa >\hsize #1. #2\par
  \else
    \hbox
    to\hsize{\hfil\box\@tempboxa\hfil}
  \fi
}

\def\fnum@figure{\capsize{\bf Figure\ \thefigure}}
\def\fnum@table{\capsize{\bf Table \thetable}}

\flushbottom
