Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
Total pages split for either part
  • Loading branch information
kss-lea authored Aug 9, 2022
1 parent 0f0e152 commit fbf8ab5
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions proposal.sty
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
\usepackage[exponent-product = \cdot]{siunitx}
\usepackage{rotating}
\usepackage{helvet}
\usepackage{lastpage}
\usepackage[pagecontinue=false]{pageslts}
\pagenumbering{arabic}
\usepackage{scrlayer-scrpage}
\usepackage{eurosym}
\usepackage{fp}
Expand Down Expand Up @@ -83,17 +84,20 @@
\hyphenpenalty 3000
\doublehyphendemerits 50000000


\newcommand{\total}{}

\newcommand{\pagenumtype}{arabic}
\DeclareOption{german}{
\sisetup{locale=DE}
\AtBeginDocument{\selectlanguage{ngerman}}
\renewcommand{\pagemark}{Seite \thepage~von \pageref{LastPage}}
\renewcommand{\pagemark}{Seite \thepage~von \lastpageref{pagesLTS.\pagenumtype}}
\renewcommand{\total}{Summe}
}
\DeclareOption{english}{
\sisetup{locale=US}
\AtBeginDocument{\selectlanguage{english}}
\renewcommand{\pagemark}{page \thepage~of \pageref{LastPage}}
\renewcommand{\pagemark}{page \thepage~of \lastpageref{pagesLTS.\pagenumtype}}
\renewcommand{\total}{Total}
}
\ExecuteOptions{german}
Expand All @@ -102,6 +106,13 @@
\cfoot*{}
\chead{}

\newcommand{\backmatter}{
\clearpage
\pagenumbering{Roman}
\renewcommand{\pagenumtype}{Roman}
}


\KOMAoptions{paper=a4}
\KOMAoption{fontsize}{11pt}
\pagestyle{scrheadings}
Expand Down

0 comments on commit fbf8ab5

Please sign in to comment.