Latex: Difference between revisions

309 bytes added ,  6 November 2019
No edit summary
Line 69: Line 69:
Latex is a turing complete language.<br>
Latex is a turing complete language.<br>
You can use if statements and for loops in latex.<br>
You can use if statements and for loops in latex.<br>
===Custom Commands===
You can define your own commands using <code>\newcommand</code>
===Custom Operators===
Latex packages like amsmath come with operators such as <code>\sin</code> and <code>\log</code>.<br>
To get normal text for custom functions like arcsin, use <code>\operatorname{arcsin}</code>.<br>


==Useful Commands==
==Useful Commands==