summaryrefslogtreecommitdiff
path: root/inventario.lachesi.tex
diff options
context:
space:
mode:
Diffstat (limited to 'inventario.lachesi.tex')
-rw-r--r--inventario.lachesi.tex60
1 files changed, 1 insertions, 59 deletions
diff --git a/inventario.lachesi.tex b/inventario.lachesi.tex
index 39a734e..ded8e0c 100644
--- a/inventario.lachesi.tex
+++ b/inventario.lachesi.tex
@@ -1,66 +1,8 @@
-\documentclass[a4paper,10pt]{article}
-\usepackage[empty,cm]{fullpage}
-\usepackage[latin1]{inputenc}
-\usepackage[italian]{babel}
-\usepackage[T1]{fontenc}
-\usepackage{pslatex}
-\usepackage{tikz}
-\usetikzlibrary{backgrounds}
-\usetikzlibrary{calc}
+\include{inventario.cmd}
-%%%% fullpage
-\setlength{\headheight}{0pt}
-\setlength{\headsep}{0pt}
-\setlength{\footskip}{0pt}
-\setlength{\textwidth}{\paperwidth}
-\setlength{\oddsidemargin}{-2.68cm}
-\setlength{\evensidemargin}{\oddsidemargin}
-\setlength{\textheight}{\paperheight}
-\setlength{\topmargin}{0pt}
-\addtolength{\topmargin}{-2.68cm}
-%%%%
-\setlength{\parindent}{0pt}
-
-\pgfdeclareimage[width=3cm]{sword}{sword-img}
-\pgfdeclareimage[width=1mm]{empty}{empty}
\pgfdeclareimage[width=3cm]{book-boccob}{book-boccob}
\pgfdeclareimage[width=3cm]{rod-extend}{rod-extend}
-\newcommand{\DDitemhoriz}[7]{%
-\begin{scope}
-
-\node [draw,ultra thin,dotted,rectangle,minimum height=4.8cm,minimum width=7cm,outer sep=0,use as bounding box] (card) {};
-
-\node [anchor=north west,rotate=90] (itemtype) at (node cs:name=card,anchor=south west)
- {#2};
-
-\node [anchor=north east,rotate=90] (itemowner) at (node cs:name=card,anchor=north west)
- {#3};
-
-\node [anchor=south west,rotate=90] (itemweight) at (node cs:name=card,anchor=south east)
- {#4};
-
-\node [anchor=south east,rotate=90] (itemprice) at (node cs:name=card,anchor=north east)
- {#5};
-
-\node [anchor=north,rotate=90] (itemimage) at ($0.5*(node cs:name=itemtype,anchor=south west)+0.5*(node cs:name=itemowner,anchor=south east)$)
- {\pgfuseimage{#1}};
-
-\node [anchor=north,inner sep=1mm,text width=4.6cm,rotate=90]
- (itemname)
- at (node cs:name=itemimage,anchor=south)
- {#6};
-
-\node [anchor=south,inner sep=1mm,text width=4.6cm,rotate=90]
- (itemdesc)
- at ($0.5*(node cs:name=itemweight,anchor=north west)+0.5*(node cs:name=itemprice,anchor=north east)$)
- {#7};
-
-\end{scope}%
-}
-
-\newcommand{\DDitem}[7]{\DDitemhoriz{#1}{#2}{#3}{#4}{#5}{#6}{#7}}
-
\begin{document}
\begin{tikzpicture}