[Tex/LaTex] Amsart Section title and figure in appendix

amsartappendicessectioning

OK Now I have two problems:
first the MWE

\documentclass[12pt,reqno]{amsart}
%
\usepackage{graphicx}
%for Abc format title and author list
\makeatletter
\g@addto@macro{\endabstract}{\@setabstract}
\newcommand{\authorfootnotes}{\renewcommand\thefootnote{\@fnsymbol\c@footnote}}%
\makeatother
%for multi-line footnote format
\makeatletter
\renewcommand\@makefntext[1]{\leftskip=2em\hskip-2em\@makefnmark#1}
\makeatother
%for left flushed section titles
\makeatletter
\def\specialsection{\@startsection{section}{3}%
  \z@{\linespacing\@plus\linespacing}{.5\linespacing}%
%  {\normalfont\centering}}% DELETED
  {\normalfont}}% NEW
\def\section{\@startsection{section}{1}%
  \z@{.7\linespacing\@plus\linespacing}{.5\linespacing}%
%  {\normalfont\scshape\centering}}% DELETED
  {\normalfont\scshape}}% NEW
\makeatother
%for formating subsection titles
\usepackage[parfill]{parskip}  
\makeatletter
\def\subsubsection{\@startsection{subsubsection}{3}%
  \z@{.5\linespacing\@plus.7\linespacing}{.1\linespacing}%
  {\normalfont\itshape}}
\makeatother
\begin{document}

\section{Maya Devi Temple, Lumbini}\label{k}

\begin{figure}
\begin{tabular}{cc}
  \includegraphics[width=.4\textwidth]{1} &
  \includegraphics[width=.4\textwidth]{2}\\
  \includegraphics[width=.4\textwidth]{3} &
  \includegraphics[width=.4\textwidth]{4}
\end{tabular}
\caption{Maya Devi Temple is an ancient Buddhist temple situated at the UNESCO World Heritage Site of Lumbini, Nepal. It is the main temple at Lumbini, a site traditionally considered the birthplace of Gautama Buddha. The temple stands adjacent to a sacred pool (known as Puskarni) and a sacred garden. The archaeological remains at the site were previously dated to the third-century BCE brick buildings constructed by Ashoka the Great.[1] A sixth-century BCE timber shrine was discovered in 2013.[2]}
\end{figure}

\end{document} 

The output of above
Now the first problem is that the apendix heading is coming below the figure itself which looks stupid. Also

the Section title is in caps (all of them) and I want it to be in Abc form, i.e. Not MAYA DEVI TEMPLE but "Maya devi temple"

Help!!! :s

i tried the following but no help:

\makeatletter
\def\specialsection{\@startsection{section}{3}%
  \z@{\linespacing\@plus\linespacing}{.5\linespacing}%
%  {\normalfont\centering}}% DELETED
  {\normalfont}}% NEW
\def\section{\@startsection{section}{1}%
  \z@{.7\linespacing\@plus\linespacing}{.5\linespacing}%
%  {\normalfont\scshape\centering}}% DELETED
  {\normalfont\scshape}}% NEW
\makeatother

Best Answer

section headings in amsart are set in small caps, not uppercase. this can be overridden by using the following workaround:

\section{\textnormal{Maya Devi Temple, Lumbini}}\label{k}

other problems mentioned have already been reported as solved.