소스 검색

Improve config template

JoostSijm 6 년 전
부모
커밋
4defa33fa1
3개의 변경된 파일12개의 추가작업 그리고 15개의 파일을 삭제
  1. 2 1
      master.tex
  2. 3 5
      preamble.tex
  3. 7 9
      template_config.tex

+ 2 - 1
master.tex

@@ -44,7 +44,8 @@
 
 %================== INDEX ======================
 \tableofcontents
-\listoffigures
+% \listoffigures
+% \listoftables
 
 %================= DOCUMENT ====================
 \newpage

+ 3 - 5
preamble.tex

@@ -23,11 +23,9 @@
 % get settings
 \input{config}
 
-\makeatletter
-\let\thetitle\@title
-\let\theauthor\@author
-\let\thedate\@date
-\makeatother
+\title{\thetitle}
+\date{\thedate}
+\author{\theauthor}
 
 % header and footer
 \fancyhf{}

+ 7 - 9
template_config.tex

@@ -1,9 +1,7 @@
-\title{Template document voor HVA}
-\newcommand{\thesecondtitle}{secondtitle}
-\newcommand{\thethirdtitle}{thirdtitle}
-
-\date{\today}
-
-\author{Autheur}
-\newcommand{\thestudentnumber}{studentnummer}
-\newcommand{\theschool}{Hogeschool van Amsterdam}
+\newcommand{\thetitle}          {title}
+\newcommand{\thesecondtitle}    {secondtitle}
+\newcommand{\thethirdtitle}     {thirdtitle}
+\newcommand{\thedate}           {\today}
+\newcommand{\theauthor}         {Auteur}
+\newcommand{\thestudentnumber}  {studentnummer}
+\newcommand{\theschool}         {Hogeschool van Amsterdam}