1
0
mirror of https://gitlab.com/tiggr/patchwork.git synced 2024-12-24 13:21:02 +01:00

Initial commit

This commit is contained in:
Marcus J. Ertl 2019-09-01 20:25:05 +02:00
commit d413415e8b
15 changed files with 761 additions and 0 deletions

266
.gitignore vendored Normal file
View File

@ -0,0 +1,266 @@
/PDF/handout.pdf
/backside.pdf
/main.pdf
/empty.pdf
.vscode
Teilnehmer/*
## Privacy
*.csv
## https://github.com/github/gitignore/blob/master/TeX.gitignore
## Core latex/pdflatex auxiliary files:
*.aux
*.lof
*.log
*.lot
*.fls
*.out
*.toc
*.fmt
*.fot
*.cb
*.cb2
.*.lb
## Intermediate documents:
*.dvi
*.xdv
*-converted-to.*
# these rules might exclude image files for figures etc.
# *.ps
# *.eps
# *.pdf
## Generated if empty string is given at "Please type another file name for output:"
.pdf
## Bibliography auxiliary files (bibtex/biblatex/biber):
*.bbl
*.bcf
*.blg
*-blx.aux
*-blx.bib
*.run.xml
## Build tool auxiliary files:
*.fdb_latexmk
*.synctex
*.synctex(busy)
*.synctex.gz
*.synctex.gz(busy)
*.pdfsync
## Build tool directories for auxiliary files
# latexrun
latex.out/
## Auxiliary and intermediate files from other packages:
# algorithms
*.alg
*.loa
# achemso
acs-*.bib
# amsthm
*.thm
# beamer
*.nav
*.pre
*.snm
*.vrb
# changes
*.soc
# comment
*.cut
# cprotect
*.cpt
# elsarticle (documentclass of Elsevier journals)
*.spl
# endnotes
*.ent
# fixme
*.lox
# feynmf/feynmp
*.mf
*.mp
*.t[1-9]
*.t[1-9][0-9]
*.tfm
#(r)(e)ledmac/(r)(e)ledpar
*.end
*.?end
*.[1-9]
*.[1-9][0-9]
*.[1-9][0-9][0-9]
*.[1-9]R
*.[1-9][0-9]R
*.[1-9][0-9][0-9]R
*.eledsec[1-9]
*.eledsec[1-9]R
*.eledsec[1-9][0-9]
*.eledsec[1-9][0-9]R
*.eledsec[1-9][0-9][0-9]
*.eledsec[1-9][0-9][0-9]R
# glossaries
*.acn
*.acr
*.glg
*.glo
*.gls
*.glsdefs
# gnuplottex
*-gnuplottex-*
# gregoriotex
*.gaux
*.gtex
# htlatex
*.4ct
*.4tc
*.idv
*.lg
*.trc
*.xref
# hyperref
*.brf
# knitr
*-concordance.tex
# TODO Comment the next line if you want to keep your tikz graphics files
*.tikz
*-tikzDictionary
# listings
*.lol
# makeidx
*.idx
*.ilg
*.ind
*.ist
# minitoc
*.maf
*.mlf
*.mlt
*.mtc[0-9]*
*.slf[0-9]*
*.slt[0-9]*
*.stc[0-9]*
# minted
_minted*
*.pyg
# morewrites
*.mw
# nomencl
*.nlg
*.nlo
*.nls
# pax
*.pax
# pdfpcnotes
*.pdfpc
# sagetex
*.sagetex.sage
*.sagetex.py
*.sagetex.scmd
# scrwfile
*.wrt
# sympy
*.sout
*.sympy
sympy-plots-for-*.tex/
# pdfcomment
*.upa
*.upb
# pythontex
*.pytxcode
pythontex-files-*/
# tcolorbox
*.listing
# thmtools
*.loe
# TikZ & PGF
*.dpth
*.md5
*.auxlock
# todonotes
*.tdo
# easy-todo
*.lod
# xcolor
*.xcp
# xmpincl
*.xmpi
# xindy
*.xdy
# xypic precompiled matrices
*.xyc
# endfloat
*.ttt
*.fff
# Latexian
TSWLatexianTemp*
## Editors:
# WinEdt
*.bak
*.sav
# Texpad
.texpadtmp
# LyX
*.lyx~
# Kile
*.backup
# KBibTeX
*~[0-9]*
# auto folder when using emacs and auctex
./auto/*
*.el
# expex forward references with \gathertags
*-tags.tex
# standalone packages
*.sta

1
.latexcfg Normal file
View File

@ -0,0 +1 @@
{ "root" : "main.tex" }

BIN
Bilder/by-nc-sa_eu.pdf Normal file

Binary file not shown.

BIN
Bilder/by-sa.pdf Normal file

Binary file not shown.

BIN
Bilder/dummy.pdf Normal file

Binary file not shown.

BIN
Bilder/hint.pdf Normal file

Binary file not shown.

BIN
Bilder/logo.pdf Normal file

Binary file not shown.

BIN
Bilder/logo_bw.pdf Normal file

Binary file not shown.

BIN
Bilder/metropolis.pdf Normal file

Binary file not shown.

BIN
Bilder/opensource.pdf Normal file

Binary file not shown.

BIN
Bilder/vertical_big.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

22
backside.tex Normal file
View File

@ -0,0 +1,22 @@
%\null\newpage
\onecolumn\nobalance
\thispagestyle{RWBackside}
\newgeometry{outer=62mm, inner=15mm, top=20cm, bottom=2.5cm}
\mbox{ }\vfill % pushing following text to bottom ;-)
Dieses Dokument wurde nur unter der Verwendung von Open Source Software erstellt:\\
\definecolor{tableRow1}{RGB}{255,255,255}
\begin{tabularx}{\textwidth}{@{}lX}
{\fontspec{Latin Modern Roman}\hologo{LuaLaTeX}} & \url{http://www.luatex.org/} \\
%Scribus & \url{https://www.scribus.net/} \\
Inkscape & \url{https://www.inkscape.org/} \\
The Gimp & \url{https://www.gimp.org/} \\
QCAD & \url{https://qcad.org/} \\
Atom Editor & \url{https://atom.io/} \\
LibreOffice & \url{https://www.libreoffice.org/} \\
pdftk & \url{https://www.pdflabs.com/} \\
Linux & \url{https://www.linux.org/}
\end{tabularx}

94
main.tex Normal file
View File

@ -0,0 +1,94 @@
% !TeX program = LuaLaTeX
% !TeX encoding = UTF-8
% input all style definitions :-)
\input{styles}
\usepackage{multirow}
\setcounter{topnumber}{1}
\setcounter{dbltopnumber}{1}
\setcounter{totalnumber}{4}
\renewcommand{\textfraction}{0.02}
\graphicspath{{Bilder/}}
% Tabellenformatierung
\newcolumntype{R}{>{\raggedleft\arraybackslash}X}
\newcolumntype{L}{>{\raggedright\arraybackslash}X}
\pagestyle{RodgauerWorkshop}
\fxsetup{status=final,theme=color,targetlayout=color}
\title{Patchwork-Workshop}
\date{7. und 14. März 2020\\Neu-Isenburg}
\author{%
https://www.rodgauer-workshop.de/\\%
http://www.schmidts-pit.de/\\%
https://www.drachenforum.net/}
\hypersetup{
pdftitle={Patchwork-Workshop},
pdfsubject={Materialsammlung},
pdfauthor={Peter Schmidt und Rodgauer Workshop - 7. und 14. März 2019 - Neu-Isenburg},
pdfkeywords={Patchwork, Bedsheet Kite, Drachen, Kite, Workshop, Peter Schmidt},
pdfencoding={unicode}
}
% NOTE: Wähle ob mit oder ohne Teilnehmerliste!
% Einfach entsprechend kommentieren! :-)
%\includecomment{teilnehmer}
\excludecomment{teilnehmer}
\begin{document}
\begin{titlepage}
\thispagestyle{RWTitlePage}
\mbox{ } % keeps LaTeX from thinking, this is an empty page!
\end{titlepage}
\cleardoublepage
\onecolumn
\thispagestyle{RodgauerWorkshopNN}
\setcounter{tocdepth}{2}
\tableofcontents
\vfill
\begin{figure}[h]
\begin{minipage}[t]{0.6\textwidth}
\href{https://www.metropolis-drachen.de/}{\includegraphics[width=\textwidth]{metropolis.pdf}}
\end{minipage}%
\hfill
\begin{minipage}[t]{0.3\textwidth}
\begin{flushright}
\vspace{-1.5cm}
\qrcode[hyperlink,height=1.5cm]{https://www.metropolis-drachen.de/}
\end{flushright}
\end{minipage}%
\end{figure}
\begin{wrapfigure}[4]{i}{0.22\textwidth}
\vspace{-14pt}
\includegraphics[width=0.22\textwidth]{by-nc-sa_eu.pdf}
\end{wrapfigure}
Dieses Dokument ist lizenziert unter einer Creative Commons Namensnennung - Nicht-kommerziell - Weitergabe unter gleichen Bedingungen 4.0 International Lizenz. (\url{http://creativecommons.org/licenses/by-nc-sa/4.0/}).
\thispagestyle{empty}
\cleardoublepage
\twocolumn
\section{Über den Drachen}
\begin{teilnehmer}
\cleardoublepage
\input{teilnehmer.tex}
\end{teilnehmer}
\cleardoublepage
\listoffigures
% \listoffixmes
\end{document}

352
styles.tex Normal file
View File

@ -0,0 +1,352 @@
% !TeX root = main.tex
% !TeX program = LuaLaTeX
% !TeX encoding = UTF-8
\documentclass[a4paper,twoside,twocolumn,11pt,ngerman]{scrartcl}
\usepackage{tabularx}
\usepackage[table]{xcolor}
\usepackage[left=15mm, right=25mm, top=2.7cm, bottom=2.5cm]{geometry}
\usepackage{babel}
\usepackage{fontspec}
\usepackage{scrlayer}
\usepackage{parskip}
\usepackage{graphicx}
\usepackage{color}
\usepackage{wrapfig}
\usepackage[tight]{units}
\usepackage{amsmath}
\usepackage{sectsty}
\usepackage{emptypage}
\usepackage[colorlinks=true,linkcolor=black,citecolor=black,urlcolor=black,bookmarks=true,unicode]{hyperref}
\usepackage{caption}
\usepackage{subcaption}
\usepackage[activate=true,tracking=true]{microtype}
\usepackage[titles]{tocloft}
\usepackage{fixme}
\usepackage{biblatex}
\usepackage{hologo}
\usepackage{varioref}
\usepackage{csvsimple}
\usepackage{tcolorbox}
\usepackage{qrcode}
\usepackage{pdfpages}
\usepackage{blindtext}
\usepackage{balance}
\usepackage{comment}
% cleardoublepage neu definieren, da es durch "balance" verändert wurde
\makeatletter
\renewcommand{\@BAcleardblpage}{\clearpage\if@twoside \ifodd\c@page\else
\hbox{}\thispagestyle{empty}\newpage\fi\fi}
\makeatother
% immer durch 4 teilbare Seitenzahl
\usepackage{refcount,lastpage}
\makeatletter
\newcommand{\checkmultipleoffour}{%
\count@=\getpagerefnumber{LastPage}%
\count@=\the\numexpr\count@+1\relax
\@tempcnta=\count@
\divide\@tempcnta by 4
\multiply\@tempcnta by 4
\count@=\numexpr\count@-\@tempcnta\relax
\ifnum\count@>0
\loop\ifnum\count@<3
\hbox{}\thispagestyle{empty}\newpage
\advance\count@\@ne
\repeat
\fi
\input{backside.tex}
}
\makeatother
\AtEndDocument{\checkmultipleoffour}
% font settings
\directlua{
fonts.handlers.otf.addfeature{
name = "liga",
type = "ligature",
data = {
['fi'] = { "f", "i" },
['fl'] = { "f", "l" },
},
}
}
\setmainfont{Delicious}
% Captions
\captionsetup[figure]{justification=centerlast,font={normalsize,it}}
\captionsetup[table]{justification=centerlast,font={normalsize,it}}
\captionsetup[subfigure]{labelformat=empty,labelsep=colon,justification=centerlast,font={normalsize,it}}
% varioref
\labelformat{figure}{Abbildung~#1}
\labelformat{section}{Abschnitt~#1}
% footnote: some more room between text and footnote
\addtolength{\skip\footins}{2pc plus 5pt}
% Farben
\definecolor{tableRow1}{RGB}{77, 156, 164}
\definecolor{tableRowHead}{RGB}{255, 126, 119}
\definecolor{primary}{RGB}{1, 74, 81}
\definecolor{secondary}{RGB}{46, 134, 142}
\sectionfont{\color{primary}}
\subsectionfont{\color{primary}}
% for wrapfigure
\setlength{\columnsep}{2\columnsep}%
% Boxen
\newtcolorbox{hint}{%
colback=tableRow1!50,%
colframe=tableRow1,%
sharp corners,%
boxrule=0.2mm,%
}
\newtcolorbox{vcard}[1]{%
colback=tableRow1!50,%
colframe=tableRow1,%
sharp corners,%
title=#1,%
height=5cm,%
left=1mm,%
bottom=1mm,%
fonttitle=\bfseries,%
boxrule=0.2mm%
}
% sections ohne Nummer!
% Besser als \section*, da so die section ins toc kommt!
\setcounter{secnumdepth}{0}
% tocloft - Inhaltsverzeichnis formatieren
\renewcommand{\cftsecfont}{}
\renewcommand{\cftsecpagefont}{}
\pagenumbering{arabic}
% Standardseiten
\DeclareNewLayer[oddpage,
align=tr,
hoffset=\dimexpr\paperwidth-20mm\relax,
voffset=6.3mm,
width=16.3mm,
height=20mm,
contents={%
\includegraphics[height=20mm]{Bilder/logo.pdf}
}]{RWLogo}
\DeclareNewLayer[oddpage,
align=tr,
hoffset=\dimexpr\paperwidth-32mm\relax,
voffset=10mm,
width=40mm,
height=20mm,
contents={%
\fontspec{Delicious-Roman}[] Rodgauer Workshop
}]{RWText}
\DeclareNewLayer[oddpage,
align=tl,
hoffset=15mm,
voffset=\dimexpr\paperheight-14.5mm\relax,
width=12mm,
height=8mm,
contents={%
\includegraphics[width=8mm]{Bilder/dummy.pdf}
}]{RWFootLogo}
\DeclareNewLayer[oddpage,
align=tl,
hoffset=25mm, % 15mm without Logo
voffset=\dimexpr\paperheight-15mm\relax,
width=70mm,
height=10mm,
contents={%
{\fontspec{Delicious-Roman}[]
\scriptsize http://www.schmidts-pit.de/\\[-4pt] https://www.rodgauer-workshop.de}
}]{RWurl}
\DeclareNewLayer[evenpage,
align=tl,
hoffset=8mm,
voffset=7mm,
width=16.3mm,
height=15.6mm,
contents={%
\includegraphics[height=16mm]{Bilder/dummy.pdf}
}]{RWkite}
\DeclareNewLayer[evenpage,
align=tl,
hoffset=25mm,
voffset=10mm,
width=40mm,
height=15mm,
contents={%
\fontspec{Delicious-Roman}[] Patchwork
}]{RWname}
\DeclareNewLayer[evenpage,
align=tr,
hoffset=\dimexpr\paperwidth-15mm\relax,
voffset=\dimexpr\paperheight-15mm\relax,
width=70mm,
height=10mm,
contents={%
{\fontspec{Delicious-Roman}[] \scriptsize\hfill Patchwork-Workshop, 7. und 14. März 2019}
}]{RWdate}
\DeclareNewLayer[evenpage,
align=tl,
hoffset=25mm,
voffset=\dimexpr\paperheight-15mm\relax,
width=20mm,
height=10mm,
contents={%
{\fontspec{Delicious-Roman}[]\thepage{}}
}]{RWPagenumberEven}
\DeclareNewLayer[oddpage,
align=tr,
hoffset=\dimexpr\paperwidth-25mm\relax,
voffset=\dimexpr\paperheight-15mm\relax,
width=20mm,
height=10mm,
contents={%
{\hfill\fontspec{Delicious-Roman}[]\thepage{}}
}]{RWPagenumberOdd}
% Titelseite
\DeclareNewLayer[background,oddpage,
align=tl,
hoffset=19mm,
voffset=0mm,
width=56mm,
height=304mm,
contents={%
\includegraphics[width=56mm,height=297mm]{Bilder/vertical_big.jpg}
}]{RWtitleBar}
\DeclareNewLayer[background,oddpage,
align=tl,
hoffset=81mm,
voffset=261mm,
width=14mm,
height=18mm,
contents={%
\includegraphics[width=14mm]{Bilder/logo_bw.pdf}
}]{RWtitleLogo}
% Logo des Drachenentwicklers
\DeclareNewLayer[background,oddpage,
align=tl,
hoffset=81.5mm,
voffset=241mm,
width=11mm,
height=16mm,
contents={%
%\includegraphics[width=14mm]{Bilder/dummy.pdf}
}]{RWguestLogo}
\DeclareNewLayer[foreground,oddpage,
align=tl,
hoffset=97.3mm,
voffset=245.5mm,
width=100mm,
height=30mm,
contents={
%{\fontspec{MadameFlacon}[]\Large Beau Du Ciel}
}]{RWguest}
\DeclareNewLayer[foreground,oddpage,
align=tl,
hoffset=5mm,
voffset=23mm,
width=84mm,
height=80.45mm,
contents={%
\includegraphics[width=84mm]{Bilder/dummy.pdf}
}]{RWkiteLogo}
\makeatletter
\DeclareNewLayer[foreground,oddpage,
align=tl,
hoffset=81mm,
voffset=44mm,
width=115mm,
height=60mm,
contents={%
{\huge\@title\\}
{\large\@date}
}]{RWtitle}
\DeclareNewLayer[foreground,oddpage,
align=tl,
hoffset=81mm,
voffset=212mm,
width=100mm,
height=15mm,
contents={%
{\huge Materialsammlung}
}]{RWsammlung}
\DeclareNewLayer[foreground,oddpage,
align=tl,
hoffset=97.3mm,
voffset=262.5mm,
width=100mm,
height=30mm,
contents={%
{\@author}
}]{RWauthor}
\makeatother
% chapter pager
\newcommand{\RWChapterTitle}{Chapter Title}
\newcommand{\RWChapterSubtitle}{Subtitle of the chapter}
\newcommand{\RWChapter}[2]{\renewcommand{\RWChapterTitle}{#1}\renewcommand{\RWChapterSubtitle}{#2}}
\DeclareNewLayer[background,oddpage,
align=tl,
hoffset=0mm,
voffset=55mm,
width=170mm,
height=30mm,
contents={%
\includegraphics[width=\layerwidth,height=\layerheight]{Bilder/horizontal_big.jpg}
}]{RWchapterBar}
\DeclareNewLayer[foreground,oddpage,
clone=RWchapterBar,
addhoffset=15mm,
addwidth=-25mm,
contents={%
\vfill
\begin{flushright}
\huge\RWChapterTitle\\[10pt]
\large\RWChapterSubtitle
\end{flushright}
\vfill
}]{RWchapterTitle}
% Backside
\DeclareNewLayer[%
align=tl,
hoffset=15mm,
voffset=21.5cm,
width=35mm,
height=60mm,
contents={%
\includegraphics[width=35mm]{opensource.pdf}
}]{OSILogo}
\DeclareNewPageStyleByLayers{RodgauerWorkshop}{RWLogo,RWText,RWurl,RWkite,RWname,RWdate,RWFootLogo,RWPagenumberEven,RWPagenumberOdd}
\DeclareNewPageStyleByLayers{RodgauerWorkshopNN}{RWLogo,RWText,RWurl,RWkite,RWname,RWdate,RWFootLogo}
\DeclareNewPageStyleByLayers{RWTitlePage}{RWtitleBar,RWtitle,RWauthor,RWsammlung,RWtitleLogo,RWkiteLogo,RWguestLogo,RWguest}
\DeclareNewPageStyleByLayers{RWChapterPage}{RWchapterBar,RWchapterTitle}
\DeclareNewPageStyleByLayers{RWBackside}{OSILogo}
% for todonotes
\setlength{\marginparwidth}{2cm}
% bibliography
\setlength{\bibitemsep}{1em}
\renewcommand*{\newunitpunct}{\addcomma\space}
% \subsubsection ohne Leerraum nach Überschrift
\RedeclareSectionCommand[%
beforeskip=-3.25ex plus -1ex minus -.2ex,%
afterskip=1sp%
]{subsubsection}

26
teilnehmer.tex Normal file
View File

@ -0,0 +1,26 @@
% !TeX root = main.tex
% !TeX program = LuaLaTeX
% !TeX encoding = UTF-8
% \pagenumbering{gobble}
\section{Teilnehmerliste}\csvreader[respect sharp, head to column names]{Daten/teilnehmer.csv}{}{%
\begin{minipage}[t][5cm][t]{0.48\textwidth}%
\begin{vcard}{\Vorname~\Nachname}
\begin{wrapfigure}[4]{l}{0.25\textwidth}
\begin{center}
\vspace{-14pt}
\includegraphics[width=0.25\textwidth]{Teilnehmer/\ID.png}
\end{center}
\end{wrapfigure}
\mbox{\ifcsvstrcmp{\Pseudonym}{}{\small\Vorname}{\small\Pseudonym}}\\[4pt]
{\small\Straße\\\PLZ~\Stadt\\}
\ifcsvstrcmp{\Land}{Deutschland}{\small\mbox{ }\\[6pt]}{\small\Land\\[4pt]}
\ifcsvstrcmp{\Telefon}{}{}{\small\Telefon\\}%
\ifcsvstrcmp{\Mail}{}{}{\small\href{mailto:\Mail}{\Mail}\\}%
\ifcsvstrcmp{\Website}{}{}{\small\url{\Website}\\}%
\vfill
\end{vcard}
\end{minipage}
\csvifoddrow{\hfill}{\null\\[16pt]}
}%