From 8e36b7303c4150c8e6906d140f8347c9d54d6e11 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Tue, 8 Dec 2015 15:22:34 +0100 Subject: [PATCH] graphics, listings en algorithmen toegevoegd --- .gitignore | 1 + Makefile | 11 ++++-- broncode.c | 4 +++ broncode.tex | 6 ++++ lat.tex | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++-- pre.tex | 6 +++- tux.svg | 71 +++++++++++++++++++++++++++++++++++++ 7 files changed, 191 insertions(+), 6 deletions(-) create mode 100644 broncode.c create mode 100644 broncode.tex create mode 100644 tux.svg diff --git a/.gitignore b/.gitignore index 85b9c3b..46f672c 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ *.snm *.toc *.vrb +*.png diff --git a/Makefile b/Makefile index 1c78c2c..89d989d 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,21 @@ LATEX:=pdflatex DOCUMENT:=lat +IMGS:=tux.png +MISC:=broncode.c broncode.tex -.SECONDARY: $(DOCUMENT).fmt +.SECONDARY: $(DOCUMENT).fmt $(addsuffix .png,$(basename $(IMGS))) all: $(DOCUMENT).pdf -%.pdf: %.tex %.fmt +%.pdf: %.tex %.fmt $(IMGS) $(MISC) $(LATEX) $(basename $@) $(LATEX) $(basename $@) %.fmt: pre.tex $(LATEX) -ini -jobname="$(basename $@)" "&$(LATEX) $<\dump" +%.png: %.svg + convert $< $@ + clean: - $(RM) -v $(addprefix $(DOCUMENT).,fmt aux bbl blg dvi log out toc pdf snm nav vrb) + $(RM) -v $(addprefix $(DOCUMENT).,fmt aux bbl blg dvi log out toc pdf snm nav vrb) $(IMGS) diff --git a/broncode.c b/broncode.c new file mode 100644 index 0000000..8c12aa6 --- /dev/null +++ b/broncode.c @@ -0,0 +1,4 @@ +int i; // Nu zet ik i op 0 +for(i=0; i] - \item Algorithmen + \item Presentaties \item Bibliografie\"en \item Diagrammen + \item Tabellen \item Chemische structuurformules \item Linguistische symbolen \item Precompiled preamble diff --git a/pre.tex b/pre.tex index 61d6854..09321f8 100644 --- a/pre.tex +++ b/pre.tex @@ -4,6 +4,7 @@ \usepackage[labelformat=empty]{caption} \usepackage{booktabs} \usepackage{color} +\usepackage{algorithm2e} \usepackage{listings} \usepackage{textgreek} @@ -19,7 +20,10 @@ language=[LaTeX]tex, basicstyle=\small, breaklines=true, - commentstyle=\color{mygreen} + commentstyle=\color{mygreen}, + keepspaces=true, + columns=flexible, + tabsize=2 } \AtBeginSubsection[] diff --git a/tux.svg b/tux.svg new file mode 100644 index 0000000..a6ad537 --- /dev/null +++ b/tux.svg @@ -0,0 +1,71 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + -- 2.20.1