summaryrefslogtreecommitdiff
path: root/chessstorm.tex
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2017-02-10 09:10:49 +0100
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2017-02-10 09:10:49 +0100
commit8b785d473858698da146d5c24a8657246c7adcda (patch)
treeb09eea28a8724261080e9c45ff2aad8bfd0801ff /chessstorm.tex
parentfe5a95aa9c46e2aec3c9fa2f024a0a47f93e16b6 (diff)
Adding rules cards.
Diffstat (limited to 'chessstorm.tex')
-rw-r--r--chessstorm.tex34
1 files changed, 32 insertions, 2 deletions
diff --git a/chessstorm.tex b/chessstorm.tex
index ca12303..2d57e1e 100644
--- a/chessstorm.tex
+++ b/chessstorm.tex
@@ -49,8 +49,38 @@
\newpage
}
+\newcommand{\rulecard}[1]{
+\begin{tikzpicture}[x=1in,y=1in]
+% Card text
+ \node [below right, text width=2.20in, font=\small] at (0.10, 3.36) {#1};
+
+% Bottom left cutting guide
+ \draw[color=magenta, opacity=1] (-0.04, 0.00)--( 0.04, 0.00);
+ \draw[color=cyan, opacity=1] ( 0.00,-0.04)--( 0.00, 0.04);
+% Top left cutting guide
+ \draw[color=magenta, opacity=1] (-0.04, 3.50)--( 0.04, 3.50);
+ \draw[color=cyan, opacity=1] ( 0.00, 3.46)--( 0.00, 3.54);
+% Bottom right cutting guide
+ \draw[color=magenta, opacity=1] ( 2.46, 0.00)--( 2.54, 0.00);
+ \draw[color=cyan, opacity=1] ( 2.50,-0.04)--( 2.50, 0.04);
+% Top right cutting guide
+ \draw[color=magenta, opacity=1] ( 2.46, 3.50)--( 2.54, 3.50);
+ \draw[color=cyan, opacity=1] ( 2.50, 3.46)--( 2.50, 3.54);
+
+% The main card square
+ \draw[color=black, opacity=1, rounded corners=0.15in] (0.00, 0.00) rectangle (2.50, 3.50);
+% Safe zone
+ \draw[color=black, opacity=0, rounded corners=0.15in] (0.10, 0.10) rectangle (2.40, 3.40);
+
+% Watermark
+ \node [rotate=60, scale=2.8, text opacity=0.05] at (current page.center) { Work in progress };
+\end{tikzpicture}
+
+\newpage
+}
+
\begin{document}
+\include{rules}
+\setcounter{page}{1}
\include{cards}
\end{document}
-
-