summaryrefslogtreecommitdiff
path: root/styles.tex
diff options
context:
space:
mode:
authorrahulp132020-03-31 12:03:00 +0530
committerrahulp132020-03-31 12:03:00 +0530
commit367ca6840088377c54efdd00c2a23cc59bdc0607 (patch)
treee7caa9ba7fe8ec19015b5b16fc6731c8ca2fc2e3 /styles.tex
downloadeSim-367ca6840088377c54efdd00c2a23cc59bdc0607.tar.gz
eSim-367ca6840088377c54efdd00c2a23cc59bdc0607.tar.bz2
eSim-367ca6840088377c54efdd00c2a23cc59bdc0607.zip
initial commitm2.0
Diffstat (limited to 'styles.tex')
-rw-r--r--styles.tex60
1 files changed, 60 insertions, 0 deletions
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}