%% -*- mode: latex; coding: utf-8 -*-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%% A nice looking LaTeX2e English template, designed to be as minimalistic and complete as possible, and to be compiled with PDFLaTeX
%%%% by Lilian Besson, (C) 2014-16
%%%% (http://perso.crans.org/besson/publis/latex/template_minimalist.tex)
%%%% It is used with autonomize.sh to produce autonomous latex document from autotex-powered document (it adds all the necessary headers)
%%%% (https://bitbucket.org/lbesson/bin/src/master/autonomize.sh)
%%%% mailto:Lilian.BESSON[@]ens-cachan[.]fr
\documentclass[a4paper, 11pt]{article}
% This document is (C) and ©, Mahindra École Centrale, 2014,15
% Written by Lilian Besson (https://bitbucket.org/lbesson/) for the MA 101 course (2014).
%%%%%%%%%%%%%%%%%%%%%%% Import packages %%%%%%%%%%%%%%%%%%%%%
%%%% \usepackage[english]{naereen} %% FIXME: nothing from naereen.sty, all here.

%% Well understand input, and nice output
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[T1]{fontenc}

\usepackage{cmap,enumerate,multicol} % {fixltx2e}
\usepackage{amsmath,amsfonts,amssymb,amsthm,bbm,mathabx}
\usepackage{mathrsfs,graphicx,xcolor,color,float,framed,scrextend}
\everymath{\displaystyle}
\usepackage{enumitem} % use {enumerate} if enumitem is not available
% Custom package for the better footnote symbols, http://ctan.org/pkg/footmisc
\usepackage[bottom]{footmisc}

%%%% WARNING: autotex change scale=[0-9\.]* to scale=MyScale so use only once the pattern scale=[0-9\.]* in your document !
\usepackage[scale=0.75]{geometry}

%%%% To remove if possible
\newcommand{\inv}[1]{\frac{1}{#1}}
%%%% Title of the document, to be changed with autonomize.sh
\newcommand{\mytitle}[0]{MyTitleToChangeWithAutonomizeSh}

\usepackage{lastpage,fancyhdr}
\pagestyle{fancyplain}
    \renewcommand{\headrulewidth}{0.2pt}
    \renewcommand{\footrulewidth}{0.2pt}
    %% If necessary, change here the header and footer
    \lhead{\it{\mytitle{}}} %% Left header
    % \chead{\fancyplain{}{??}} %% Center header
    \rhead{\it{\today}} %% Right header
    \lfoot{\small{Please, report any issue to \href{mailto:besson_at_crans_._org}{\texttt{{besson}{@}{crans.org}}}}} %% Left footer
    \cfoot{\thepage/\pageref{LastPage}} %% Center footer
    \rfoot{\tt{\href{http://www.MahindraEcoleCentrale.edu.in/}{Mahindra École Centrale}}, 2015} %% Right footer

\usepackage[plainpages=false,pdfcenterwindow=true,
    pdftoolbar=false,pdfmenubar=false,backref,
    pdftitle={\mytitle{}},
    %% If necessary, change here the default PDFAuthor value
    pdfauthor={Mahindra École Centrale, Hyderabad, Telangana},
    linkcolor=black,citecolor=black,filecolor=black,urlcolor=black]{hyperref} %% Allow to add URL hyperlink with the command \href.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}

\newtheorem{problem}{Problem}
\newtheorem{remark}{Remark}
\newtheorem{lemma}{Lemma}
\newtheorem{concl}{Conclusion}
\newtheorem{demoEn}{Proof}
%% Options
\numberwithin{equation}{section} %% Option to number equations
\DeclareGraphicsExtensions{.pdf,.png,.jpg,.svg} %% Order to load the images
\title{\mytitle{}} %% Define Title of the document
\date{\today{}} %% And the date

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% autonomize.sh has to RAW include the autotex source, here
\input{MyFileNameToChangeWithAutonomizeSh.tex}

\end{document}
%% END of template_minimalist.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
