\documentclass[11pt]{article}  % Reduce font size to 10pt
\usepackage[a4paper, total={6in, 8in}]{geometry}  % Reduce margins
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{authblk}  % To manage author affiliations correctly
\usepackage[usenames]{xcolor}
\usepackage{lastpage}
\usepackage[utf8]{inputenc}
\usepackage{indentfirst}
\usepackage{amsfonts,amscd}
\usepackage{empheq}
\usepackage{latexsym}
\usepackage{graphicx,graphics,epsfig}
\usepackage{hyperref}

\usepackage{dsfont}

\urlstyle{same}

\renewcommand{\baselinestretch}{1.0}  % Tighten line spacing

\newtheorem{theorem}{Theorem}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{conjecture}[theorem]{Conjecture}

\theoremstyle{definition}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{remark}[theorem]{Remark}
\newtheorem{example}[theorem]{Example}

\makeatletter
\global\let\@jointwith\relax
\global\let\@affiliation\relax
% Redefine the \jointwith and \affiliation commands
\def\jointwith#1{\gdef\@jointwith{(Joint work with #1)}}
\def\affiliation#1{\gdef\@affiliation{#1}}

\newcommand{\Keywords}[1]{\par\noindent{\bfseries Keywords}: #1}
\newcommand{\MSC}[1]{\par\noindent{\bfseries MSC}: #1}

\renewcommand\maketitle{\par
  \begingroup
    \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
    \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
    \long\def\@makefntext##1{\parindent 1em\noindent
            \hb@xt@1.8em{%
                \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
    \if@twocolumn
      \ifnum \col@number=\@ne
        \@maketitle
      \else
        \twocolumn[\@maketitle]%
      \fi
    \else
      \newpage
      \global\@topnum\z@
      \@maketitle
    \fi
    \thispagestyle{plain}\@thanks
  \endgroup
  \setcounter{footnote}{0}%
  \global\let\thanks\relax
  \global\let\@jointwith\relax
  \global\let\@affiliation\relax
  \global\let\maketitle\relax
  \global\let\@maketitle\relax
  \global\let\@thanks\@empty
  \global\let\@author\@empty
  \global\let\@date\@empty
  \global\let\@title\@empty
  \global\let\title\relax
  \global\let\author\relax
  \global\let\date\relax
  \global\let\and\relax
}
\def\@maketitle{%
  \newpage
  \null
  \vskip 2em%
  \begin{center}%
    {\LARGE \@title \par}%
    \vskip 1.5em%
    {\large
      \lineskip .5em%
      \begin{tabular}[t]{c}%
        \@author \\
        {\sc\small \@affiliation} \\
        {\small \@jointwith}
      \end{tabular}\par}%
    \vskip 1em%
  \end{center}%
  \par
  \vskip 1.5em}
\makeatother
\renewcommand*{\thefootnote}{\fnsymbol{footnote}}

\begin{document}

\title{This is the title of the talk}
\author{Name of the Speaker}
\affiliation{University of the Speaker}
\jointwith{Coauthors}
\maketitle

This is the abstract of my talk: ...

\vline

\Keywords{keyword 1, keyword 2}

\begin{thebibliography}{99}
\bibitem{citation1}
\textsc{Authors 1}, Title 1, \textit{Journal 1} \textbf{Volume number}(2025), No.~1, 261--281.
\bibitem{citation2}
\textsc{Authors 2}, Title 2, \textit{Journal 2} \textbf{Volume number}(2025), No.~1, 261--281.
\end{thebibliography}

\end{document}
