changeset 10948:2f68a01dc3d5 octave-forge

control: twoside layout in pdf manual, separate some example blocks to save trees :-)
author paramaniac
date Wed, 26 Sep 2012 08:03:12 +0000
parents 44d735bb1ffd
children 80e6dc3f2ad9
files main/control/devel/pdfdoc/control.tex main/control/inst/@ss/ss.m main/control/inst/@tf/tf.m main/control/inst/margin.m
diffstat 4 files changed, 32 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/main/control/devel/pdfdoc/control.tex	Wed Sep 26 08:02:48 2012 +0000
+++ b/main/control/devel/pdfdoc/control.tex	Wed Sep 26 08:03:12 2012 +0000
@@ -1,7 +1,9 @@
 \input texinfo   @c -*-texinfo-*-
 @c %**start of header
 @setfilename control.info
-@settitle Octave Control Systems Package
+@settitle @thischapter
+@c use chapter name instead of title in the header of even pages
+@c @settitle CACSD Tools for GNU Octave
 @afourpaper
 @set VERSION 2.4.0
 @finalout
@@ -101,6 +103,7 @@
 @c %*** End of TITLEPAGE
 
 @contents
+@headings double
 @c @chapter Function Reference
 @include functions.texi
 
--- a/main/control/inst/@ss/ss.m	Wed Sep 26 08:02:48 2012 +0000
+++ b/main/control/inst/@ss/ss.m	Wed Sep 26 08:03:12 2012 +0000
@@ -58,25 +58,41 @@
 ## octave:2> b = [10; 11; 12];
 ## octave:3> stname = @{"V", "A", "kJ"@};
 ## octave:4> sys = ss (a, b, [], [], "stname", stname)
+## @end group
+## @end example
 ## 
+## @example
+## @group
 ## sys.a =
 ##         V   A  kJ
 ##    V    1   2   3
 ##    A    4   5   6
 ##    kJ   7   8   9
+## @end group
+## @end example
 ## 
+## @example
+## @group
 ## sys.b =
 ##        u1
 ##    V   10
 ##    A   11
 ##    kJ  12
+## @end group
+## @end example
 ## 
+## @example
+## @group
 ## sys.c =
 ##         V   A  kJ
 ##    y1   1   0   0
 ##    y2   0   1   0
 ##    y3   0   0   1
+## @end group
+## @end example
 ## 
+## @example
+## @group
 ## sys.d =
 ##        u1
 ##    y1   0
--- a/main/control/inst/@tf/tf.m	Wed Sep 26 08:02:48 2012 +0000
+++ b/main/control/inst/@tf/tf.m	Wed Sep 26 08:03:12 2012 +0000
@@ -88,7 +88,11 @@
 ## octave:5> num = @{[1, 5, 7], [1]; [1, 7], [1, 5, 5]@};
 ## octave:6> den = @{[1, 5, 6], [1, 2]; [1, 8, 6], [1, 3, 2]@};
 ## octave:7> sys = tf (num, den)
+## @end group
+## @end example
 ## 
+## @example
+## @group
 ## Transfer function "sys" from input "u1" to output ...
 ## 
 ##       s^2 + 5 s + 7
@@ -98,7 +102,11 @@
 ##           s + 7    
 ##  y2:  -------------
 ##       s^2 + 8 s + 6
+## @end group
+## @end example
 ## 
+## @example
+## @group
 ## Transfer function "sys" from input "u2" to output ...
 ## 
 ##         1  
--- a/main/control/inst/margin.m	Wed Sep 26 08:02:48 2012 +0000
+++ b/main/control/inst/margin.m	Wed Sep 26 08:03:12 2012 +0000
@@ -107,7 +107,10 @@
 ##          |num(z)|
 ## |L(z)| = |------| = 1
 ##          |den(z)|
-##
+## @end group
+## @end example
+## @example
+## @group
 ## L(z) L(1/z) = 1
 ##
 ## num(z)   num(1/z)