From f9ca9a1ed63f326d71f147dbc64d76bc2681a808 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 1 Oct 2020 11:23:56 +0200 Subject: fix and use cardmodule command --- latex/tikzcards.tex | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'latex') diff --git a/latex/tikzcards.tex b/latex/tikzcards.tex index 9681eb3e..d7128b91 100644 --- a/latex/tikzcards.tex +++ b/latex/tikzcards.tex @@ -171,13 +171,11 @@ \clip[cardcorners] \shapeCard; \fill[strip,playbg] \shapeRightStripShortLow; \end{scope} - \node at (\cardwidth-0.5*\stripwidth-\strippadding,\strippadding+\strippadding) {\color{black}#1}; + \node at (\cardwidth-0.5*\stripwidth-\strippadding, \strippadding+\strippadding) {\color{black}#1}; } % Module containing the card \newcommand{\cardmodule}[1]{ - \begin{scope}[even odd rule] - \clip[cardcorners] \shapeCard; - \end{scope} - \node[rotate=90] at (\strippadding+\stripwidth-0.37,\strippadding+\strippadding+0.2) {\color{black}#1}; + + \node[rotate=90, right] at (\strippadding+0.5*\stripwidth, \strippadding+\strippadding) {\color{black}#1}; } -- cgit v1.2.3