diff options
author | John MacFarlane <jgm@berkeley.edu> | 2010-10-26 19:57:05 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2010-10-26 19:57:05 -0700 |
commit | 3a799f44829a20d2de0c600d4e2444132803b202 (patch) | |
tree | cbcd51ccd695e12d7ab4dc173215e9b51ab28b01 | |
parent | 7fdf3f5a4604401187dd3db52036c92c38e07a25 (diff) | |
download | pandoc-3a799f44829a20d2de0c600d4e2444132803b202.tar.gz |
Documented LaTeX macros.
-rw-r--r-- | README | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1254,6 +1254,18 @@ command-line options selected: with the URL provided. If no URL is specified, the Google Chart API will be used (`http://chart.apis.google.com/chart?cht=tx&chl=`). +LaTeX Macros +------------ + +For output formats other than LaTeX, pandoc will parse LaTeX `\newcommand` and +`\renewcommand` definitions and apply the resulting macros to all LaTeX +math. So, for example, the following will work in all output formats, +not just LaTeX: + + \newcommand{\tuple}[1]{\langle #1 \rangle} + + $\tuple{a, b, c}$ + Inline TeX ---------- |