Commit 5d9788ed authored by Dave Kliczbor's avatar Dave Kliczbor
Browse files

Fixed arrow-up-then-left/right templates.

parent f3e996a5
......@@ -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:
......
......@@ -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}
......
......@@ -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}
......
......@@ -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}
......
......@@ -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}
......
......@@ -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);}}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment