Guest User

Untitled

a guest
Jun 24th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. documentclass[a4paper,10pt]{scrartcl}
  2.  
  3. usepackage[utf8]{inputenc}
  4. usepackage{tikz}
  5. usepackage{ifthen}
  6.  
  7.  
  8. newcommandencircle[1]{%
  9. tikz[baseline=(X.base)]
  10. node (X) [draw, shape=circle, inner sep=0] {strut #1};}
  11.  
  12. begin{document}
  13.  
  14. renewcommand{arraystretch}{1.25}
  15.  
  16. pagestyle{empty}
  17.  
  18. begin{tabular}{|c|c|c|c|c|c|}
  19. hline
  20. newcounter{qno}
  21. setcounter{qno}{1}
  22. whiledo{value{qno} < 41}{
  23. theqno.
  24. & encircle{a}
  25. & encircle{b}
  26. & encircle{c}
  27. & encircle{d}
  28. & encircle{e}
  29. \
  30. hline
  31. stepcounter{qno}
  32. }
  33. end{tabular}
  34.  
  35.  
  36. end{document}
Add Comment
Please, Sign In to add comment