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

Private GIT Repository
ch1
[book_gpu.git] / BookGPU / sunil.cls
index 44e5e668607e6917524cf29a7eca27c02bd49648..c54ae3e35113334969787aeb9281eab764791775 100755 (executable)
                                                                     \chapter@authorfour\vskip6\p@
         {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationfour}
                                                                         \fi
+ \ifnum\c@numauthors=5
+                                                        \chapter@authorone\vskip6\p@
+        {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationone}\vskip12\p@
+                                                            \chapter@authortwo\vskip6\p@
+        {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationtwo}\vskip12\p@
+                                                                \chapter@authorthree\vskip6\p@
+        {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationthree}\vskip12\p@
+                                                                    \chapter@authorfour\vskip6\p@
+        {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationfour}\vskip12\p@
+                                                                    \chapter@authorfive\vskip6\p@
+        {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationfive}
+                                                                        \fi
+ \ifnum\c@numauthors=6
+                                                        \chapter@authorone\vskip6\p@
+        {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationone}\vskip12\p@
+                                                            \chapter@authortwo\vskip6\p@
+        {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationtwo}\vskip12\p@
+                                                                \chapter@authorthree\vskip6\p@
+        {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationthree}\vskip12\p@
+                                                                    \chapter@authorfour\vskip6\p@
+        {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationfour}\vskip12\p@
+                                                                    \chapter@authorfive\vskip6\p@
+        {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationfive}\vskip12\p@
+                                                                    \chapter@authorsix\vskip6\p@
+        {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationsix}
+                                                                        \fi
 }
  \gdef\chapter@authorone{}\gdef\chapter@affiliationone{}%
  \gdef\chapter@authortwo{}\gdef\chapter@affiliationtwo{}%
  \gdef\chapter@authorthree{}\gdef\chapter@affiliationthree{}%
  \gdef\chapter@authorfour{}\gdef\chapter@affiliationfour{}%
+ \gdef\chapter@authorfive{}\gdef\chapter@affiliationfive{}%
+ \gdef\chapter@authorsix{}\gdef\chapter@affiliationsix{}%
   \vskip 14.6\p@
 {\leftskip\secnumwidth\def\author##1##2{}\@input{\thechapter.toc}\par}%
   }
 %
 \newif\iffinishedfromfour
 \global\finishedfromfourfalse
+%
+\newif\iffinishedfromfive
+\global\finishedfromfivefalse
+%
+\newif\iffinishedfromsix
+\global\finishedfromsixfalse
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
 \newcommand\singleauthorchapter{\finishedfromonetrue}
 \newcommand\twoauthorchapter{\finishedfromtwotrue}
 \newcommand\threeauthorchapter{\finishedfromthreetrue}
 \newcommand\fourauthorchapter{\finishedfromfourtrue}
+\newcommand\fiveauthorchapter{\finishedfromfivetrue}
+\newcommand\sixauthorchapter{\finishedfromsixtrue}
 %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \newif\iffinish
 \newsavebox\@AUtwobox
 \newsavebox\@AUthreebox
 \newsavebox\@AUfourbox
+\newsavebox\@AUfivebox
+\newsavebox\@AUsixbox
 %
 \newsavebox\@AUaffonebox
 \newsavebox\@AUafftwobox
 \newsavebox\@AUaffthreebox
 \newsavebox\@AUafffourbox
+\newsavebox\@AUafffivebox
+\newsavebox\@AUaffsixbox
 %
 \newsavebox\@finalAUboxfromone
 \newsavebox\@finalAUboxfromtwo
 \newsavebox\@finalAUboxfromthree
 \newsavebox\@finalAUboxfromfour
+\newsavebox\@finalAUboxfromfive
+\newsavebox\@finalAUboxfromsix
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \def\@ca#1#2{%
   \fi
 %%%%%%%%%%%%%%%
 
-\ifnum\c@numauthors>4
+\ifnum\c@numauthors>6
+    %\setcounter{numauthors}{0}
     \resetcounter{numauthors}
 \fi 
 \stepcounter{numauthors}
 %%\the\c@numauthors
 \ifnum\c@numauthors=1 % 
