aboutsummaryrefslogtreecommitdiff
path: root/doc/modules
diff options
context:
space:
mode:
authorLudovic Courtès2012-05-29 23:30:10 +0200
committerLudovic Courtès2012-05-29 23:30:10 +0200
commit401d6f8f681e758c7cf391475d758db32135b1bd (patch)
treefd1bad9daaf710965989e9e003071c4db143a214 /doc/modules
parent979fc843a85ef8445c11cadc7d093184090f30c7 (diff)
downloadskribilo-401d6f8f681e758c7cf391475d758db32135b1bd.tar.gz
skribilo-401d6f8f681e758c7cf391475d758db32135b1bd.tar.lz
skribilo-401d6f8f681e758c7cf391475d758db32135b1bd.zip
doc: Add a `lout-illustration' example.
* doc/modules/skribilo/documentation/api.scm (le)[inline-definitions-proc]: Add @TeX and @LaTeX definitions. * doc/user/src/lout-illustration.skb: New file. * doc/user/Makefile.am (EXTRA_DIST): Add it. * doc/user/loute.skb (Additional Markup): Add `src/lout-illustration.skb' as an example.
Diffstat (limited to 'doc/modules')
-rw-r--r--doc/modules/skribilo/documentation/api.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/modules/skribilo/documentation/api.scm b/doc/modules/skribilo/documentation/api.scm
index d4f0781..36ba0e7 100644
--- a/doc/modules/skribilo/documentation/api.scm
+++ b/doc/modules/skribilo/documentation/api.scm
@@ -100,6 +100,10 @@
"{ Helvetica Base } @Font x\n}\n"
"
+# TeX and LaTeX, from Lout's `init' file.
+def @TeX { @OneCol { T &0.4fo {-0.2f @VShift E} &0.45fo X } }
+def @LaTeX { @OneCol { L &0.3fo { +0.1f @VShift 0.8f @Font A } &0.4fo @TeX } }
+
# The `example' markup.
def @SkribiloExample named @Title {} right x {
@B { @Title }