Advertisement
Guest User

Untitled

a guest
Jun 30th, 2016
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. documentclass{article}
  2. usepackage{amsmath,amsthm}
  3.  
  4. theoremstyle{definition}
  5. newtheorem{examplex}{Example}
  6. newenvironment{example}
  7. {pushQED{qed}renewcommand{qedsymbol}{$triangle$}examplex}
  8. {popQEDendexamplex}
  9.  
  10. begin{document}
  11.  
  12. begin{example}
  13. This has only text.
  14. end{example}
  15.  
  16. begin{example}
  17. This has also a display at the end:
  18. begin{align*}
  19. f(x) &= bigg( g(x) bigg) \
  20. h(x) &= bigg( r(x) bigg).qedhere
  21. end{align*}
  22. end{example}
  23.  
  24. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement