X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/book_gpu.git/blobdiff_plain/04b31df6519ed76ed92facfecdde6771593395fd..be4f0c2285aefdeaab115857dd8d77d7aabe6c25:/BookGPU/sunil.cls?ds=inline diff --git a/BookGPU/sunil.cls b/BookGPU/sunil.cls index 44e5e66..bc2fad6 100755 --- a/BookGPU/sunil.cls +++ b/BookGPU/sunil.cls @@ -1193,11 +1193,39 @@ \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}% } @@ -1214,12 +1242,20 @@ % \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 @@ -1229,16 +1265,22 @@ \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{% @@ -1251,7 +1293,8 @@ \fi %%%%%%%%%%%%%%% -\ifnum\c@numauthors>4 +\ifnum\c@numauthors>6 + %\setcounter{numauthors}{0} \resetcounter{numauthors} \fi \stepcounter{numauthors} @@ -1280,7 +1323,20 @@ \sbox\@finalAUboxfromfour{\copy\@AUfourbox} \def\chapter@authorfour{\copy\@finalAUboxfromfour} \def\chapter@affiliationfour{\copy\@AUafffourbox} -\fi} +\fi \ifnum\c@numauthors=5 + \sbox\@AUfivebox{\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[]}}} @@ -1737,4 +1793,4 @@ \endinput %% %% End of file `sunil.cls'. - \ No newline at end of file +