Guest User

Untitled

a guest
Feb 19th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. documentclass[11pt]{book}
  2.  
  3. usepackage{enumitem, xfrac, xparse}
  4.  
  5. NewDocumentCommand IngredientList { >{SplitList{;}} m }
  6. {
  7. begin{description} [noitemsep,leftmargin=!,labelindent=8pt,itemindent=-15pt]
  8. ProcessList{#1}{ProcessIngredients}
  9. end{description}
  10. }
  11. newcommandProcessIngredients[1]{item #1}
  12.  
  13. begin{document}
  14.  
  15. IngredientList{
  16. 4 ounces unsalted butter, room temperature ;
  17. 2 large eggs, room temperature ;
  18. 1 cup granulated sugar ;
  19. 1 tsp. vanilla extract ;
  20. 1 Tbsp. instant espresso powder ;
  21. sfrac{1}{2} cup cocoa powder, sifted if necessary ;
  22. 1sfrac{1}{2} cups flour ;
  23. sfrac{1}{2} cup almond flour ;
  24. 1 tsp. baking soda ;
  25. sfrac{1}{2} tsp. salt ;
  26. 1 cup toasted hazelnuts, roughly chopped (or pistachios or almonds) ;
  27. 3 ounces bittersweet chocolate, coarsely chopped
  28. }
  29. end{document}
Add Comment
Please, Sign In to add comment