From 608ab2bf09b79e930985cb8bd823ce3f0cd05409 Mon Sep 17 00:00:00 2001
From: dakkar <dakkar@thenautilus.net>
Date: Sun, 23 Oct 2011 11:57:36 +0100
Subject: ritocchi di Marco

---
 incantesimi.cmd.tex | 46 ++++++++++++++++++++++++++++++----------------
 1 file changed, 30 insertions(+), 16 deletions(-)

(limited to 'incantesimi.cmd.tex')

diff --git a/incantesimi.cmd.tex b/incantesimi.cmd.tex
index 6deef69..b2e6146 100644
--- a/incantesimi.cmd.tex
+++ b/incantesimi.cmd.tex
@@ -3,9 +3,10 @@
 \usepackage[latin1]{inputenc}
 \usepackage[italian,english]{babel}
 \usepackage[OT1]{fontenc}
+\usepackage{pgfkeys}
 \usepackage{tikz}
 \usetikzlibrary{calc}
-\usepackage{pgfkeys}
+\usetikzlibrary{shapes.multipart}
 
 %%%% fullpage
 \setlength{\headheight}{0pt}
@@ -30,17 +31,21 @@
 
 \tikzstyle{carta}=[rectangle,minimum width=4.8cm,minimum height=7cm,outer sep=0,use as bounding box]
 
-\tikzstyle{title label}=[rectangle,text=blue!80!green!75!black,minimum height=2\baselineskip,font={\scshape\small},inner sep=1mm,text width=4.6cm,align=flush center]
+\tikzstyle{title label}=[rectangle,text=blue!80!green!75!black,minimum height=2\baselineskip,font={\small},inner sep=1mm,text width=4.6cm,align=flush center]
 
-\tikzstyle{side label}=[rectangle,text=green!35!black,minimum height=3mm,font=\tiny,inner sep=0.5mm,rotate=270]
+\tikzstyle{side label}=[rectangle,text=green!25!black,minimum height=3mm,font=\tiny,inner sep=0.5mm,rotate=270]
 
-\tikzstyle{subt label}=[rectangle,text=magenta!25!black,minimum height=0.5cm,font=\scriptsize,inner xsep=2pt,inner ysep=1mm,text width=\cardtextwidth,align=#1]
+\tikzstyle{subt label}=[text=magenta!25!black,font=\scriptsize,inner xsep=2pt,inner ysep=0.2em,text width=\cardtextwidth]
 
 \tikzstyle{descr label}=[rectangle,text=red!50!black,font={\sffamily\footnotesize},inner xsep=2pt,inner ysep=1mm,text width=\cardtextwidth,align=justify]
 
 \tikzstyle{trg label}=[rectangle,text=red!70!blue!90!yellow,font={\sffamily\footnotesize},inner xsep=2pt,inner ysep=1mm,align=#1]
 
-\tikzstyle{angles label}=[rectangle,text=blue!50!black,minimum height=0.5cm,font=\scriptsize,inner sep=0.5mm,align=justify]
+\tikzstyle{above angles label}=[text=blue!50!black,font=\scriptsize,minimum height=\baselineskip,align=justify]
+
+\tikzstyle{angles label}=[rectangle split,rectangle split parts=2,rectangle split part align=left,text=blue!50!black,font=\tiny,align=justify]
+
+\tikzstyle{prep label}=[rectangle split,rectangle split parts=2,rectangle split part align=left,draw,ultra thin,minimum width=0.333*4.8cm,text=yellow!10!black,inner xsep=0.1em,inner ysep=0.29em,font={\it\tiny}]%inner ysep is set to have 7mm overall heigh
 
 %%%%
 
@@ -62,29 +67,35 @@
 \tikzset{/spells/range/.initial={Must be passed in}}
 
 \newcommand{\incantesimo}[1]{%
-%\begin{scope}[every node/.style={draw,very thin},/spells/.cd,#1]
+%\begin{scope}[every node/.style={draw,ultra thin},/spells/.cd,#1]
 \begin{scope}[/spells/.cd,#1]
-\node[carta,draw,ultra thin] (card) {};
+\node[carta,ultra thin,draw] (card) {};
 
 % titolo
 \node [anchor=north,title label] (name) at (card.north)
-      {\pgfkeysvalueof{/spells/name}};
+      {\usefont{OT1}{ptm}{bx}{sc}\pgfkeysvalueof{/spells/name}};
 
 %angolo nord est
 \node [anchor=north west,side label] (type) at ($(card.east |- name.south) - (0mm,0.0mm)$)
       {\textsl{\pgfkeysvalueof{/spells/type}}};
 
+%lato sud
+\node [anchor=south,prep label] (prep) at (card.south)
+      {Prep:\nodepart{two}Used:};
 
 %angolo sud ovest
-\node [anchor=south west,angles label] (st) at (card.south west)
-      {\textsc{ST:\pgfkeysvalueof{/spells/st}}};
-\node [anchor=south west,angles label] (durata) at (st.north west)
+\node [anchor=south west,angles label]
+      (st) at (card.south west)
+      {\textsc{ST:}\nodepart{two}\textsc{\pgfkeysvalueof{/spells/st}}};
+
+\node [anchor=south west,above angles label] (durata) at (card.west |- prep.north)
       {\textsf{Duration: \pgfkeysvalueof{/spells/durata}}};
 
 %angolo sud est
 \node [anchor=south east,angles label] (sr) at (card.south east)
-      {\textsc{SR:\pgfkeysvalueof{/spells/sr}}};
-\node [anchor=south east,angles label] (tempo) at (sr.north east)
+      {\textsc{SR:}\nodepart{two}\textsc{\pgfkeysvalueof{/spells/sr}}};
+
+\node [anchor=south east,above angles label] (tempo) at (card.east |- prep.north)
       {\textsf{CT: \pgfkeysvalueof{/spells/tempo}}};
 
 %lato sud est
@@ -92,11 +103,14 @@
       {\pgfkeysvalueof{/spells/ref}};
 
 
+
 %sottotitoli
-\node [anchor=north east,subt label=flush right] (scuola) at (type.south west)
+\node [anchor=north east,align=flush right,rectangle,subt label] (scuola) at (type.south west)
       {\emph{\pgfkeysvalueof{/spells/scuola}}};
-\node [anchor=north west,subt label=flush left] (components) at ($(scuola.south -| card.west) - (0mm,0mm)$)
-      {\textsc{\pgfkeysvalueof{/spells/components}}\\{\tiny\pgfkeysvalueof{/spells/specialcomp}}};
+
+\node [anchor=north west,rectangle split,rectangle split parts=2,rectangle split part align={left,flushright},subt label]
+      (components) at ($(scuola.south -| card.west) - (0mm,0mm)$)
+      {\textsc{\pgfkeysvalueof{/spells/components}}\nodepart{two}{\tiny\pgfkeysvalueof{/spells/specialcomp}}};
 
 
 %centro
-- 
cgit v1.2.3

