Summary. This note demonstrates how admonitions look like in the output format html.
Key options when compiling this document were
--html_style=blueish --html_admon=paragraph --html_box_shadow
Here is the warning admon:
Terminal> python -c 'print 4/0'
Traceback (most recent call last):
File "<string>", line 1, in <module>
ZeroDivisionError: integer division or modulo by zero
You should therefore be very careful with all expressions that may result
in division by zero. In Python, you can use a try-except
clause to
test if some expression gives a ZeroDivisionError
exception and take
appropriate actions. One example of a numerical method where division
by zero can cause problems is Newton's methods of finding solutions to
algebraic equations \( f(x)=0 \). In that algorithm, there is a division
by \( f'(x) \).
Question admon (without title).
doconce format html
?
Summary admon:
Here is a notice admon:
vibration_with_damping
(while Java typically would
have vibrationWithDamping
). Class names apply cap words,
as in ProblemClass
.
The four main admons are warning, notice, question, and summary.
DocOnce features a block
environment with or without title.
Here is a quote environment (quote
):
Sayre's law states that "in any dispute the intensity of feeling is inversely proportional to the value of the issues at stake."
By way of corollary, it adds:
"That is why academic politics are so bitter."
Source: wikipedia
Boxes are very simple frames (without any icons, background color, or stash, except for a shadow) used for important results like