commit c5465fc525620b2c0ae6f4de874753c385491d3f Author: Marcus J. Ertl Date: Sat Mar 14 15:17:18 2020 +0100 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cc631cc --- /dev/null +++ b/.gitignore @@ -0,0 +1,275 @@ +/backside.pdf +/main.pdf +/homework.pdf +/empty.pdf +.vscode +Teilnehmer/* +*.html +*.bak? +*.tmp +*.zip +handout*.pdf +.~lock* +main_300dpi.pdf +tmp* + +## 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 +main_300dpi_v10.pdf diff --git a/9pathblocks.svg b/9pathblocks.svg new file mode 100644 index 0000000..d5b36b9 --- /dev/null +++ b/9pathblocks.svg @@ -0,0 +1,2404 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Bilder/Logo3.pdf b/Bilder/Logo3.pdf new file mode 100644 index 0000000..79996a9 --- /dev/null +++ b/Bilder/Logo3.pdf @@ -0,0 +1,68 @@ +%PDF-1.5 +% +4 0 obj +<< /Length 5 0 R + /Filter /FlateDecode +>> +stream +x_ 9@s `tXIa|-Yu" 2'Gޞe/!\|Γ=_NoSie^nf jTLr7jDy+Dݕj_ 1A~+RǶ~jXJ½IdD}i#|Iq MI3^RXMbavK^xMv +endstream +endobj +5 0 obj + 213 +endobj +3 0 obj +<< + /ExtGState << + /a0 << /CA 1 /ca 1 >> + >> +>> +endobj +2 0 obj +<< /Type /Page % 1 + /Parent 1 0 R + /MediaBox [ 0 0 102.85717 102.857216 ] + /Contents 4 0 R + /Group << + /Type /Group + /S /Transparency + /I true + /CS /DeviceRGB + >> + /Resources 3 0 R +>> +endobj +1 0 obj +<< /Type /Pages + /Kids [ 2 0 R ] + /Count 1 +>> +endobj +6 0 obj +<< /Producer (cairo 1.16.0 (https://cairographics.org)) + /CreationDate (D:20200314143030+01'00) +>> +endobj +7 0 obj +<< /Type /Catalog + /Pages 1 0 R +>> +endobj +xref +0 8 +0000000000 65535 f +0000000630 00000 n +0000000399 00000 n +0000000327 00000 n +0000000015 00000 n +0000000305 00000 n +0000000695 00000 n +0000000811 00000 n +trailer +<< /Size 8 + /Root 7 0 R + /Info 6 0 R +>> +startxref +863 +%%EOF diff --git a/Bilder/bulb.pdf b/Bilder/bulb.pdf new file mode 100644 index 0000000..b999d04 --- /dev/null +++ b/Bilder/bulb.pdf @@ -0,0 +1,69 @@ +%PDF-1.5 +% +4 0 obj +<< /Length 5 0 R + /Filter /FlateDecode +>> +stream +x}T[n \͛cU|t{6d߈T춛ojA_-B n? qRݭF +GiZ^ ;WRn#$"KqZ!& v*CGEajpӠsSX%7l ,V-Q8M$YE{`4.DBtZਊ3 _հz0,ͷ)L@ȩ$S8Oit\ q]#$xI?1\>LTDnT' qHԽT|{[prR> + >> +>> +endobj +2 0 obj +<< /Type /Page % 1 + /Parent 1 0 R + /MediaBox [ 0 0 18 18 ] + /Contents 4 0 R + /Group << + /Type /Group + /S /Transparency + /I true + /CS /DeviceRGB + >> + /Resources 3 0 R +>> +endobj +1 0 obj +<< /Type /Pages + /Kids [ 2 0 R ] + /Count 1 +>> +endobj +6 0 obj +<< /Producer (cairo 1.16.0 (https://cairographics.org)) + /CreationDate (D:20191029000920+01'00) +>> +endobj +7 0 obj +<< /Type /Catalog + /Pages 1 0 R +>> +endobj +xref +0 8 +0000000000 65535 f +0000000840 00000 n +0000000624 00000 n +0000000552 00000 n +0000000015 00000 n +0000000530 00000 n +0000000905 00000 n +0000001021 00000 n +trailer +<< /Size 8 + /Root 7 0 R + /Info 6 0 R +>> +startxref +1073 +%%EOF diff --git a/Bilder/by-sa.pdf b/Bilder/by-sa.pdf new file mode 100644 index 0000000..dd80251 Binary files /dev/null and b/Bilder/by-sa.pdf differ diff --git a/Bilder/colors.pdf b/Bilder/colors.pdf new file mode 100644 index 0000000..5f3a625 --- /dev/null +++ b/Bilder/colors.pdf @@ -0,0 +1,70 @@ +%PDF-1.5 +% +4 0 obj +<< /Length 5 0 R + /Filter /FlateDecode +>> +stream +xQn s +_` cSi/ͭL U%τ`Jj48, a͖ab>I/>  TT>pq1Jq9k*w?10%7ceZɞ=$܌oyYKF;_jW-(t\>Ƚ-;zfAڙpblo:OO,* +mz[˰ +endstream +endobj +5 0 obj + 232 +endobj +3 0 obj +<< + /ExtGState << + /a0 << /CA 1 /ca 1 >> + >> +>> +endobj +2 0 obj +<< /Type /Page % 1 + /Parent 1 0 R + /MediaBox [ 0 0 144.428513 144.428558 ] + /Contents 4 0 R + /Group << + /Type /Group + /S /Transparency + /I true + /CS /DeviceRGB + >> + /Resources 3 0 R +>> +endobj +1 0 obj +<< /Type /Pages + /Kids [ 2 0 R ] + /Count 1 +>> +endobj +6 0 obj +<< /Producer (cairo 1.16.0 (https://cairographics.org)) + /CreationDate (D:20200314150824+01'00) +>> +endobj +7 0 obj +<< /Type /Catalog + /Pages 1 0 R +>> +endobj +xref +0 8 +0000000000 65535 f +0000000650 00000 n +0000000418 00000 n +0000000346 00000 n +0000000015 00000 n +0000000324 00000 n +0000000715 00000 n +0000000831 00000 n +trailer +<< /Size 8 + /Root 7 0 R + /Info 6 0 R +>> +startxref +883 +%%EOF diff --git a/Bilder/colors.pdf_tex b/Bilder/colors.pdf_tex new file mode 100644 index 0000000..b00ec70 --- /dev/null +++ b/Bilder/colors.pdf_tex @@ -0,0 +1,62 @@ +%% Creator: Inkscape inkscape 0.92.4, www.inkscape.org +%% PDF/EPS/PS + LaTeX output extension by Johan Engelen, 2010 +%% Accompanies image file 'colors.pdf' (pdf, eps, ps) +%% +%% To include the image in your LaTeX document, write +%% \input{.pdf_tex} +%% instead of +%% \includegraphics{.pdf} +%% To scale the image, write +%% \def\svgwidth{} +%% \input{.pdf_tex} +%% instead of +%% \includegraphics[width=]{.pdf} +%% +%% Images with a different path to the parent latex file can +%% be accessed with the `import' package (which may need to be +%% installed) using +%% \usepackage{import} +%% in the preamble, and then including the image with +%% \import{}{.pdf_tex} +%% Alternatively, one can specify +%% \graphicspath{{/}} +%% +%% For more information, please see info/svg-inkscape on CTAN: +%% http://tug.ctan.org/tex-archive/info/svg-inkscape +%% +\begingroup% + \makeatletter% + \providecommand\color[2][]{% + \errmessage{(Inkscape) Color is used for the text in Inkscape, but the package 'color.sty' is not loaded}% + \renewcommand\color[2][]{}% + }% + \providecommand\transparent[1]{% + \errmessage{(Inkscape) Transparency is used (non-zero) for the text in Inkscape, but the package 'transparent.sty' is not loaded}% + \renewcommand\transparent[1]{}% + }% + \providecommand\rotatebox[2]{#2}% + \newcommand*\fsize{\dimexpr\f@size pt\relax}% + \newcommand*\lineheight[1]{\fontsize{\fsize}{#1\fsize}\selectfont}% + \ifx\svgwidth\undefined% + \setlength{\unitlength}{144.4285187bp}% + \ifx\svgscale\undefined% + \relax% + \else% + \setlength{\unitlength}{\unitlength * \real{\svgscale}}% + \fi% + \else% + \setlength{\unitlength}{\svgwidth}% + \fi% + \global\let\svgwidth\undefined% + \global\let\svgscale\undefined% + \makeatother% + \begin{picture}(1,1.0000003)% + \lineheight{1}% + \setlength\tabcolsep{0pt}% + \put(0,0){\includegraphics[width=\unitlength,page=1]{colors.pdf}}% + \put(0.65700348,0.89804939){\color[rgb]{0,0,0}\makebox(0,0)[lt]{\lineheight{1.25}\smash{\begin{tabular}[t]{l}2\end{tabular}}}}% + \put(0.89991857,0.65513431){\color[rgb]{0,0,0}\makebox(0,0)[lt]{\lineheight{1.25}\smash{\begin{tabular}[t]{l}2\end{tabular}}}}% + \put(0.65957915,0.65575745){\color[rgb]{0,0,0}\makebox(0,0)[lt]{\lineheight{1.25}\smash{\begin{tabular}[t]{l}1\end{tabular}}}}% + \put(0.89971073,0.90503009){\color[rgb]{0,0,0}\makebox(0,0)[lt]{\lineheight{1.25}\smash{\begin{tabular}[t]{l}3\end{tabular}}}}% + \end{picture}% +\endgroup% diff --git a/Bilder/colors.svg b/Bilder/colors.svg new file mode 100644 index 0000000..a56fd97 --- /dev/null +++ b/Bilder/colors.svg @@ -0,0 +1,244 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + 2 + 1 + 3 + + diff --git a/Bilder/d9plogo.pdf b/Bilder/d9plogo.pdf new file mode 100644 index 0000000..774736d Binary files /dev/null and b/Bilder/d9plogo.pdf differ diff --git a/Bilder/d9plogo.svg b/Bilder/d9plogo.svg new file mode 100644 index 0000000..a4c5272 --- /dev/null +++ b/Bilder/d9plogo.svg @@ -0,0 +1,696 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Bilder/dummy.pdf b/Bilder/dummy.pdf new file mode 100644 index 0000000..56f30ae Binary files /dev/null and b/Bilder/dummy.pdf differ diff --git a/Bilder/hint.pdf b/Bilder/hint.pdf new file mode 100644 index 0000000..2203f11 Binary files /dev/null and b/Bilder/hint.pdf differ diff --git a/Bilder/horizontal_big.jpg b/Bilder/horizontal_big.jpg new file mode 100644 index 0000000..ea47f7e Binary files /dev/null and b/Bilder/horizontal_big.jpg differ diff --git a/Bilder/logo.pdf b/Bilder/logo.pdf new file mode 100644 index 0000000..125eef5 Binary files /dev/null and b/Bilder/logo.pdf differ diff --git a/Bilder/logo_bw.pdf b/Bilder/logo_bw.pdf new file mode 100644 index 0000000..f02a5c1 Binary files /dev/null and b/Bilder/logo_bw.pdf differ diff --git a/Bilder/opensource.pdf b/Bilder/opensource.pdf new file mode 100644 index 0000000..1551e68 Binary files /dev/null and b/Bilder/opensource.pdf differ diff --git a/Bilder/pattern.pdf b/Bilder/pattern.pdf new file mode 100644 index 0000000..4fab871 Binary files /dev/null and b/Bilder/pattern.pdf differ diff --git a/Bilder/pattern.svg b/Bilder/pattern.svg new file mode 100644 index 0000000..53b29ef --- /dev/null +++ b/Bilder/pattern.svg @@ -0,0 +1,696 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Bilder/vertical_big.jpg b/Bilder/vertical_big.jpg new file mode 100644 index 0000000..7b95264 Binary files /dev/null and b/Bilder/vertical_big.jpg differ diff --git a/backside.tex b/backside.tex new file mode 100644 index 0000000..082dcd6 --- /dev/null +++ b/backside.tex @@ -0,0 +1,23 @@ + +%\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/} \\ +Visual Studio Code & \url{https://code.visualstudio.com/} \\ +LibreOffice & \url{https://www.libreoffice.org/} \\ +% pdftk & \url{https://www.pdflabs.com/} \\ +Linux & \url{https://www.linux.org/} \\ +Git & \url{https://git-scm.com/} +\end{tabularx} diff --git a/main.tex b/main.tex new file mode 100644 index 0000000..040e52c --- /dev/null +++ b/main.tex @@ -0,0 +1,126 @@ +% !TeX program = LuaLaTeX +% !TeX encoding = UTF-8 + +% Teilnehmerliste: Export vom 16.02.2020 - 15:00 Uhr + +\documentclass[a4paper,twoside,twocolumn,11pt,ngerman,open=right]{scrbook} + +% input all style definitions :-) +\input{styles} + +\renewcommand{\topfraction}{.35} +\renewcommand{\bottomfraction}{.45} +\renewcommand{\dbltopfraction}{.50} +\renewcommand{\textfraction}{.15} +\setcounter{topnumber}{4} +\setcounter{bottomnumber}{4} + +\usepackage{multirow} + +%\addbibresource[label=default]{quellen.bib} + +\setcounter{topnumber}{4} +\setcounter{bottomnumber}{4} +\setcounter{dbltopnumber}{1} +\setcounter{totalnumber}{6} +\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{Disappearing Nine Patch} +\date{} +\author{% +https://www.rodgauer-workshop.de/\\ +https://www.colorful-sky.de/% +} + +\hypersetup{ + pdftitle={Disappearing Nine Patch}, + pdfsubject={Materialsammlung}, + pdfauthor={Rodgauer Workshop - Marcus J. Ertl}, + pdfkeywords={Patchwork, Drachen, Kite, Workshop, Marcus J. Ertl, Disappearing Nine Patch}, + pdfencoding={unicode} +} + +\begin{document} + +\begin{titlepage} + \thispagestyle{RWTitlePage} + \mbox{ } % keeps LaTeX from thinking, this is an empty page! +\end{titlepage} + +\cleardoublepage +\thispagestyle{RodgauerWorkshopNN} + +\onecolumn +\unsettoc{toc}{onecolumn} +\setcounter{tocdepth}{2} +\tableofcontents + +\vfill + +\begin{wrapfigure}[3]{i}{0.22\textwidth} + \vspace{-14pt} + \includegraphics[width=0.22\textwidth]{by-sa.pdf} +\end{wrapfigure} +Dieses Dokument ist lizenziert unter einer Creative Commons Namensnennung - Weitergabe unter gleichen Bedingungen 4.0 International Lizenz. (\url{http://creativecommons.org/licenses/by-sa/4.0/}). + +In diesem Dokument werden Icons aus der Reihe \glqq{}small-n-flat\grqq{} von Paomedia (\url{https://www.iconfinder.com/paomedia}) unter der Creative Commons (Attribution 3.0 Unported)-Lizenz verwendet. + +\thispagestyle{empty} +\cleardoublepage +\twocolumn + +\part{Das Muster} + +\section{Disappearing Nine Patch} +Das Disappearing Nine Patch-Muster ist ein klassisches Patchworkmuster. Der Block ist sehr leicht zu nähen. Er besteht nur aus gerade Nähten, und die wenigen Eckstöße lassen sich gut nähen. + +Dadurch, dass nur kleine Quadrate verwendet werden, kann der Drachen aus Resten genäht werden. + +\section{Material} +\begin{figure}[tb] + \centering + \includegraphics[width=0.8\columnwidth]{Bilder/pattern.pdf} + \caption{Das gesamte Muster}\label{fig:pattern} +\end{figure} +\begin{figure}[tb] + \centering + \def\svgwidth{0.8\columnwidth} + \input{Bilder/colors.pdf_tex} + \caption{Farben im Block}\label{fig:colors} +\end{figure} + +Für den Drachen müssen vor allem Quadrate und wenige Streifen zugeschnitten werden. Es wird Material wie folgt benötigt: + +\rowcolors{1}{tableRow1}{tableRow1!50} +\begin{tabularx}{\columnwidth}{rcX} + \rowcolor{primary} + \textcolor{white}{\textbf{Farbe}} & \textcolor{white}{\textbf{Anzahl}} & \textcolor{white}{\textbf{Zuschnitt}}\\ + Farbe 1 & 16 & Quadrate mit \unit[11,0]{cm}\\ + Farbe 2 & 16 & Quadrate mit \unit[11,0]{cm}\\ + Farbe 3 & 4 & Quadrate mit \unit[11,0]{cm}\\ + Farbe 3 & 1 & Quadrat mit \unit[5,5]{cm}\\ + Hintergrund & 4 & Streifen \unit[31]{cm} $\times$ \unit[5,5]{cm}\\ + Rahmen & 4 & Streifen \unit[80]{cm} $\times$ \unit[6,0]{cm}\\ +\end{tabularx}\label{tab:material} + + + + +\part{Anhang} +\onecolumn + + +\listoffigures +% \printbibliography[title={Quellen}] + + +\end{document} diff --git a/styles.tex b/styles.tex new file mode 100644 index 0000000..206d31e --- /dev/null +++ b/styles.tex @@ -0,0 +1,449 @@ +% !TeX root = main.tex +% !TeX program = LuaLaTeX +% !TeX encoding = UTF-8 + +\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{emptypage} +\usepackage[colorlinks=true,linkcolor=black,citecolor=black,urlcolor=black,bookmarks=true,unicode]{hyperref} +\usepackage[figurewithin=none]{caption} +\usepackage{subcaption} +\usepackage[activate=true,tracking=true]{microtype} +\usepackage[titles]{tocloft} +\usepackage{fixme} +\usepackage{hologo} +\usepackage{varioref} +\usepackage{nameref} +\usepackage{csvsimple} +\usepackage{tcolorbox} +\usepackage{qrcode} +\usepackage[safe]{tipa} +\usepackage{csquotes} +\usepackage{tikz} +\usetikzlibrary{calc} +\usepackage{pdfpages} +\usepackage{blindtext} +\usepackage{balance} +\usepackage{comment} +\usepackage[backend=biber,citestyle=numeric-comp]{biblatex} + + +\newcolumntype{L}[1]{>{\raggedright\arraybackslash}p{#1}} % linksbündig mit Breitenangabe +\newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}} % zentriert mit Breitenangabe +\newcolumntype{R}[1]{>{\raggedleft\arraybackslash}p{#1}} % rechtsbündig mit Breitenangabe + +% 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 + +% Verweise auf Name statt auf Nummer +\newcommand{\xref}[1]{\glqq{}\nameref{#1}\grqq{} \vpageref[\unskip]{#1}} + +% immer durch 4 teilbare Seitenzahl +\usepackage{refcount,lastpage} +\makeatletter +\newcommand{\checkmultipleoffour}{% + \count@=\getpagerefnumber{LastPage}% + \count@=\the\numexpr\count@\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} +} +\@ifclassloaded{scrbook}{% + \AtEndDocument{\checkmultipleoffour}} +{} +\makeatother + +% 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} +\labelformat{table}{Tabelle~#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} +\definecolor{okcolor}{RGB}{140,202,27} + +%https://tex.stackexchange.com/questions/75667/change-colour-on-chapter-section-headings-lyx +\setkomafont{disposition}{\color{primary}\bfseries} + +% 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% +} + +\newsavebox\MBox +\newenvironment{Wikipedia}[1] +{\par\smallskip\begin{lrbox}{\MBox}\begin{minipage}[t]{#1}} + {\end{minipage}\end{lrbox}% + \makebox(0,0){\put(0,0){% + \includegraphics[trim=0 20 0 -20,width=0.3\columnwidth,height=0.27\columnwidth]{Bilder/wikipedia-light.pdf}}}% + \usebox\MBox\par% +} + +\tcbuselibrary{skins,breakable} +\newtcolorbox{Hint}{% + enhanced,breakable,% + toggle left and right,% + sharp corners,% + boxrule=1pt,top=1.2mm,bottom=1.2mm,left=1.2mm,right=1.2mm,% + rightrule=1.2cm,% + before skip=12pt plus 2pt,after skip=12pt plus 2pt,% + colback=okcolor!20,% + colframe=okcolor!80,% + overlay={% + \begin{tcbclipframe} + \tcbifoddpage{\coordinate (X) at ([shift={(-6mm,-8mm)}]frame.north east);} + {\coordinate (X) at ([shift={(6mm,-8mm)}]frame.north west);} + \node[inner sep=0pt] (russell) at (X) {\includegraphics[width=10mm,height=10mm]{bulb.pdf}}; + \end{tcbclipframe}% + },% +} + + +% 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-16.5mm\relax, + width=12mm, + height=12mm, + contents={% + \includegraphics[width=7mm,angle=12]{Bilder/logo3.pdf} + }]{RWFootLogo} +\DeclareNewLayer[oddpage, + align=tl, + hoffset=25mm, % 15mm without Logo + voffset=\dimexpr\paperheight-17mm\relax, + width=70mm, + height=10mm, + contents={% + {\fontspec{Delicious-Roman}[] + \scriptsize https://schmidts-pit.de/\\[-4pt] https://www.rodgauer-workshop.de} + }]{RWurl} +\DeclareNewLayer[evenpage, + align=tl, + hoffset=8mm, + voffset=7mm, + width=16mm, + height=14mm, + contents={% + \includegraphics[height=18mm]{Bilder/d9plogo.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-17mm\relax, + width=70mm, + height=10mm, + contents={% + {\fontspec{Delicious-Roman}[] \scriptsize\hfill Patchwork-Workshop, 7. und 14. März 2020} + }]{RWdate} +\DeclareNewLayer[evenpage, + align=tl, + hoffset=25mm, + voffset=\dimexpr\paperheight-17mm\relax, + width=20mm, + height=10mm, + contents={% + {\fontspec{Delicious-Roman}[]\thepage{}} + }]{RWPagenumberEven} +\DeclareNewLayer[oddpage, + align=tr, + hoffset=\dimexpr\paperwidth-25mm\relax, + voffset=\dimexpr\paperheight-17mm\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=16mm, + height=14mm, + contents={% + \includegraphics[width=76mm]{Bilder/d9plogo.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 + +% part pager +\DeclareNewLayer[background,oddpage, + align=tl, + hoffset=0mm, + voffset=55mm, + width=170mm, + height=30mm, + contents={% + \includegraphics[width=\layerwidth,height=\layerheight]{Bilder/horizontal_big.jpg} + }]{RWpartBar} +% \DeclareNewLayer[foreground,oddpage, +% clone=RWpartBar, +% addhoffset=15mm, +% addwidth=-25mm, +% contents={% +% \vfill +% \begin{flushright} +% {\Large\partname\hskip 0.82em \thepart}\\[10pt] +% {\huge ...} +% \end{flushright} +% \vfill +% }]{RWpartTitle} + +% 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{RWPartPage}{RWpartBar} +\DeclareNewPageStyleByLayers{RWBackside}{OSILogo} + +\makeatletter +\@ifclassloaded{scrbook}{% + \renewcommand*{\partpagestyle}{RWPartPage} + \renewcommand*{\chapterpagestyle}{RodgauerWorkshop}} +{} +\makeatother + +% 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} + +% Parts-Seiten gestalten +% https://tex.stackexchange.com/questions/370478/part-page-formatting-in-scrlayer-scrpage +\makeatletter +% numbered part in the table of contents +\newcommand{\@mypartnumtocformat}[2]{% + \setlength\fboxsep{0pt}% + {\noindent\centering#1}\hskip 0.5em{\centering#2}}% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% unnumbered part in the table of contents +\newcommand{\@myparttocformat}[1]{% + \setlength\fboxsep{0pt}% + {\centering#1}}% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\def\@part[#1]#2{% + \ifnum \c@secnumdepth >-2\relax% + \refstepcounter{part}% + \addcontentsline{toc}{part}{\texorpdfstring{\protect\@mypartnumtocformat{\thepart}{#1}}{\partname~\thepart\ ---\ #1}} + \else% + % \addcontentsline{toc}{part}{\texorpdfstring{\protect\@myparttocformat{#1}}{#1}}% + \fi% + %\startcontents% + \markboth{}{}% + {\thispagestyle{\partpagestyle}% + \begin{tikzpicture}[remember picture,overlay] + \node[align=right, text width=12cm] at ($(current page.south west) + (10.2cm,22.6cm)$) {{\LARGE\bfseries\raggedright\partname{ }\@Roman\c@part}\\[12pt] {\strut\raggedright\Huge\bfseries#2}}; + \end{tikzpicture}% + } + \@endpart} +\def\@spart#1{% + \startcontents% + \phantomsection + {\thispagestyle{\partpagestyle}% + {\fontsize{30}{30}\sffamily\bfseries#1}}; + % \addcontentsline{toc}{part}{\texorpdfstring{% + % \setlength\fboxsep{0pt}% + % \noindent\protect\colorbox{mybluei!40}{\strut\protect\parbox[c][.7cm]{\linewidth}{\Large\sffamily\protect\centering #1\quad\mbox{}}}}{#1}}% + \@endpart} +\def\@endpart{\vfil\newpage + \if@twoside + \if@openright + \null + \thispagestyle{empty}% + \newpage + \fi + \fi + \if@tempswa + \twocolumn + \fi} +\makeatother \ No newline at end of file