-    \sbox\@AUonebox{\CAPlusOneFont#1}
+    \sbox\@AUonebox{\vbox{\hsize\textwidth\CAPlusOneFont\raggedright\noindent \CAPlusOneFont#1}}
     \sbox\@AUaffonebox{\vbox{\hsize\textwidth\CAAPlusOneFont\noindent #2\par}}
     \sbox\@finalAUboxfromone{\copy\@AUonebox}
     \def\chapter@authorone{\copy\@finalAUboxfromone}
     \def\chapter@affiliationone{\copy\@AUaffonebox}
 \fi \ifnum\c@numauthors=2
-    \sbox\@AUtwobox{\CAPlusOneFont#1}
+    \sbox\@AUtwobox{\vbox{\hsize\textwidth\CAPlusOneFont\raggedright\noindent \CAPlusOneFont#1}}
     \sbox\@AUafftwobox{\vbox{\hsize\textwidth\CAAPlusOneFont\noindent #2\par}}
     \sbox\@finalAUboxfromtwo{\copy\@AUtwobox}
     \def\chapter@authortwo{\copy\@finalAUboxfromtwo}
     \def\chapter@affiliationtwo{\copy\@AUafftwobox}
 \fi \ifnum\c@numauthors=3
-    \sbox\@AUthreebox{\CAPlusOneFont#1}
+    \sbox\@AUthreebox{\vbox{\hsize\textwidth\CAPlusOneFont\raggedright\noindent \CAPlusOneFont#1}}
     \sbox\@AUaffthreebox{\vbox{\hsize\textwidth\CAAPlusOneFont\noindent #2\par}}
     \sbox\@finalAUboxfromthree{\copy\@AUthreebox}
     \def\chapter@authorthree{\copy\@finalAUboxfromthree}
     \def\chapter@affiliationthree{\copy\@AUaffthreebox}
 \fi \ifnum\c@numauthors=4
-    \sbox\@AUfourbox{\CAPlusOneFont#1}
+    \sbox\@AUfourbox{\vbox{\hsize\textwidth\CAPlusOneFont\raggedright\noindent \CAPlusOneFont#1}}
     \sbox\@AUafffourbox{\vbox{\hsize\textwidth\CAAPlusOneFont\noindent #2\par}}
     \sbox\@finalAUboxfromfour{\copy\@AUfourbox}
     \def\chapter@authorfour{\copy\@finalAUboxfromfour}
     \def\chapter@affiliationfour{\copy\@AUafffourbox}
-\fi}
+\fi \ifnum\c@numauthors=5
+    \sbox\@AUfivebox{\vbox{\hsize\textwidth\CAPlusOneFont\raggedright\noindent \CAPlusOneFont#1}}
+    \sbox\@AUafffivebox{\vbox{\hsize\textwidth\CAAPlusOneFont\noindent #2\par}}
+    \sbox\@finalAUboxfromfive{\copy\@AUfivebox}
+    \def\chapter@authorfive{\copy\@finalAUboxfromfive}
+    \def\chapter@affiliationfive{\copy\@AUafffivebox}
+\fi \ifnum\c@numauthors=6
+    \sbox\@AUsixbox{\CAPlusOneFont#1}
+    \sbox\@AUaffsixbox{\vbox{\hsize\textwidth\CAAPlusOneFont\noindent #2\par}}
+    \sbox\@finalAUboxfromsix{\copy\@AUsixbox}
+    \def\chapter@authorsix{\copy\@finalAUboxfromsix}
+    \def\chapter@affiliationsix{\copy\@AUaffsixbox}
+\fi
+}
 
 
 \def\@caplusone{\@ifstar{\@scaplusone}{\@ifnextchar[{\@xcaplusone}{\@xcaplusone[]}}}
     \@starttoc{lof}%
     \if@restonecol\twocolumn\fi
     }
-\newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
+\newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.8em}}
 \newcommand\listoftables{%
     \if@twocolumn
       \@restonecoltrue\onecolumn
 \endinput
 %%
 %% End of file `sunil.cls'.
-\0\0\0\0\0\0\0\0\0
\ No newline at end of file
+\0\0\0\0\0\0\0\0\0