From 367ca6840088377c54efdd00c2a23cc59bdc0607 Mon Sep 17 00:00:00 2001 From: rahulp13 Date: Tue, 31 Mar 2020 12:03:00 +0530 Subject: initial commit --- styles.tex | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 styles.tex (limited to 'styles.tex') diff --git a/styles.tex b/styles.tex new file mode 100644 index 00000000..9dd8593a --- /dev/null +++ b/styles.tex @@ -0,0 +1,60 @@ +\makeatletter +\renewcommand\tableofcontents{% + \if@twocolumn + \@restonecoltrue\onecolumn + \else + \@restonecolfalse + \fi + \chapter*{\contentsname + \@mkboth{% + \bf \contentsname}{\bf \contentsname}}% + \@starttoc{toc}% + \if@restonecol\twocolumn\fi + } +\renewenvironment{theindex} + {\if@twocolumn + \@restonecolfalse + \else + \@restonecoltrue + \fi + \columnseprule \z@ + \columnsep 35\p@ + \twocolumn[\@makeschapterhead{\indexname}]% + \@mkboth{\bf \indexname}% + {\bf \indexname}% +\addcontentsline{toc}{chapter}{\protect\numberline{\indexname}}% + \thispagestyle{plain}\parindent\z@ + \parskip\z@ \@plus .3\p@\relax + \let\item\@idxitem} + {\if@restonecol\onecolumn\else\clearpage\fi} +\renewenvironment{thebibliography}[1] + {\chapter*{\bibname}% + \@mkboth{\bf \bibname}{\bf \bibname}% +\addcontentsline{toc}{chapter}{\protect\numberline{References}}% + \list{\@biblabel{\@arabic\c@enumiv}}% + {\settowidth\labelwidth{\@biblabel{#1}}% + \leftmargin\labelwidth + \advance\leftmargin\labelsep + \@openbib@code + \usecounter{enumiv}% + \let\p@enumiv\@empty + \renewcommand\theenumiv{\@arabic\c@enumiv}}% + \sloppy + \clubpenalty4000 + \@clubpenalty \clubpenalty + \widowpenalty4000% + \sfcode`\.\@m} + {\def\@noitemerr + {\@latex@warning{Empty `thebibliography' environment}}% + \endlist} +\makeatother + +%\makeatletter +%\renewcommand{\p@subfigure}{} +%\renewcommand{\@thesubfigure}{\thesubfigure:\hskip\subfiglabelskip} +%\makeatother +%\setcounter{lofdepth}{2} + +%\makeatletter\renewcommand{\p@subfigure}{}\renewcommand{\@thesubfigure}{\thesubfigure:\hskip\subfiglabelskip}\makeatother + +%\setcounter{lofdepth}{2} -- cgit