about summary refs log tree commit diff
path: root/manual/macros.texi
diff options
context:
space:
mode:
Diffstat (limited to 'manual/macros.texi')
-rw-r--r--manual/macros.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/manual/macros.texi b/manual/macros.texi
index f32c86dc22..9cf8031d69 100644
--- a/manual/macros.texi
+++ b/manual/macros.texi
@@ -256,4 +256,15 @@ cwd\comments\
 !posix\comments\
 @end macro
 
+@iftex
+@macro twoexp{exp}
+@math{2^{{\exp\}}}
+@end macro
+@end iftex
+@ifnottex
+@macro twoexp{exp}
+2^\exp\
+@end macro
+@end ifnottex
+
 @end ifclear