\usepackage[
  inner=0.75in,
  outer=0.75in,
  top=0.75in,
  bottom=0.75in,
  paperwidth=15cm,
  paperheight=20cm]{geometry}
\usepackage{fontspec}
\usepackage{xltxtra}
\usepackage[meera]{mlym}
\usepackage{fancyhdr}
\usepackage[final]{microtype}
\usepackage{polyglossia}
\usepackage{framed}
\usepackage{url}

\pagestyle{fancy}
\fancyhead{}
\fancyfoot{}

\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}

\linespread{1.1}
\widowpenalty=10000
\clubpenalty=10000
\raggedbottom
\sloppy




\newcommand{\secstar}[1]{\section*{\addcontentsline{toc}{section}{#1}\centering #1}}


\usepackage{titlesec}
\titleformat{\chapter}[display]
{\normalfont\bfseries\filcenter}
{\LARGE\thechapter}
{1ex}
{\titlerule[2pt]
\vspace{2ex}%
\LARGE}
[\vspace{1ex}%
{\titlerule[2pt]}]


%% Define a new 'leo' style for the package that will use a smaller font.
\makeatletter
\def\url@leostyle{%
  \@ifundefined{selectfont}{\def\UrlFont{\sf}}{\def\UrlFont{\small\ttfamily}}}
\makeatother
%% Now actually use the newly defined style.
\urlstyle{leo}
