@@ -22,8 +22,7 @@ AUTHORS:
2222
2323EXAMPLES:
2424
25- No hypothesis on the structure
26- ------------------------------
25+ .. RUBRIC:: No hypothesis on the structure
2726
2827What we mean by "no hypothesis" is that the set is not known
2928to be a forest, symmetric, or graded. However, it may have other
@@ -50,8 +49,7 @@ Depth first search::
5049 sage: [next(it) for _ in range(10) ]
5150 [0, 3, 6, 9, 12, 15, 18, 21, 24, 27 ]
5251
53- Symmetric structure
54- -------------------
52+ .. RUBRIC:: Symmetric structure
5553
5654The origin ``( 0, 0) `` as seed and the upper, lower, left and right lattice
5755point as successor function. This function is symmetric since `p` is a
@@ -86,8 +84,7 @@ Levels (elements of given depth)::
8684 sage: sorted( C. graded_component( 2))
8785 [(-2, 0), (-1, -1), (-1, 1), (0, -2), (0, 2), (1, -1), (1, 1), (2, 0) ]
8886
89- Graded structure
90- ----------------
87+ .. RUBRIC:: Graded structure
9188
9289Identity permutation as seed and ``permutohedron_succ`` as successor
9390function::
@@ -137,10 +134,7 @@ Graded components (set of elements of the same depth)::
137134 sage: sorted( R. graded_component( 10))
138135 [[5, 4, 3, 2, 1 ]]
139136
140- Forest structure
141- ----------------
142-
143- .. RUBRIC:: Forest structure [Ex 1 ]
137+ .. RUBRIC:: Forest structure ( Example 1)
144138
145139The set of words over the alphabet `\{ a,b\} ` can be generated from the
146140empty word by appending the letter `a` or `b` as a successor function. This set
@@ -175,20 +169,20 @@ classes being very similar):
175169.. MATH::
176170
177171 \b egin{array}{ccc}
178- & `` \, " \\
172+ & \e mptyset \\
179173 \h fil\s warrow & \d ownarrow & \s earrow\h fil\\
180- ``a" & ``b" & ``c" \\
174+ a & b & c \\
181175 \b egin{array}{ccc}
182176 \s warrow & \d ownarrow & \s earrow \\
183- ``aa" & ``ab" & ``ac" \\
177+ aa & ab & ac \\
184178 \e nd{array} &
185179 \b egin{array}{ccc}
186180 \s warrow & \d ownarrow & \s earrow \\
187- ``ba" & ``bb" & ``bc" \\
181+ ba & bb & bc \\
188182 \e nd{array} &
189183 \b egin{array}{ccc}
190184 \s warrow & \d ownarrow & \s earrow \\
191- ``ca" & ``cb" & ``cc" \\
185+ ca & cb & cc \\
192186 \e nd{array}
193187 \e nd{array}
194188
230224 sage: S. list( )
231225 ['', 'a', 'aa', 'ab', 'ac', 'b', 'ba', 'bb', 'bc', 'c', 'ca', 'cb', 'cc' ]
232226
233- .. RUBRIC:: Forest structure [ Ex 2 ]
227+ .. RUBRIC:: Forest structure ( Example 2 )
234228
235229This example was provided by Florent Hivert.
236230
0 commit comments