Skip to content

Commit 23aaf18

Browse files
Merge branch 'slides/182-sub-bullets-in-column-have-smaller-text-than-main-bullet' into 'master'
Resolve "Sub-Bullets in Column Have Smaller Text Than Main Bullet" Closes #182 See merge request feng/training/material!239
2 parents eb2059e + a38fea9 commit 23aaf18

File tree

4 files changed

+27
-26
lines changed

4 files changed

+27
-26
lines changed

courses/fundamentals_of_ada/110_private_types/04-view_operations.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ View Operations
88

99
* Reminder: view is the *interface* you have on the type
1010

11-
.. container:: latex_environment footnotesize
12-
13-
.. container:: columns
11+
.. container:: columns
1412

1513
.. container:: column
1614

courses/fundamentals_of_ada/120_limited_types/05-combining_limited_and_private_views.rst

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -177,20 +177,21 @@ Quiz
177177
Quiz
178178
------
179179

180-
.. container:: latex_environment footnotesize
181180

182-
.. container:: columns
181+
.. container:: columns
183182

184183
.. container:: column
185184

186-
.. code:: Ada
185+
.. container:: latex_environment tiny
186+
187+
.. code:: Ada
187188
188-
package P is
189+
package P is
189190
type L1_T is limited private;
190191
type L2_T is limited private;
191192
type P1_T is private;
192193
type P2_T is private;
193-
private
194+
private
194195
type L1_T is limited record
195196
Field : Integer;
196197
end record;
@@ -203,22 +204,23 @@ Quiz
203204
type P2_T is record
204205
Field : L2_T;
205206
end record;
206-
end P;
207+
end P;
207208
208209
.. container:: column
209210

210-
What will happen when the above code is compiled?
211+
.. container:: latex_environment footnotesize
211212

212-
A. :answer:`Type P1_T will generate a compile error`
213-
B. Type P2_T will generate a compile error
214-
C. Both type P1_T and type P2_T will generate compile errors
215-
D. The code will compile successfully
213+
What will happen when the above code is compiled?
214+
215+
A. :answer:`Type P1_T will generate a compile error`
216+
B. Type P2_T will generate a compile error
217+
C. Both type P1_T and type P2_T will generate compile errors
218+
D. The code will compile successfully
216219

217220
.. container:: animate
218221

219-
The full definition of type :ada:`P1_T` adds additional
220-
restrictions, which is not allowed. Although :ada:`P2_T`
222+
Full definition of :ada:`P1_T` adds
223+
restrictions, which is not allowed. :ada:`P2_T`
221224
contains a component whose visible view is :ada:`limited`,
222225
the internal view is not :ada:`limited` so :ada:`P2_T` is
223226
not :ada:`limited`.
224-

courses/fundamentals_of_ada/190_exceptions/03-implicitly_and_explicitly_raised_exceptions.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ Some Language-Defined Exceptions
4141
Explicitly-Raised Exceptions
4242
------------------------------
4343

44-
.. container:: latex_environment scriptsize
45-
46-
.. container:: columns
44+
.. container:: columns
4745

4846
.. container:: column
4947

@@ -53,19 +51,23 @@ Explicitly-Raised Exceptions
5351

5452
* Syntax
5553

54+
.. container:: latex_environment footnotesize
55+
5656
.. code:: Ada
5757
5858
raise_statement ::= raise; |
5959
raise exception_name
6060
[with string_expression];
6161
62-
- :ada:`with string_expression` only available in Ada 2005 and later
62+
*Note "with string_expression" only available in Ada 2005 and later*
6363

6464
* A :ada:`raise` by itself is only allowed in handlers
6565

6666
.. container:: column
6767

68-
.. code:: Ada
68+
.. container:: latex_environment footnotesize
69+
70+
.. code:: Ada
6971
7072
if Unknown (User_ID) then
7173
raise Invalid_User;
@@ -76,4 +78,3 @@ Explicitly-Raised Exceptions
7678
with "Attempt by " &
7779
Image (User_ID);
7880
end if;
79-

courses/fundamentals_of_ada/190_exceptions/07-partial_and_nested_handlers.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
=============
2-
Propagation
3-
=============
1+
=============================
2+
Partial and Nested Handlers
3+
=============================
44

55
-------------------------------
66
Partially Handling Exceptions

0 commit comments

Comments
 (0)