Skip to content

gmt.conf.rst: make table for listing terms #3627

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 21 additions & 10 deletions doc/rst/source/gmt.conf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -243,16 +243,27 @@ FORMAT Parameters
By default, longitudes will be reported in the range [-180,180]. The
various terms have the following purpose:

- **D**: Use :term:`FORMAT_FLOAT_OUT` for floating point degrees [default].
- **+D**: Output longitude in the range [0,360]
- **-D**: Output longitude in the range [-360,0]
- **ddd**: Fixed format integer degrees
- **:**: Delimiter used
- **mm**: Fixed format integer arc minutes
- **ss**: Fixed format integer arc seconds
- **.xxx**: Floating fraction of previous integer field, fixed width.
- **F**: Encode sign using WESN suffix
- **G**: Same as **F** but with a leading space before suffix
+------+-------------------------------------------------------------------+
| D | Use :term:`FORMAT_FLOAT_OUT` for floating point degrees [default] |
+------+-------------------------------------------------------------------+
| +D | Output longitude in the range [0,360] |
+------+-------------------------------------------------------------------+
| -D | Output longitude in the range [-360,0] |
+------+-------------------------------------------------------------------+
| ddd | Fixed format integer degrees |
+------+-------------------------------------------------------------------+
| : | Delimiter used |
+------+-------------------------------------------------------------------+
| mm | Fixed format integer arc minutes |
+------+-------------------------------------------------------------------+
| ss | Fixed format integer arc seconds |
+------+-------------------------------------------------------------------+
| .xxx | Floating fraction of previous integer field, fixed width |
+------+-------------------------------------------------------------------+
| F | Encode sign using WESN suffix |
+------+-------------------------------------------------------------------+
| G | Same as **F** but with a leading space before suffix |
+------+-------------------------------------------------------------------+

**FORMAT_FLOAT_MAP**
Format (C language printf syntax) to be used when plotting double
Expand Down