Skip to content

Commit 1ea7852

Browse files
committed
fixed #172
1 parent 807bbaf commit 1ea7852

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
## [Unreleased]
22

3+
### Features
4+
5+
- **#172 Degrees-Minutes-Seconds (DMS) notation**: Parse and serialize
6+
geographic angle notation such as `9°30'15"`. The LaTeX parser now recognizes
7+
arc-minute (`'`, `\prime`) and arc-second (`"`, `\doubleprime`) symbols when
8+
they follow a degree symbol, producing
9+
`Add(Quantity(…, deg), Quantity(…, arcmin), …)` expressions that evaluate and
10+
simplify through the existing unit system. Negative angles (e.g. `-45°30'`)
11+
are fully supported for latitude/longitude coordinates.
12+
- **`dmsFormat` serialization option**: Set `dmsFormat: true` in
13+
`SerializeLatexOptions` to serialize angle quantities as DMS notation (e.g.
14+
`Quantity(9.5, deg)``9°30'`).
15+
- **`angleNormalization` serialization option**: Normalize angles during
16+
serialization with `'0...360'` (useful for bearings) or `'-180...180'` (useful
17+
for longitude). Default is `'none'`.
18+
319
### Bug Fixes
420

521
- **Interval-JS compilation for Gamma functions**

0 commit comments

Comments
 (0)