From 9a4ab8cee6c0bc045a8580ebd312da3bf307f017 Mon Sep 17 00:00:00 2001
From: dakkar <dakkar@thenautilus.net>
Date: Fri, 7 Nov 2008 21:29:35 +0100
Subject: ritocchi e template

---
 test.tex | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 test.tex

(limited to 'test.tex')

diff --git a/test.tex b/test.tex
new file mode 100644
index 0000000..eb319dd
--- /dev/null
+++ b/test.tex
@@ -0,0 +1,21 @@
+\documentclass[a4paper,10pt]{article}
+\usepackage[latin1]{inputenc}
+\usepackage[italian]{babel}
+\usepackage[T1]{fontenc}
+\usepackage{pslatex}
+\usepackage{tikz}
+\usepackage{pgfkeys}
+
+\pgfkeyssetvalue{/dnd/item/acp}{0}
+\pgfkeyssetvalue{/dnd/item/name}{test}
+\newcommand{\Item}[1]{%
+\pgfqkeys{/dnd/item}{acp=0,name=test,#1}%
+Name: \pgfkeysvalueof{/dnd/item/name}
+ACP: \pgfkeysvalueof{/dnd/item/acp}
+}
+
+\begin{document}
+\Item{name=prova}
+
+\Item{name=altro,acp=12}
+\end{document}
-- 
cgit v1.2.3

