From 004f488076a5afe0d758a154f33aec41dd7d902e Mon Sep 17 00:00:00 2001 From: steinbergerj Date: Sat, 8 Oct 2022 11:30:00 +0200 Subject: [PATCH] change file name library and replace newcommand with renewcommand --- config.tex | 22 +++++++++++++++ group_A.tex | 16 +++++------ group_B.tex | 20 +++++++------ group_C.tex | 20 +++++++------ literature/{_groupA.bib => groupA.bib} | 0 literature/{_groupB.bib => groupB.bib} | 0 literature/{_groupC.bib => groupC.bib} | 0 main.tex | 39 ++++++++++---------------- 8 files changed, 67 insertions(+), 50 deletions(-) create mode 100644 config.tex rename literature/{_groupA.bib => groupA.bib} (100%) rename literature/{_groupB.bib => groupB.bib} (100%) rename literature/{_groupC.bib => groupC.bib} (100%) diff --git a/config.tex b/config.tex new file mode 100644 index 0000000..3b3590e --- /dev/null +++ b/config.tex @@ -0,0 +1,22 @@ +%%%%%%%%%% P A C K A G E S %%%%%%%%%%%%%%%%%% +\usepackage[table]{xcolor} +\usepackage[top=3.75cm,bottom=3cm,left=3.5cm,right=3.5cm,marginparsep=0.6cm,marginparwidth=65pt]{geometry} + +\usepackage[ngerman]{babel} +\usepackage{csquotes} +\usepackage{setspace} + +\usepackage{atveryend} +\usepackage[inline]{enumitem} +\usepackage{amsmath,amssymb} + +\usepackage{tikz} +\usepackage{etoolbox} +\usepackage{multirow} + +\usepackage{graphicx} + +\usepackage{pgffor} +\usepackage[automark,headsepline,footsepline]{scrlayer-scrpage} + +\usepackage[backend=biber,refsection=section]{biblatex} % load the package \ No newline at end of file diff --git a/group_A.tex b/group_A.tex index 47b012f..1f9324a 100644 --- a/group_A.tex +++ b/group_A.tex @@ -1,13 +1,13 @@ %%%%%%%%%%% BITTE AUSFÜLLEN%%%%%%%%%%%%%%%%%%% -\newcommand{\diagrammname}{\texttt{}} -\newcommand{\diagrammnameengl}{\texttt{}} -\newcommand{\diagrammfrage}{\texttt{}} -\newcommand{\diagrammanwendungsfall}{\texttt{}} -\newcommand{\autorE}{\texttt{Vorname Nachname Teilnehmer 1}} -\newcommand{\autorZ}{\texttt{Vorname Nachname Teilnehmer 2}} -\newcommand{\autorD}{\texttt{Vorname Nachname Teilnehmer 3}} +\renewcommand{\diagrammname}{\texttt{}} +\renewcommand{\diagrammnameengl}{\texttt{}} +\renewcommand{\diagrammfrage}{\texttt{}} +\renewcommand{\diagrammanwendungsfall}{\texttt{}} +\renewcommand{\autorE}{\texttt{Vorname Nachname Teilnehmer 1}} +\renewcommand{\autorZ}{\texttt{Vorname Nachname Teilnehmer 2}} +\renewcommand{\autorD}{\texttt{Vorname Nachname Teilnehmer 3}} -%%% BITTE NICHT ÄNDERNT%%%%%%%%%%%% +%%% BITTE NICHT ÄNDERN%%%%%%%%%%%% \section{\diagrammname} \paragraph{Management Summary}\mbox{} diff --git a/group_B.tex b/group_B.tex index 2fab3ae..f36019e 100644 --- a/group_B.tex +++ b/group_B.tex @@ -1,11 +1,13 @@ %%%%%%%%%%% BITTE AUSFÜLLEN%%%%%%%%%%%%%%%%%%% -\newcommand{\diagrammname}{\texttt{}} -\newcommand{\diagrammnameengl}{\texttt{}} -\newcommand{\diagrammfrage}{\texttt{}} -\newcommand{\diagrammanwendungsfall}{\texttt{}} -\newcommand{\autoren}[1]{\texttt{Vorname Nachname Teilnehmer #1}} +\renewcommand{\diagrammname}{\texttt{}} +\renewcommand{\diagrammnameengl}{\texttt{}} +\renewcommand{\diagrammfrage}{\texttt{}} +\renewcommand{\diagrammanwendungsfall}{\texttt{}} +\renewcommand{\autorE}{\texttt{Vorname Nachname Teilnehmer 1}} +\renewcommand{\autorZ}{\texttt{Vorname Nachname Teilnehmer 2}} +\renewcommand{\autorD}{\texttt{Vorname Nachname Teilnehmer 3}} -%%% BITTE NICHT ÄNDERNT%%%%%%%%%%%% +%%% BITTE NICHT ÄNDERN%%%%%%%%%%%% \section{\diagrammname} \paragraph{Management Summary}\mbox{} @@ -20,9 +22,9 @@ \hline \textbf{Anwendungsfall} & \diagrammanwendungsfall \\ \hline %genutzt in der Anforderungsanalyse - \textbf{\multirow{3}{*}{Autoren}} & \autoren{1} \\\cline{2-2} - & \autoren{2} \\\cline{2-2} - & \autoren{3} \\\hline + \textbf{\multirow{3}{*}{Autoren}} & \autorE \\\cline{2-2} + & \autorZ \\\cline{2-2} + & \autorD \\\hline \end{tabular} } %%%%%%%%%%%%%%%%%%% diff --git a/group_C.tex b/group_C.tex index 6c7b85c..b3b013f 100644 --- a/group_C.tex +++ b/group_C.tex @@ -1,11 +1,13 @@ %%%%%%%%%%% BITTE AUSFÜLLEN%%%%%%%%%%%%%%%%%%% -\newcommand{\diagrammname}{\texttt{}} -\newcommand{\diagrammnameengl}{\texttt{}} -\newcommand{\diagrammfrage}{\texttt{}} -\newcommand{\diagrammanwendungsfall}{\texttt{}} -\newcommand{\autoren}[1]{\texttt{Vorname Nachname Teilnehmer #1}} +\renewcommand{\diagrammname}{\texttt{}} +\renewcommand{\diagrammnameengl}{\texttt{}} +\renewcommand{\diagrammfrage}{\texttt{}} +\renewcommand{\diagrammanwendungsfall}{\texttt{}} +\renewcommand{\autorE}{\texttt{Vorname Nachname Teilnehmer 1}} +\renewcommand{\autorZ}{\texttt{Vorname Nachname Teilnehmer 2}} +\renewcommand{\autorD}{\texttt{Vorname Nachname Teilnehmer 3}} -%%% BITTE NICHT ÄNDERNT%%%%%%%%%%%% +%%% BITTE NICHT ÄNDERN%%%%%%%%%%%% \section{\diagrammname} \paragraph{Management Summary}\mbox{} @@ -20,9 +22,9 @@ \hline \textbf{Anwendungsfall} & \diagrammanwendungsfall \\ \hline %genutzt in der Anforderungsanalyse - \textbf{\multirow{3}{*}{Autoren}} & \autoren{1} \\\cline{2-2} - & \autoren{2} \\\cline{2-2} - & \autoren{3} \\\hline + \textbf{\multirow{3}{*}{Autoren}} & \autorE \\\cline{2-2} + & \autorZ \\\cline{2-2} + & \autorD \\\hline \end{tabular} } %%%%%%%%%%%%%%%%%%% diff --git a/literature/_groupA.bib b/literature/groupA.bib similarity index 100% rename from literature/_groupA.bib rename to literature/groupA.bib diff --git a/literature/_groupB.bib b/literature/groupB.bib similarity index 100% rename from literature/_groupB.bib rename to literature/groupB.bib diff --git a/literature/_groupC.bib b/literature/groupC.bib similarity index 100% rename from literature/_groupC.bib rename to literature/groupC.bib diff --git a/main.tex b/main.tex index d363d5d..694dfb1 100644 --- a/main.tex +++ b/main.tex @@ -1,35 +1,26 @@ % !TeX program = lualatex \documentclass[paper=a4,fontsize=10pt,parskip, footheight=20pt,headlines=10]{scrbook} -\usepackage[table]{xcolor} -\usepackage[top=3.75cm,bottom=3cm,left=3.5cm,right=3.5cm,marginparsep=0.6cm,marginparwidth=65pt]{geometry} +\input{config} -\usepackage[ngerman]{babel} -\usepackage{csquotes} -\usepackage{setspace} - -\usepackage{atveryend} -\usepackage[inline]{enumitem} -\usepackage{amsmath,amssymb} - -\usepackage{tikz} -\usepackage{etoolbox} -\usepackage{multirow} - -\usepackage{graphicx} - -\usepackage{pgffor} -\usepackage[automark,headsepline,footsepline]{scrlayer-scrpage} - - -\usepackage[backend=biber,refsection=section]{biblatex} % load the package -\addbibresource{literature\_groupA.bib} -\addbibresource{literature\_groupB.bib} -\addbibresource{literature\_groupC.bib} +\addbibresource{literature/groupA.bib} +\addbibresource{literature/groupB.bib} +\addbibresource{literature/groupC.bib} \defbibheading{subbibliography}[Literatur]{\addsec{#1}} + +%%%%%% N I C H T Ä N D E R N !%%%%%%%%%%%%%%%%%%%%%% +\newcommand{\diagrammname}{\texttt{}} +\newcommand{\diagrammnameengl}{\texttt{}} +\newcommand{\diagrammfrage}{\texttt{}} +\newcommand{\diagrammanwendungsfall}{\texttt{}} +\newcommand{\autorE}{\texttt{Vorname Nachname Teilnehmer 1}} +\newcommand{\autorZ}{\texttt{Vorname Nachname Teilnehmer 2}} +\newcommand{\autorD}{\texttt{Vorname Nachname Teilnehmer 3}} + + \begin{document} \title{Software Engineering 2} \author{Prof. Dr. Jessica Steinberger, Studierende CSB/IMB}