]> AND Private Git Repository - book_gpu.git/blobdiff - BookGPU/sunil.cls
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
new
[book_gpu.git] / BookGPU / sunil.cls
index 9d425119454e8c049f06eb512a4b62f164d1f142..06b11dfbf200795d76996e933aa57ed1bd5766e2 100755 (executable)
 
 \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}%
 \newcommand\@pnumwidth{1.55em}
 \newcommand\@tocrmarg{2.55em}
 \newcommand\@dotsep{4.5}
-\setcounter{tocdepth}{3}
+\setcounter{tocdepth}{1}
 
 
 \newcounter{numauthors}
 %
 \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
   \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
   \@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