diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-10-01 11:23:56 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-10-18 14:29:16 +0200 |
| commit | f9ca9a1ed63f326d71f147dbc64d76bc2681a808 (patch) | |
| tree | f9d32cd6fee0dd67468b5b90c2b56576c30a6c21 /latex/tikzcards.tex | |
| parent | 9246a95c0d928aa2bf5cf795315886775456c272 (diff) | |
| download | muhqs-game-f9ca9a1ed63f326d71f147dbc64d76bc2681a808.tar.gz muhqs-game-f9ca9a1ed63f326d71f147dbc64d76bc2681a808.zip | |
fix and use cardmodule command
Diffstat (limited to 'latex/tikzcards.tex')
| -rw-r--r-- | latex/tikzcards.tex | 8 |
1 files changed, 3 insertions, 5 deletions
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}; } |
