%        File: Doodlesheet.ltx
%     Purpose: a scribble-sheet to organize grades before input into Excel
%     Created: Wed Jan 22 04:00 PM 2014 E
% Last Change:     22 Aug 2014
%
%\documentclass[7pt]{article}					%#d
\documentclass[landscape,7pt]{article}				%#f
%<<<
\usepackage[margin=1cm]{geometry}
\usepackage{fontsize}
\usepackage{colortbl}
\usepackage{ifthen}
\usepackage[scaled]{helvet}

\pagestyle{empty}
\setlength{\parindent}{0pt}
\renewcommand{\arraystretch}{1.35}	% adjust for vertical fit

\newcounter{linenr}
\newcommand{\Bar}{{\color[gray]{0.75}\vline}}
\newcommand{\BlBar}{{\color{black}\vline}}

\newcommand{\nl}{			% number of blank columns must
    & & & & & & & & & & 		% match "*-number" in table header
    & & & & & & & & & &
%    & & & & & & & & & & 					%#f
    & & & & &
    \addtocounter{linenr}{1}
    \ifthenelse{\value{linenr} = 3}{%
	\setcounter{linenr}{0}%
	\\\arrayrulecolor{black}\hline%
    }{%
	\\\arrayrulecolor[gray]{0.75}\hline%
    }
%    \\\hline%
}

\begin{document}%>>>

% :mkdraft for portrait,     :mkfinal for landscape

\sffamily %<<<
\begin{tabular*}{\textwidth}
    {%
	l@{ \enspace}l!{\BlBar}%
	@{~~\extracolsep{2mm plus 4mm}}%
	*{25}{l!{\Bar}}%					%#d
%	*{35}{l!{\Bar}}%					%#f
    } \hline	%>>>
% template line:   
%	Doe & Mary \nl 

Alpha & Alice \nl
Beta  & Bernard \nl
Gamma & Ginnie \nl
Delta & Donald \nl
Epsilon & Ellie \nl
Zeta	& Zoe \nl
Eta	& Eric\nl
Theta	& Thomas\nl
Iota	& Eileen \nl


\end{tabular*}


\end{document}

% vim substitutions for pasted names:  (highlight names, <esc>, then paste cmd)
  :'<,'>s/\t/ \& / | '<,'>s/$/\\nl/ | :silent! '<,'>s/_/ /g

%							 vim: ft=texnoplugin tw=0 
