2

I want to make a market list where the column quantity is blank. The hard copy of the list will be used as a template for market list. Housewife/House keeper will fill the quantity in the hard copy she will need corresponding to the item.

Now, my question is that is there any good package that makes the market list good one?

MWE(compile using xelatex)

\documentclass{article}
\usepackage{booktabs}
\usepackage{polyglossia}
%\setmainlanguage[numerals=Devanagari]{bengali}
%\setmainlanguage{bengali}
%\setotherlanguage{english}
%\newfontfamily\englishfont[Scale=MatchLowercase]{Linux Biolinum O}
%\newfontfamily\bengalifont[Script=Bengali]{Akaash}
\begin{document}
  \begin{tabular}{l@{\hspace{1.5cm}}}
  Name\\
  \toprule
Rice\\
\midrule
pulse\\
\midrule
Salt\\
\midrule
Oil\\
\midrule
Pepper\\
\midrule
Onion\\
\midrule
Garlic\\
\midrule
Ginger\\
\midrule
Salad\\
\midrule
Chicken\\
\midrule
Spice\\
\bottomrule
\end{tabular}
\end{document}

enter image description here

alhelal
  • 2,451
  • @AlanMunn I changed the Bangla text to English. – alhelal Mar 13 '18 at 00:30
  • It's still not clear what your question is, though. – Alan Munn Mar 13 '18 at 00:33
  • @AlanMunn I try to edit again. – alhelal Mar 13 '18 at 00:34
  • @AlanMunn I edited again. If further editing needed tell me. – alhelal Mar 13 '18 at 00:54
  • @AlanMunn As I change the bangla text we can remove our comment otherwise people can confused seeing the comment. – alhelal Mar 13 '18 at 01:07
  • Your example will still give an error if I try to compile without having the font Akaash installed. Like Alan Munn, I don't understand the question anyway. What are you trying to do exactly? – cfr Mar 13 '18 at 01:12
  • @cfr You can use any font/language I have no problem. But, keep in mind that your solution should work in Bengali also since ultimately I have to implement the solution in Bengali. – alhelal Mar 13 '18 at 01:17
  • 1
    My point was that your example code still has the problem @AlanMunn pointed out, since most people will still be unable to compile it. I am extremely unlikely to offer a solution given that I have no idea what the problem is. However, I'll bear that criterion in mind should my crystal ball come up with anything plausible. Right now, it's just displaying an error and asking to be rebooted, but I tried that already and it didn't fix anythng. – cfr Mar 13 '18 at 01:24
  • @cfr I edited again. See now. if any query tell me. – alhelal Mar 13 '18 at 01:38
  • @cfr I made the question very simpler now. Deleted minipage. – alhelal Mar 13 '18 at 01:44
  • @AlanMunn see the edited question, now it is very simpler than previous. – alhelal Mar 13 '18 at 01:45

1 Answers1

2

Something like this?

\documentclass{article}
\usepackage{multicol}
\usepackage{pgffor}
\raggedcolumns
\newcommand{\ListItem}[1]{\underline{\makebox[2cm][l]{#1}}}
\begin{document}
\begin{multicols}{4}
\foreach \x in {Rice,pulse,Salt,Oil,Pepper,Onion,Garlic,Ginger,Salad,Chicken,Spice}
{
\ListItem{\x}\par\bigskip}
\end{multicols}
\end{document}

output of code

Alan Munn
  • 218,180