Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Logo added

  • Loading branch information...
commit 91e2aa5dbacce67d962eafec153c5980035f330d 1 parent d5da0cd
@tuxcodejohn tuxcodejohn authored
Showing with 66 additions and 4 deletions.
  1. +23 −3 Makefile
  2. +33 −0 img/c3d2.svg
  3. +10 −1 src/slides.tex
View
26 Makefile
@@ -1,11 +1,31 @@
TEX_FILES=$(wildcard src/*.tex)
PDF_FILES=$(TEX_FILES:src/%.tex=out/%.pdf)
-all: $(PDF_FILES)
+PICDIR = ./img
+
+depsvg = $(wildcard $(PICDIR)/*.svg)
+svgpdf = $(patsubst %.svg,%.pdf,$(depsvg))
+
+
+all: deppdf $(PDF_FILES)
clean:
+ rm $(svgpdf)
rm -rf out
-out/%.pdf: src/%.tex img/* Makefile
- @mkdir -p out
+deppdf: $(svgpdf)
+ echo test
+ echo $(svgpdf)
+ echo test
+
+
+$(PICDIR)/%.pdf: $(PICDIR)/%.svg
+ inkscape -z -T -A $@ $<
+
+
+out/%.pdf: src/%.tex deppdf Makefile
+ mkdir -p out
+ pdflatex -draftmode -interaction nonstopmode -output-directory out $<
pdflatex -output-directory out $<
+
+
View
33 img/c3d2.svg
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="742.85004"
+ height="243.6125"
+ id="svg1">
+ <metadata
+ id="metadata8">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <defs
+ id="defs3" />
+ <g
+ id="layer1" />
+ <path
+ d="M 5,123.6125 80,4.8625031 c 0,0 68.75,0 68.75,0 0,0 -68.75,118.7499969 -68.75,118.7499969 0,0 68.75,116.25 68.75,116.25 l -75,0 L 5,123.6125 z m 87.5,0 68.75,-118.7499969 c 0,0 75,0 75,0 0,0 -68.75,118.7499969 -68.75,118.7499969 l 68.75,116.25 -75,0 -68.75,-116.25 z m 87.5,0 68.75,-118.7499969 c 0,0 75,0 75,0 0,0 -67.5,118.7499969 -67.5,118.7499969 l 67.5,116.25 -75,0 L 180,123.6125 z M 423.75,4.8625031 c 0,0 68.75,0 68.75,0 L 405,239.8625 l -68.75,0 87.5,-234.9999969 z m 150,118.7499969 c 0,0 -68.75,-118.7499969 -68.75,-118.7499969 0,0 75,0 75,0 0,0 68.75,118.7499969 68.75,118.7499969 l -68.75,116.25 -75,0 c 0,0 68.75,-116.25 68.75,-116.25 z m 18.75,116.25 c 0,0 68.75,-116.25 68.75,-116.25 0,0 -68.75,-118.7499969 -68.75,-118.7499969 l 75,0 68.75,118.7499969 -68.75,116.25 c 0,0 -75,0 -75,0 z"
+ id="path1103" />
+</svg>
View
11 src/slides.tex
@@ -1,10 +1,11 @@
-\documentclass{beamer}
+\documentclass[12pt]{beamer}
%\documentclass[20pt,handout]{beamer}
\usetheme{Darmstadt}
\usepackage{graphicx}
\usepackage[german]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
+\usepackage{tikz}
\setbeamertemplate{footline}[frame number]
\newcommand{\cc}[1]{\includegraphics[height=4mm]{img/#1.png}}
@@ -12,6 +13,14 @@
\newcommand{\license}[2][]{\\#2\ifthenelse{\equal{#1}{}}{}{\\\scriptsize\url{#1}}}
\usepackage{textcomp}
+\pgfdeclareimage[height=.6cm]{c3d2logo}{./img/c3d2.pdf}
+
+
+\pgfdeclarelayer{foreground}
+\pgfsetlayers{main,foreground}
+\logo{\pgfputat{\pgfxy(-1,0)}{\pgfbox[center,base]{\pgfuseimage{c3d2logo}}}}
+
+
\title{Chaos macht Schule}
\author{Chaos Computer Club Dresden}
\date{\today}
Please sign in to comment.
Something went wrong with that request. Please try again.