commit 80d6995fdb2c30c94c3b370799f5c0c7296ef783 Author: Marcus J. Ertl Date: Sun Nov 8 18:34:34 2020 +0100 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ed51eb7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,277 @@ +/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 +Ankuendigung/ankuendigung.svg +Ankuendigung/background.jpg diff --git a/Bilder/HalfSquareTriangelQuiltKite.svg b/Bilder/HalfSquareTriangelQuiltKite.svg new file mode 100644 index 0000000..5c22cda --- /dev/null +++ b/Bilder/HalfSquareTriangelQuiltKite.svg @@ -0,0 +1,222 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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Ä üç\ ®Í›côUÔÝýØ|t{©6†¢ª­”ŒÍà²d‘ÿ߈T춛oƒjA_-B ¼£«ìënß?ÑÞ qÎRŸ£Ý­F +Gù•³iàZ^é ;WÚìãRùÆnªŠ#$¢œ"ÌKqâ§Z!& v*ØC–G©EajpÓ ‚s™SXƒ%ïœ7l§Û ˜,…V®-Q‚8¡M$YÍEû”®ç{`4’.DBëtZ—ਊ†Ê3Å _ŠÕ°Ùz¨­0»½¸¶¶,³Í·)…ˆL@È©$®ÅS’ù8Oiª²Ÿt·ÕÑâÕ\ù«ÉÖý —q]#Õ$çøxI¬“—?1Üæä\>¥LTDnäT' ÂqHÌÔ½²ÅôT¼|ÒºØ{[Èpr‡¨æêÁìRù<ñC„£˜ /a$5 gÏ0ApîXX…e9ÈÍng26  ;&¡ãv¿¾Ú¶X‚§ ïŠò½¦vÖ]ûtyŸz—yêi]"_ë•8×ÈzpË„‡Ûÿ¿,Êõp:î2uFª1*ŸÜx½%U{˜™7óa~;_ù +endstream +endobj +5 0 obj + 438 +endobj +3 0 obj +<< + /ExtGState << + /a0 << /CA 1 /ca 1 >> + >> +>> +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/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/hsts-logo.pdf b/Bilder/hsts-logo.pdf new file mode 100644 index 0000000..23791c3 Binary files /dev/null and b/Bilder/hsts-logo.pdf 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.svg b/Bilder/logo.svg new file mode 100644 index 0000000..db56495 --- /dev/null +++ b/Bilder/logo.svg @@ -0,0 +1,323 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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/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..fb874e0 --- /dev/null +++ b/main.tex @@ -0,0 +1,143 @@ +% !TeX program = LuaLaTeX +% !TeX encoding = UTF-8 + +% Teilnehmerliste: Export vom 16.02.2020 - 15:00 Uhr + +\documentclass[a4paper,twoside,twocolumn,11pt,ngerman,open=right]{scrreport} + +% input all style definitions :-) +\input{styles} + +\renewcommand{\topfraction}{.35} +\renewcommand{\bottomfraction}{.48} +\renewcommand{\dbltopfraction}{.55} +\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{Half Square Triangle Star\\[1em]Der Drachen} +\date{} +\author{% +https://www.rodgauer-workshop.de/\\ +https://www.colorful-sky.de/% +} + +\hypersetup{ + pdftitle={Half Square Triangle Star - Der Drachen}, + pdfsubject={Materialsammlung}, + pdfauthor={Rodgauer Workshop - Marcus J. Ertl}, + pdfkeywords={Patchwork, Drachen, Kite, Workshop, Marcus J. Ertl, Half Square Triangle Star}, + pdfencoding={unicode} +} + +\begin{document} + +\begin{titlepage} + \thispagestyle{RWTitlePage} + \mbox{ } % keeps LaTeX from thinking, this is an empty page! +\end{titlepage} + +\cleardoublepage +\thispagestyle{RodgauerWorkshopNN} + +\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. + +Dieses Dokument wurde mit {\fontspec{Latin Modern Roman}\hologo{LuaLaTeX}} erstellt. Der Quellcode und alle Dateien steht unter \url{https://gitlab.com/tiggr/d9p.git} zur Verfügung. + +\thispagestyle{empty} +\cleardoublepage +\twocolumn + +%\part{Das Muster} + +\section{Half Square Triangle Star} + + +\section{Material} +\begin{figure}[tb] + \centering + \includegraphics[width=0.8\columnwidth]{Bilder/dummy.pdf} + \caption{Das gesamte Muster}\label{fig:pattern} +\end{figure} +\begin{figure}[tb] + \centering + \includegraphics[width=0.8\columnwidth]{Bilder/dummy.pdf} + \caption{xxx}\label{fig:xxx} +\end{figure} + +... + +\begin{table}[tb] + \rowcolors{1}{tableRow1}{tableRow1!50} + \begin{tabularx}{\columnwidth}{rcX} + \rowcolor{primary} + \textcolor{white}{\textbf{Farbe}} & \textcolor{white}{\textbf{Menge}} & \textcolor{white}{\textbf{Zuschnitt/Material}} \\ + 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} \\ + & \unit[3--4]{m} & Waagschnur mit ca. \unit[45]{kg} \\ + & 2 & CFK-Rohre \unit[4]{mm} $\times$ \unit[1250]{mm} \\ + & 4 & \unit[4]{mm} Stabendkappen \\ + & & Dacron für Stabtaschen \\ + & & Material für Schwanz \\ + \end{tabularx} + \caption{Material}\label{tab:material} +\end{table} + +\section{Blöcke nähen} + +\section{Segel zusammensetzen} + +\section{Taschen und Säume} + +\section{Schwanz} + +\section{Waage} + +Der Drachen besitz eine Dreipunktwaage mit Waagpunkten an den beiden oberen Ecken und in der Drachenmitte am Kreuzungspunkt der Stäbe. + +Die exakte Waageinstellung wird auf der Drachenwiese erflogen. + +%\part{Anhang} +\onecolumn + + +\listoffigures +% \printbibliography[title={Quellen}] + + +\end{document} diff --git a/styles.tex b/styles.tex new file mode 100644 index 0000000..fd4e098 --- /dev/null +++ b/styles.tex @@ -0,0 +1,451 @@ +% !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} +\usepackage{chngcntr} + +\counterwithout{table}{chapter} + +\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{scrreport}{% + \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/hsts-logo.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://www.colorful-sky.de.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/hsts-logo.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 Half Square Triangle Star} + }]{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/hsts-logo.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