diff --git a/schilder.py b/schilder.py index f20fe097a1a79671501cf5e6a697b099a0443527..3f41bde5ef995118c87d54a158fcc85e2bb83550 100755 --- a/schilder.py +++ b/schilder.py @@ -279,6 +279,7 @@ def tplthumbnail(tplname, maxgeometry): 'img': 'pictograms-nps-misc-camera.png', 'headline': u'Überschrift', 'text': u'Dies ist der Text, der in der UI als Text bezeichnet ist.', + 'markup': 'latex', }, pdfpath, overwrite=False ) except Exception as e: diff --git a/tex/headline-top_arrowupthenleft_image-right.tex b/tex/headline-top_arrowupthenleft_image-right.tex index 88cd5cbce60dd1eac736b50bddec3d725c4ce943..8bf4b85dd6fc50f8b824485c30c47f6895f9c616 100644 --- a/tex/headline-top_arrowupthenleft_image-right.tex +++ b/tex/headline-top_arrowupthenleft_image-right.tex @@ -2,11 +2,6 @@ \input{support/header} -\newcommand{\lpfeil}[2][6mm]{% - \tikz{\path[x=#1, y=#1, fill=black, draw=black, line width=1mm] - (0,0) |- ++(#2) -- ++(0,1) -- ++(-3,-3) -- ++(3,-3) -- ++(0,1) - -| (-4,0) -- (0,0);}} - \begin{document} \begin{frame} @@ -16,7 +11,7 @@ \begin{columns} \column{.45\textwidth} \centering - \lpfeil[15mm]{-6,6} + \arrowupthenleft \column{.55\textwidth} \includegraphics[width=\linewidth]{${ form.img }} \end{columns} diff --git a/tex/headline-top_arrowupthenleft_text-right.tex b/tex/headline-top_arrowupthenleft_text-right.tex index 656d4c80529b9389e5148f6ebbc850ab1fb450cd..bc452842d3fb090f6d1896fa6ab936df675cb2a2 100644 --- a/tex/headline-top_arrowupthenleft_text-right.tex +++ b/tex/headline-top_arrowupthenleft_text-right.tex @@ -2,11 +2,6 @@ \input{support/header} -\newcommand{\lpfeil}[2][6mm]{% - \tikz{\path[x=#1, y=#1, fill=black, draw=black, line width=1mm] - (0,0) |- ++(#2) -- ++(0,1) -- ++(-3,-3) -- ++(3,-3) -- ++(0,1) - -| (-4,0) -- (0,0);}} - \begin{document} \begin{frame} @@ -16,7 +11,7 @@ \begin{columns} \column{.45\textwidth} \centering - \lpfeil[15mm]{-6,6} + \arrowupthenleft \column{.55\textwidth} \Large{${ form.text }} \end{columns} diff --git a/tex/headline-top_arrowupthenright_image-right.tex b/tex/headline-top_arrowupthenright_image-right.tex index f8d7879c0d724448d07cb1ca683015df248302ad..08fd5ae2ec8e86552a8267292e7942ba7b2ddf3b 100644 --- a/tex/headline-top_arrowupthenright_image-right.tex +++ b/tex/headline-top_arrowupthenright_image-right.tex @@ -2,11 +2,6 @@ \input{support/header} -\newcommand{\rpfeil}[2][6mm]{% - \tikz{\path[x=#1, y=#1, fill=black, draw=black, line width=1mm] - (0,0) |- ++(#2) -- ++(0,1) -- ++(3,-3) -- ++(-3,-3) -- ++(0,1) - -| (4,0) -- (0,0);}} - \begin{document} \begin{frame} @@ -16,7 +11,7 @@ \begin{columns} \column{.45\textwidth} \centering - \rpfeil[15mm]{6,6} + \arrowupthenright \column{.55\textwidth} \includegraphics[width=\linewidth]{${ form.img }} \end{columns} diff --git a/tex/headline-top_arrowupthenright_text-right.tex b/tex/headline-top_arrowupthenright_text-right.tex index d4aed346103535699d120c63669f697182000482..0c70dc63cca7876ccb31550b6b865035ea41d9b6 100644 --- a/tex/headline-top_arrowupthenright_text-right.tex +++ b/tex/headline-top_arrowupthenright_text-right.tex @@ -2,21 +2,16 @@ \input{support/header} -\newcommand{\rpfeil}[2][6mm]{% - \tikz{\path[x=#1, y=#1, fill=black, draw=black, line width=1mm] - (0,0) |- ++(#2) -- ++(0,1) -- ++(3,-3) -- ++(-3,-3) -- ++(0,1) - -| (4,0) -- (0,0);}} - \begin{document} \begin{frame} ~ \vfill \defaulthead{${ form.headline }} -\vskip.5cm +\vskip.5cm ~ \vfill ~ \begin{columns} \column{.45\textwidth} \centering - \rpfeil[15mm]{6,6} + \arrowupthenright \column{.55\textwidth} \Large{${ form.text }} \end{columns} diff --git a/tex/support/header.tex b/tex/support/header.tex index 350e11419220dd8a8ad15c6708da41890f2b37f3..d6de3e766c79cdf161eb7fb0144ac3977d154723 100644 --- a/tex/support/header.tex +++ b/tex/support/header.tex @@ -78,3 +78,12 @@ Edit tex/support/header.tex to create your own design.\hfill \newcommand{\arrowleft}{% \tikz [baseline=14ex]{\node [myarrow,rotate=180] {};} } +\newcommand{\arrowupthenleft}{% + \tikz{\path[x=4mm, y=4mm, fill=black, draw=black, line width=0mm] + (0,0) -- ++(0,8) to[out=90,in=0] ++(-12,12) -- ++(-4,0) -- ++(0,8) + -- ++(-14,-14) -- ++(14,-14) -- ++(0,8) -| (-12,0) -- (0,0);}} +\newcommand{\arrowupthenright}{% + \tikz{\path[x=4mm, y=4mm, fill=black, draw=black, line width=0mm] + (0,0) -- ++(0,8) to[out=90,in=180] ++(12,12) -- ++(4,0) -- ++(0,8) + -- ++(14,-14) -- ++(-14,-14) -- ++(0,8) -| (12,0) -- (0,0);}} +