Skip to content

Commit 10c6d4c

Browse files
committed
fix decimal separator english/german
1 parent a092058 commit 10c6d4c

2 files changed

Lines changed: 23 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
### Fixed
1010
- Fix missing logos for dissertation
1111
- Fix missing refernces in table of contents
12+
- Fix german/english number separator
1213

1314
### Updated
1415
- remove subchapter name and chapter number in header

LEA_Thesis_Template/LEAthesis.cls

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -198,15 +198,28 @@
198198
\RequirePackage{bm}
199199
\RequirePackage[scaled]{helvet}
200200

201-
\RequirePackage[
202-
free-standing-units,
203-
space-before-unit,
204-
number-unit-product = \,,
205-
output-decimal-marker = {,},
206-
per-mode=fraction,
207-
separate-uncertainty = true,
208-
multi-part-units = repeat
209-
]{siunitx}
201+
202+
\ifdeutsch
203+
\RequirePackage[
204+
free-standing-units,
205+
space-before-unit,
206+
number-unit-product = \,,
207+
output-decimal-marker = {,},
208+
per-mode=fraction,
209+
separate-uncertainty = true,
210+
multi-part-units = repeat
211+
]{siunitx}
212+
\else
213+
\RequirePackage[
214+
free-standing-units,
215+
space-before-unit,
216+
number-unit-product = \,,
217+
output-decimal-marker = {.},
218+
per-mode=fraction,
219+
separate-uncertainty = true,
220+
multi-part-units = repeat
221+
]{siunitx}
222+
\fi
210223

211224
%% Text settings
212225
\RequirePackage{ifxetex,ifluatex}

0 commit comments

Comments
 (0)