summaryrefslogtreecommitdiff
path: root/doc/macros.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/macros.texi')
-rw-r--r--doc/macros.texi12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/macros.texi b/doc/macros.texi
new file mode 100644
index 0000000..cd3507a
--- /dev/null
+++ b/doc/macros.texi
@@ -0,0 +1,12 @@
+
+@macro img{FILE, ALIGN}
+@ifhtml
+@html
+<img src="img/\FILE\.png" class="float\ALIGN\"/>
+@end html
+@end ifhtml
+@ifnothtml
+@image{img/\FILE\}
+@end ifnothtml
+@end macro
+