summaryrefslogtreecommitdiff
path: root/hdr/tex.hh
diff options
context:
space:
mode:
Diffstat (limited to 'hdr/tex.hh')
-rw-r--r--hdr/tex.hh21
1 files changed, 21 insertions, 0 deletions
diff --git a/hdr/tex.hh b/hdr/tex.hh
new file mode 100644
index 0000000000..546797a7c1
--- /dev/null
+++ b/hdr/tex.hh
@@ -0,0 +1,21 @@
+#ifndef TEX_HH
+#define TEX_HH
+
+#include "string.hh"
+#include "boxes.hh"
+
+/// parameter substitution in TeXstrings
+String
+substitute_args(String source, svec<String> args);
+/**
+ this structure provides a simple macro mechanism:
+
+ if source == "tex%bla%", then
+ eval({"X","Y"}) == "texXblaY"
+ */
+
+/// #h# is in points
+String vstrut(Real h);
+
+
+#endif