From 3a799f44829a20d2de0c600d4e2444132803b202 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 26 Oct 2010 19:57:05 -0700 Subject: Documented LaTeX macros. --- README | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README b/README index fe22e19f7..af229b9f4 100644 --- a/README +++ b/README @@ -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 ---------- -- cgit v1.2.3