]> 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 1455f91ca8d69ace46cb3d4abb7f5dbb1c741624..06b11dfbf200795d76996e933aa57ed1bd5766e2 100755 (executable)
   \@ifstar{\@ssection}{\@trplarg{\@section}}}
 \def\@ssection#1{%
   \if@ChapterTOCs
   \@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
   \@startsection{section}{1}{\z@}{30\p@}{6\p@}{\sec@rule\nopagebreak\vskip13.5\p@\nopagebreak\SectionHeadFont}*{#1}}
 \def\@section[#1][#2]#3{%
   \if@ChapterTOCs
 
 \newcommand\subsubsection{\@ifstar{\@ssubsubsection}{\@trplarg{\@subsubsection}}}
 \def\@ssubsubsection#1{%
 
 \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}%
 \def\@subsubsection[#1][#2]#3{%
   \if@ChapterTOCs
     \addtocounter{subsubsection}{1}%
 \newcommand\@pnumwidth{1.55em}
 \newcommand\@tocrmarg{2.55em}
 \newcommand\@dotsep{4.5}
 \newcommand\@pnumwidth{1.55em}
 \newcommand\@tocrmarg{2.55em}
 \newcommand\@dotsep{4.5}
-\setcounter{tocdepth}{3}
+\setcounter{tocdepth}{1}
 
 
 \newcounter{numauthors}
 
 
 \newcounter{numauthors}
 
 \def\draw@part#1#2{%
   \addpenalty{-\@highpenalty}%
 
 \def\draw@part#1#2{%
   \addpenalty{-\@highpenalty}%
-  \vskip1em plus\p@
+  \vskip1.5em plus\p@
   \@tempdima1.5em
   \begingroup
     \parindent\z@\rightskip\@pnumwidth
   \@tempdima1.5em
   \begingroup
     \parindent\z@\rightskip\@pnumwidth
 %
 \def\l@part#1#2{% 
 \toc@draw
 %
 \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
 
   \def\l@fm#1#2{%
   \toc@draw
 \def\@pnumwidth{1.8em}
 \def\draw@chapter#1#2{%
   \addpenalty{-\@highpenalty}%
 \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
   \@tempdima1.5em
   \begingroup
     \parindent\z@\rightskip\@pnumwidth
 \def\draw@authors{%
   \let\@t\@authors
         \hskip\leftskip
 \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
     \let\@t\last@author\fi
   \ifx\@t\@empty\else
     \hskip\leftskip
   \toc@draw
   \gdef\toc@draw{\draw@section{#1}{#2}}}
 \def\draw@section#1#2{%
   \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
 \tocfont #2}}}
 \newlength\subsection@toc@skip
 \subsection@toc@skip\section@toc@skip
   \@dottedtocline{5}{\subparagraph@toc@skip}{6em}{#1}{{
 \tocfont #2}}}
 
   \@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
 \def\@dottedtocline#1#2#3#4#5{%
   \ifnum #1>\c@tocdepth
   \else