diff options
author | Ludovic Court`es | 2006-11-28 17:47:44 +0000 |
---|---|---|
committer | Ludovic Court`es | 2006-11-28 17:47:44 +0000 |
commit | 571d41ac337819d4a5bbdbdb1f0c8f13c542059c (patch) | |
tree | 5e3ac2ab26ae447d589bc2cf174ff94cb563e845 /doc/user/src | |
parent | 5b43497afce0e669d041e92d1df7ad22e110235d (diff) | |
download | skribilo-571d41ac337819d4a5bbdbdb1f0c8f13c542059c.tar.gz skribilo-571d41ac337819d4a5bbdbdb1f0c8f13c542059c.tar.lz skribilo-571d41ac337819d4a5bbdbdb1f0c8f13c542059c.zip |
doc: Augmented the `eq' doc, documented `eq-display'.
git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-85
Diffstat (limited to 'doc/user/src')
-rw-r--r-- | doc/user/src/eq3.skb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/doc/user/src/eq3.skb b/doc/user/src/eq3.skb new file mode 100644 index 0000000..e229b6c --- /dev/null +++ b/doc/user/src/eq3.skb @@ -0,0 +1,38 @@ +(p [This paragraph contains this equation: ,(eq :inline? #t '(/ alpha +beta)). This is actually an ,(emph [inline]) equation, meaning that it +occurs within a paragraph. Typesetting has to be adjusted +accordingly.]) + +(eq-display + + (p [This is an equation display block, within which equations can be +aligned with one another.]) + + (eq :ident "eq-limit-b-over-l" + :renderer 'lout + :align-with '= + '(= (limit (/ lambda beta) 0 + (apply IPL n k)) + + ;; non-simplified + (/ (expt (+ alpha beta) k) + (* beta + (sum :from (= x 0) + :to (- k 1) + (* (combinations k x) + (expt beta (- k 1 x)) + (expt alpha x))))))) + + [This equation can be simplified as follows:] + + (eq :ident "eq-limit-b-over-l-simplified" + :renderer 'lout + :align-with '= + '(= ;; simplified + (/ (expt (+ alpha beta) k) + (- (expt (+ alpha beta) k) + (expt alpha k))) + + (limit (/ lambda beta) 0 + (apply IPL n k))))) + |