Skip to content

Commit

Permalink
move babel to zugferd-invoice package
Browse files Browse the repository at this point in the history
  • Loading branch information
TeXhackse committed Sep 4, 2024
1 parent b51b5a3 commit 9e31122
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DEMO-rechnung-zugferd.tex
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
lang=de,
}
\documentclass[parskip=half-,german]{scrartcl}
\usepackage{babel}

\usepackage[
format=xrechnung3.0% 3.0 is the default anyway, but you can select the format to avoid automatic changes.
]{zugferd-invoice}
Expand Down
7 changes: 4 additions & 3 deletions zugferd-invoice.sty
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
\RequirePackage{scrletter}
\RequirePackage{ragged2e}
\RequirePackage{zugferd}
\RequirePackage{babel}

% e.g. use comma as output decimal marker if german
\iflanguage{german}{
\sisetup{locale=DE}
}{}
\addto\extrasgerman{\sisetup{locale=DE}}
\addto\extrasngerman{\sisetup{locale=DE}}% for backwards compatibility

\RequirePackage{xltabular}
\RequirePackage{booktabs}
Expand Down

0 comments on commit 9e31122

Please sign in to comment.