ENTRY
  {title
   atomicNumber
   name
   symbol
   type
   group
   note
  } {} {}



FUNCTION{print}
{
cite$ pop$ 
}



FUNCTION{createsection}
{
"\vspace{0.1cm}" write$
newline$
newline$
"\setlength{\LTleft}{0pt}" write$ newline$
 "\setlength{\LTright}{0pt}" write$ newline$ 
"\setlongtables" write$
"\begin{longtable}{l@{\extracolsep{\fill}}l}" write$ newline$ 
"\caption*{\large\bf " write$ newline$
print title write$ newline$ 
"}" write$
"\endfirsthead" write$ newline$
"\caption*{\large\bf " write$ newline$
print title write$ newline$
 " " write$ newline$ 
print "{\normalsize\textnormal{\emph{(continued)}}}" write$ newline$
"}" write$
"\endhead" write$ newline$
}



FUNCTION{tablesection}
{ 
"\vspace{0.1cm}" write$
newline$
newline$
"\setlength{\LTleft}{0pt}" write$ newline$
 "\setlength{\LTright}{0pt}" write$ newline$ 
"\setlongtables" write$
"\begin{longtable}[c]{p{0.1\textwidth}@{\extracolsep{\fill}}p{0.1\textwidth}@{\extracolsep{\fill}}p{0.1\textwidth}}" write$ newline$ 
"\caption*{\large\bf " write$ newline$
print title write$ newline$ 
"}" write$
print "\\" write$ " Atomic Number " write$ " & " write$ " Element "  write$ " & " write$ " Symbol "  write$ "\\[5mm]" write$ newline$ 
print "\\[-5mm]" write$ "\hline" write$ "\\[0.1mm]" write$
"\endfirsthead" write$ newline$
"\caption*{\large\bf " write$ newline$
print title write$ newline$
 " " write$ newline$ 
print "{\normalsize\textnormal{\emph{(continued)}}}" write$ newline$
"}" write$
print "\\" write$ " Atomic Number " write$ " & " write$ " Element "  write$ " & " write$ " Symbol "  write$ "\\[5mm]" write$ newline$ 
print "\\[-5mm]" write$ "\hline" write$ "\\[0.1mm]" write$
"\endhead" write$ newline$
}



FUNCTION{endsection}{
"\end{longtable}" write$
}


FUNCTION{style2}{ 
" {\bf " write$ print atomicNumber write$ " }" write$ print "{ \kern-2.6mm}" write$ ". " write$ name write$ ", " write$ symbol write$ newline$ newline$
print "\\" write$ " It is classified as " write$ type write$ " and is found in group " write$ group write$ newline$ newline$
print "\\" write$ " {\sl " write$ "Note: " write$ newline$ print note write$ " }" write$ 
print "\\" write$
print "\\" write$
}



FUNCTION{style3}{ 
" {\bf " write$ print atomicNumber write$ " }" write$ print "{ \kern-2.6mm}" write$ ". " write$ name write$ ", " write$ symbol write$ newline$ newline$
print "\\" write$ " It is classified as " write$ type write$ 
note empty$
{}
{
note empty$
{}
{
print "\\" write$ " {\sl " write$ "Note: " write$ newline$ print note write$ " }" write$ 
}
if$
}
if$
skip$
print "\\" write$ newline$
print "\\" write$ 
}



FUNCTION{style4}{ 
print atomicNumber write$ " & " write$ print name write$ " & " write$ print symbol write$
print "\\[3mm]" write$
}



FUNCTION {fin}
{newline$
}

READ
ITERATE{call.type$}
EXECUTE {fin} 