1# You can place LaTeX Macros here. 2# They are written as coffeescript objects in CSON. 3# So don't forget to escape your backslashes! 4# Here are some examples to get you going: 5 6# A zero argument macro 7# This is just an alias for \theta. 8 9# th: "{\\theta}" # Example usage: $\th$ 10 11# A one argument macro 12# This one gives you "1 over something" as a fraction. 13 14# inv: ["{\\frac{1}{#1}}",1] # Example usage: $\inv{x}$ 15 16# A two argument macro 17# This one gives you a fraction with nicely typeset parentheses on either side. 18 19# pfrac: ["{\\left(\\frac{#1}{#2}\\right)}",2] # Example usage: $\pfrac{x}{y}$ 20 21# You can use up to 9 arguments like this!