Guest User

Untitled

a guest
Oct 19th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. documentclass[a4paper,11pt]{report}
  2.  
  3. usepackage{enumitem}
  4.  
  5. newlist{evenenumerate}{enumerate}{1}
  6. setlist[evenenumerate]{label=Question theevenenumeratei.}
  7. makeatletter
  8.  
  9. renewcommandtheevenenumeratei{@arabic{numexpr2*%
  10. value{evenenumeratei}}}
  11. %I broke this line to make it fit in this text area
  12. makeatother
  13.  
  14. newcommand{evenquestions}{evenenumerate}
  15. newcommand{question}{item}
  16.  
  17. begin{document}
  18.  
  19. noindent
  20.  
  21. In Exercises 1–6, bla bla.
  22.  
  23. begin{evenquestions}
  24. question foo 2
  25. \
  26. question foo 4
  27. \
  28. question foo 6
  29. end{evenquestions}
  30.  
  31. noindent In Exercises 8-16, bla bla bla
  32.  
  33. begin{evenquestions}[resume]
  34. question foo 8
  35. \
  36. question foo 10
  37. \
  38. question foo 12
  39. \
  40. question foo 14
  41. \
  42. question foo 16
  43. end{evenquestions}
  44. end{document}
Add Comment
Please, Sign In to add comment