From 401d6f8f681e758c7cf391475d758db32135b1bd Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 29 May 2012 23:30:10 +0200 Subject: 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. --- doc/modules/skribilo/documentation/api.scm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/modules') 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 } -- cgit v1.2.3