Advertisement
Guest User

Untitled

a guest
Aug 19th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. documentclass{article}
  2.  
  3. usepackage{amsmath}
  4. usepackage{amssymb}
  5. usepackage{latexsym}
  6. usepackage{imakeidx} %allows for multiple indexes
  7. usepackage{xcolor}
  8.  
  9. catcode`"=active
  10. def"#1" {textcolor{white}{#1}} %catcode to color words white, as to hide it on the the compile format
  11.  
  12. catcode`@=active
  13. def@[#1][#2][#3]@ {#2index[#1]{$square$ "#3" #2}} %catcode for FORMULAS that are sent to specific indexes as needed, here I use the catcode for "" in order to hide the letter that will allow for the index to be rearranged. so #3 will denote the order of the index, however it will be invisible to the naked eye on white paper so that the formula indexes are easier to read
  14.  
  15. %making indexes as needed
  16. % makeindex[name=NICKNAME, title={INDEX_TITLE},columns=1, intoc]
  17.  
  18. makeindex[name=PV, title={Present Value},columns=1, intoc]
  19.  
  20. usepackage{lipsum} %creating filler text for demonstration/test purposes
  21.  
  22. begin{document}
  23.  
  24. @[PV][$PV$=summation $frac{C}{(1+r)^n}$][c]@
  25. index[PV]{$square PV = sum frac{C}{(1+r)^n}$}
  26.  
  27. @[PV][$PV = sum frac{C}{(1+r)^n}$][b]@
  28.  
  29.  
  30. indexprologue{Present Value is the discounted value, is the value of an expected income stream determined as of the date of valuation}
  31. printindex[PV]
  32.  
  33. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement