Paragraphs are simply chunks of text separated by one or more blank lines.
It's simple to use inline markup to have italic text,
bold text, and inline source codes
.
It's a little complicated to write a GMT option. You need to use backslash + pipe to have a pipe (|) and backslash + whitespace to separate inline markups.
-Avalue[+wpen][+a|b|c]
Bullet list:
- Point A
- Point B
- Point C
- Point D
Numbered list:
- Point 1
- Point 2
- Point 3
- Point 4
Definition list:
- term1
- Definition of term1
- term2
- Definition of term2
ReST supports multiple ways to make a table.
A | B | A and B |
---|---|---|
False | False | False |
True | False | False |
False | True | False |
True | True | True |
Header row, column 1 | Header 2 | Header 3 | Header 4 |
---|---|---|---|
body row 1, column 1 | column 2 | column 3 | column 4 |
body row 2 | ... | ... |
https://www.generic-mapping-tools.org
Link to the a module with :doc:`plot` or :doc:`/plot`.
Link to a section title with Lists.
Link to a target with :ref:`Link to a table <tbl-grid>`.
Link to a GMT parameter :term:`FONT_TITLE`.
gmt begin map gmt basemap -R0/10/0/10 -JX10c/10c -Baf gmt end
Use the figure
directive to include images:
reST also supports LaTeX-style math.
This is an inline math x^2+y^2=z^2.
For long equations, use the math
directive:
\gamma = \sqrt{(\alpha^2 + \beta^2)}