X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/book_gpu.git/blobdiff_plain/f3c358c4bba6851fbf01121853d7e21866f01884..HEAD:/BookGPU/sunil.cls?ds=sidebyside diff --git a/BookGPU/sunil.cls b/BookGPU/sunil.cls index 6c26076..06b11df 100755 --- a/BookGPU/sunil.cls +++ b/BookGPU/sunil.cls @@ -572,7 +572,7 @@ \else \clearpage \fi - \thispagestyle{plain}% + \thispagestyle{empty}% \if@twocolumn \onecolumn \@tempswatrue @@ -789,7 +789,7 @@ \@ifstar{\@ssection}{\@trplarg{\@section}}} \def\@ssection#1{% \if@ChapterTOCs - \myaddcontentsline{\@chaptoc}{chapsection}{\protect\ssubnumberline{\thesection}#1}\fi + \myaddcontentsline{\@chaptoc}{chapsection}{\protect\ssubnumberline{\ }#1}\fi \@startsection{section}{1}{\z@}{30\p@}{6\p@}{\sec@rule\nopagebreak\vskip13.5\p@\nopagebreak\SectionHeadFont}*{#1}} \def\@section[#1][#2]#3{% \if@ChapterTOCs @@ -815,10 +815,8 @@ \newcommand\subsubsection{\@ifstar{\@ssubsubsection}{\@trplarg{\@subsubsection}}} \def\@ssubsubsection#1{% - \if@ChapterTOCs - \myaddcontentsline{\@chaptoc}{chapsubsubsection}{\string\makebox[\subsecnumwidth][l]{}#1}\fi - \@startsection{subsubsection}{3}{\z@}{12\p@}{6\p@}{% - \SubsubsectionHeadFont}*{#1}} +% \if@ChapterTOCs \myaddcontentsline{\@chaptoc}{chapsubsubsection}{\string\makebox[\subsecnumwidth][l]{}#1}\fi + \@startsection{subsubsection}{3}{\z@}{12\p@}{6\p@}{\SubsubsectionHeadFont}*{#1}} \def\@subsubsection[#1][#2]#3{% \if@ChapterTOCs \addtocounter{subsubsection}{1}% @@ -991,7 +989,7 @@ \newcommand\@pnumwidth{1.55em} \newcommand\@tocrmarg{2.55em} \newcommand\@dotsep{4.5} -\setcounter{tocdepth}{3} +\setcounter{tocdepth}{1} \newcounter{numauthors} @@ -1029,7 +1027,7 @@ \def\draw@part#1#2{% \addpenalty{-\@highpenalty}% - \vskip1em plus\p@ + \vskip1.5em plus\p@ \@tempdima1.5em \begingroup \parindent\z@\rightskip\@pnumwidth @@ -1050,7 +1048,7 @@ % \def\l@part#1#2{% \toc@draw - \gdef\toc@draw{\draw@part{\large #1}{\large #2}}} + \gdef\toc@draw{\draw@part{\large #1}{#2}}} \def\l@fm#1#2{% \toc@draw @@ -1082,7 +1080,7 @@ \def\@pnumwidth{1.8em} \def\draw@chapter#1#2{% \addpenalty{-\@highpenalty}% - \vskip1em plus\p@ + \vskip1.5em plus\p@ \@tempdima1.5em \begingroup \parindent\z@\rightskip\@pnumwidth @@ -1115,7 +1113,7 @@ \def\draw@authors{% \let\@t\@authors \hskip\leftskip - \noindent\vbox{\hsize26pc\raggedright\addvspace{4pt}\ifx\@t\@empty + \noindent\vbox{\hsize25pc\raggedright\addvspace{4pt}\ifx\@t\@empty \let\@t\last@author\fi \ifx\@t\@empty\else \hskip\leftskip @@ -1140,7 +1138,7 @@ \toc@draw \gdef\toc@draw{\draw@section{#1}{#2}}} \def\draw@section#1#2{% - \@dottedtocline{1}{\section@toc@skip}{\SectionTOCWidth}{#1 }{{ + \@newdottedtocline{1}{\section@toc@skip}{\SectionTOCWidth}{#1 }{{ \tocfont #2}}} \newlength\subsection@toc@skip \subsection@toc@skip\section@toc@skip @@ -1185,6 +1183,28 @@ \@dottedtocline{5}{\subparagraph@toc@skip}{6em}{#1}{{ \tocfont #2}}} +\def\@newdottedtocline#1#2#3#4#5{% + \ifnum #1>\c@tocdepth + \else + \vskip \z@ %\@plus.2\p@ +%%% {\leftskip #2\relax\rightskip\@tocrmarg\parfillskip-\rightskip +%%% \parindent #2\relax\@afterindenttrue +%%% \interlinepenalty\@M +%%% \leavevmode +%%% \@tempdima #3\relax +%%% \advance\leftskip\@tempdima\null\hskip-\leftskip +%%% {#4\hfil}\nobreak +%%% \if@pdf +%%% \else +%%% \leaders\hbox{$\m@th\mkern\@dotsep mu\hbox{.}\mkern\@dotsep mu$}\hfill +%%% \nobreak +%%% \hb@xt@\@pnumwidth{\hfil\normalfont\normalcolor #5}% +%%%\fi +%%% \par} + \fi + } + + \def\@dottedtocline#1#2#3#4#5{% \ifnum #1>\c@tocdepth \else