\documentclass[11pt,twoside,showtrims]{memoir}
%% ::: Memoir class options for page size
%% ::: * the STOCK SIZE is LETTER
%% ::: * the TRIMMED SIZE is 6 x 9
\stockletter
\settrimmedsize{9in}{6in}{*}
\setpagecc{\paperheight}{\paperwidth}{*}
\settypeblocksize{6in}{4.33in}{*}
\setlrmargins{*}{1in}{*}
\setulmargins{1.2in}{*}{*}
\setheadfoot{0.7in}{0.7in}
\checkandfixthelayout

\usepackage{polyglossia}
\setdefaultlanguage{english}
\setotherlanguage{sanskrit}
\defaultfontfeatures{Mapping=tex-text}
\setmainfont[Numbers=OldStyle]{EB Garamond}
\newfontfamily\sanskritfont[Script=Devanagari]{Murty Sanskrit}
\usepackage{listings}
\lstset{
    frameround=fttt,
    language=XML,
    numbers=left,
    breaklines=true,
    keywordstyle=\color{blue}\bfseries, 
    basicstyle=\ttfamily\color{red},
    numberstyle=\color{black}
    }
\usepackage{natbib}
	\bibpunct{(}{)}{; }{a}{ }{,}
\usepackage{setspace,xcolor}
\usepackage{calc}
\usepackage{changepage}
\usepackage[noreledmac]{eledmac}
\usepackage{setspace}
%\usepackage[shiftedpstarts]{eledpar}
\let\variant=\Cfootnote
\let\chaya=\Bfootnote
\let\parallel=\Afootnote
\renewcommand*{\notefontsetup}{\linespread{1.25}\selectfont\footnotesize}
\usepackage{hyperref}
  \hypersetup{pdftitle={Mirror of Ornaments},
    colorlinks=false,
    linkbordercolor={1 1 1}, % set to white
    citebordercolor={1 1 1}  % set to white
  } 
\title{Mirror of Ornaments}
\author{Andrew Ollett}
%\usepackage{fancyhdr}
%  \pagestyle{fancy}
%  \fancyhead{}
%  \fancyfoot{}
%  \fancyfoot[C]{\thepage}
%  \renewcommand{\footrulewidth}{0pt}
%  \renewcommand{\headrulewidth}{0pt}
\usepackage[normalem]{ulem}
\usepackage{pgfornament}

%\makepagestyle{mystyle}
\nouppercaseheads
\makeevenhead{headings}{\thepage\quad\quad\scshape\leftmark}{}{}
\makeoddhead{headings}{}{}{\rightmark\quad\quad\thepage}

% for the MARKINGS, they are defined manually in the document.
\renewcommand{\chaptermark}[1]{\markboth{\thetitle}{}}
\renewcommand{\partmark}[1]{\markboth{\thetitle}{}}
\renewcommand{\sectionmark}[1]{\markright{#1}}

\newcommand{\introsec}[1]{\section*{#1}\addcontentsline{toc}{section}{#1}\markright{#1}}
\newcommand{\edsec}[1]{\addcontentsline{toc}{section}{#1}\markright{#1}}