Advertisement
Guest User

Untitled

a guest
Nov 25th, 2014
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. documentclass{article}
  2.  
  3. usepackage{amsmath}
  4.  
  5. begin{document}
  6.  
  7. begin{align*}
  8. d(x, y) &= d(y, x) tag{symmetry} \
  9. &leq d(y, z) + d(z,x) tag{triangle}
  10. end{align*}
  11.  
  12. end{document}
  13.  
  14. documentclass{article}
  15.  
  16. usepackage{amsmath,xcolor}
  17. makeatletter
  18. defmaketag@@@#1{hbox{m@thnormalfontcolor{black!50}#1}}
  19. makeatother
  20.  
  21. begin{document}
  22.  
  23. begin{align*}
  24. d(x, y) &= d(y, x) tag{symmetry} \
  25. &leq d(y, z) + d(z,x) tag{triangle}
  26. end{align*}
  27.  
  28. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement