X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/book_gpu.git/blobdiff_plain/04b31df6519ed76ed92facfecdde6771593395fd..4c07e9cc681b9a8ed54d9a1b48e9d8b00af63126:/BookGPU/sunil.cls diff --git a/BookGPU/sunil.cls b/BookGPU/sunil.cls index 44e5e66..c54ae3e 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,36 +1293,50 @@ \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[]}}} @@ -1351,7 +1407,7 @@ \@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 @@ -1737,4 +1793,4 @@ \endinput %% %% End of file `sunil.cls'. - \ No newline at end of file +