Skip to content

Commit

Permalink
Merge pull request #33 from kss-lea/master
Browse files Browse the repository at this point in the history
Change the page numbering so that first and second part are numbered independantly with total number per part (closes #30)
  • Loading branch information
hoelzer authored Aug 17, 2022
2 parents 0f0e152 + 7ec622a commit 5796333
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dfg-german.tex
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ \section{Literaturverzeichnis zum Stand der Forschung, zu den Zielen und dem Arb
%\AtNextBibliography{\small}
\printbibliography[notcategory=reviewed, notcategory=nonreviewed, notcategory=patents_pending, notcategory=patents, heading=none]

\clearpage
\backmatter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%% SUPPLEMENT (new since 04/2020) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Expand Down
2 changes: 1 addition & 1 deletion dfg.tex
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ \section{Bibliography concerning the state of the art, the research objectives,
\newrefcontext
\printbibliography[notcategory=reviewed, notcategory=nonreviewed, notcategory=patents_pending, notcategory=patents, heading=none, env=bibliographyNUM]

\clearpage
\backmatter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%% SUPPLEMENT (new since 04/2020) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Expand Down
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 5796333

Please sign in to comment.