\documentclass[a4paper,11pt, oneside, openany]{book}% note: a4paper - not a4 If you don't use, it will leave margin for printing
\usepackage[hmarginratio=1:1]{geometry}% equal left and right margins
\usepackage[linktocpage, pdftex,
pdfauthor={Rohit Suratekar},
pdftitle={Conference Schedule}]{hyperref} %References and hyperlinks
\usepackage{fixltx2e} %Removes in paragraph warnings
\usepackage{standalone} % load only in the main file
\usepackage{graphicx, float}%Graphics related
\usepackage{titlesec} %To customize titles
\usepackage{fancyhdr} %For header
\usepackage{microtype} %For justify text in block
\usepackage{caption, tabularx} %Tables related
\usepackage{multirow, hhline, longtable} % Table related
\usepackage[table]{xcolor} %Coloring
%\usepackage{afterpage}
%\usepackage[T1]{fontenc}
\pagestyle{fancy}
\fancypagestyle{MyStyle}{%
    \fancyhead{} %Clean headers
    \fancyhead[RO]{\leftmark}
    \fancyhead[LE]{\leftmark}
    \renewcommand{\chaptermark}[1]{\markboth{{\slshape{##1}}}{}}
}
\usepackage{tocloft} %Need this for proper section no space
\setlength{\cftchapnumwidth}{3em}

\usepackage{mathptmx}
\usepackage{amsmath}
\def\permille{\ensuremath{{}^\text{o}\mkern-5mu/\mkern-3mu_\text{oo}}}

\usepackage[normalem]{ulem} % For underline

% Formatting underline
\setcounter{errorcontextlines}{999}
\usepackage{soul} % For proper underline
\makeatletter
\newcommand*{\whiten}[1]{\llap{\textcolor{white}{{\the\SOUL@token}}\hspace{#1pt}}}
\DeclareRobustCommand*\myul{%
	\def\SOUL@everyspace{\underline{\space}\kern\z@}
	\def\SOUL@everytoken{%
		\setbox0=\hbox{\the\SOUL@token}%
		\ifdim\dp0>\z@
		\the\SOUL@token
		\else
		\underline{\the\SOUL@token}%
		\fi}
	\SOUL@}
\makeatother
\titleformat{\chapter}[display]
{\normalfont\huge\bfseries}{}{0pt}{\Huge}
\titlespacing*{\chapter} {0pt}{20pt}{40pt}

%For skipping subchapter
\DeclareRobustCommand{\gobblefour}[4]{}
\newcommand*{\SkipTocEntry}{\addtocontents{toc}{\gobblefour}}
\setcounter{tocdepth}{0}

\begin{document}
\frontmatter
%\input{sections/front_page}
\input{sections/cover_page}
\tableofcontents
\mainmatter
\pagestyle{MyStyle}
\renewcommand{\thesection}{\arabic{section}}
\input{sections/useful_info}
\input{sections/schedule}
\newgeometry{left=1in, right=1in, top=1in, bottom=1in}
\chapter{Talk Abstracts}
\begingroup
\titleformat{\section}[block]{\bfseries\filcenter}{}{1em}{}
\renewcommand*{\thesection}{}
\input{all_speakers}
\endgroup
\chapter{Poster Abstracts}
\renewcommand{\thesection}{\arabic{section}}
\input{all_abstracts}
\input{sections/end_matter}
\end{document}

