Browse Source

Update preable with extra config file

JoostSijm 7 years ago
parent
commit
027728bfee
3 changed files with 7 additions and 6 deletions
  1. 1 1
      .gitignore
  2. 1 0
      deploy.sh
  3. 5 5
      preamble.tex

+ 1 - 1
.gitignore

@@ -29,7 +29,7 @@
 // Compiled document
 master.pdf
 master.png
-archive/
 
+paperconfig.tex
 docs/news.tex
 docs/short_news.tex

+ 1 - 0
deploy.sh

@@ -1,4 +1,5 @@
 #!/bin/bash
 
+cp template_paperconfig.tex paperconfig.tex
 cp docs/template_news.tex docs/news.tex
 cp docs/template_short_news.tex docs/short_news.tex

+ 5 - 5
preamble.tex

@@ -18,21 +18,21 @@
 \usepackage{multicol}
 % Add tables
 \usepackage{pgfplots}
-
+% Newspaper
 \usepackage{newspaper}
+
+% config newspaper
+\input{paperconfig}
 \date{\today}
-\currentvolume{1}
-\currentissue{6}
 
 \SetPaperName{Craftbroec}
 \SetHeaderName{Craftbroec}
 \SetPaperLocation{Noord-Nederland}
-\SetPaperSlogan{``Haalbaar. Helder''}
 \SetPaperPrice{\textflorin{} 3,50}
 
 \usepackage{xcolor}
 \color{white}
-%\pagecolor{black}
+\pagecolor{black}
 
 %%%%%%% Settings %%%%%%%