Guest User

Untitled

a guest
May 23rd, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. documentclass{article}
  2. usepackage{amsmath}
  3.  
  4. newcommand{numberOfDocuments}{mathcal{N}}
  5. newcommand{someSimpleCommand}{mathcal{F}}
  6. newcommand{someComplexCommand}[1]{sum_{i = #1}^{#1+5} i}
  7.  
  8. begin{document}
  9.  
  10. This is $numberOfDocuments = 1$ document with equations
  11. begin{align}
  12. someSimpleCommand approx someComplexCommand{numberOfDocuments}
  13. end{align}
  14.  
  15. end{document}
  16.  
  17. mathcal{N} = 1
  18. mathcal{F} approx sum_{i = mathcal{N}}^{mathcal{N}+5} i
Add Comment
Please, Sign In to add comment