I'm trying to implement a function to LaTeX but i don't know how. I'm compiling using this  page: docs.latexlab.org


Question: What's the maximum will a soldier can have per rank? How much willpower does an operative gain per rank?
Answer: According to the wiki:


  Soldiers also gain a randomized 2-6 point Will bonus for each rank; if the Iron Will upgrade is purchased this bonus is increased to a possible 4-12 points.


You can further boost this by using some of the Second Wave option, "Not Created Equally",  to randomize starting stats:


  On one hand a Rookie can start out with a Will stat of 59 and Aim of 80 which is significantly better than the standard stats while on the other hand you can also end up with one with a Will of less than 30 and Aim less than 60 which is substantially worse than standard. Note that this setting does not affect HP, but it does affect Speed - a hidden attribute that is otherwise constant throughout the game.