This shows you the differences between the selected revision and the current version of the page.
| notepad:latex:tricks 2007/04/12 15:43 | notepad:latex:tricks 2008/03/15 02:48 current | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| Force limits to place at above and below (useful for inline equation): | Force limits to place at above and below (useful for inline equation): | ||
| \sum\limits_{x=1}^{n}\frac{1}{n} | \sum\limits_{x=1}^{n}\frac{1}{n} | ||
| + | |||
| ==== Equal by Definition ==== | ==== Equal by Definition ==== | ||
| i^2 \stackrel{\mathrm{def}}{=} -1 | i^2 \stackrel{\mathrm{def}}{=} -1 | ||
| + | |||
| + | ==== Self-defined function in equation mode ==== | ||
| + | To make foo appears like ''\sin'' or ''\exp'', use | ||
| + | \operatorname{foo}(x) | ||
| + | or to save space, define the following in preamble: | ||
| + | \newcommand{\foo}{\operatorname{foo}} | ||
| ==== Modifying counters ==== | ==== Modifying counters ==== | ||