1

I was trying to create a cover-page for our assignment. But I don't know how to create enter image description here

In a best way(with out using too many \ldots or with out any \ldots).

  • 1
    try member\dotfill ID no – touhami Oct 31 '15 at 8:29
4

Here's a quick way to add all group members to a list of members and displaying like a ToC.

The code uses expl3 syntax (loaded by xparse) and is at the moment a not so pretty mix of expl3 and traditional TeX/LaTeX.

\documentclass{book}

\usepackage{ulem}
\usepackage{xparse}

\makeatletter
\newcommand{\listofgroupmembers}{%
  \begingroup
  \thispagestyle{empty}
  \renewcommand{\@pnumwidth}{40pt}%
  \section*{Group Members}
  \markboth{}{}%
  \@starttoc{gmb}%
  \endgroup
}

\newcounter{members}

\renewcommand{\themembers}{\arabic{members}.}


\ExplSyntaxOn

\newcommand{\addgroupmember}[1]{%
  \ifnum\value{members} = 0 
  \addtocontents{gmb}{\protect\contentsline{chapter}{Name}{ID\ \uuline{No}}}
  \fi
  \refstepcounter{members}
  \clist_set:Nn \l_tmpa_clist {#1}
  \addtocontents{gmb}{\protect\contentsline{section}{\protect\numberline{\themembers}\clist_item:Nn \l_tmpa_clist{1}}{\clist_item:Nn \l_tmpa_clist {2}}}
}
\ExplSyntaxOff


\begin{document}
\tableofcontents
\clearpage
\markboth{}{}
\listofgroupmembers

\chapter{First}
\addgroupmember{Salmon,788878}
\addgroupmember{Mark,5588778}
\addgroupmember{Ramos,444487}
\addgroupmember{Groucho,1}
\addgroupmember{Chico,2}
\addgroupmember{Harpo,3}
\addgroupmember{Zeppo,4}
\addgroupmember{Gummo,5}




\end{document}

enter image description here

  • Perhaps it's nice to add some space between the Name etc. line and the real entries. – user31729 Oct 31 '15 at 11:50
  • How can I add a space for signature? – albo Apr 26 '16 at 13:28
  • @albo: Where do you want to have a signature? – user31729 Apr 26 '16 at 13:31
  • At the right side of ID no. – albo Apr 26 '16 at 13:38
  • 1
    @Christian_Hupfer: At the right of ID No I want to put the word " signature" and below it a blank space like " ______ " for the respective member. – albo Apr 27 '16 at 5:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.