Guest User

Untitled

a guest
Feb 18th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. documentclass{article}
  2.  
  3. usepackage{lipsum}
  4.  
  5. newenvironment{foo}{%
  6. }
  7. {%
  8. }
  9.  
  10. newcommand{listfoo}{
  11. % Some code to list the content of the `foo` environments.
  12. }
  13.  
  14. begin{document}
  15.  
  16. lipsum[1]
  17.  
  18. begin{foo}
  19. bf Foo text 1
  20. end{foo}
  21.  
  22. lipsum[2]
  23.  
  24. begin{foo}
  25. bf Foo text 2
  26. end{foo}
  27.  
  28. lipsum[3]
  29.  
  30. begin{foo}
  31. bf Foo text 3
  32. end{foo}
  33.  
  34. listfoo
  35.  
  36. end{document}
Add Comment
Please, Sign In to add comment