In this example TikZ is used to produce the graphic output of a personality test developed by Prof. Poul Sveistrup.


personality-test

Edit and compile if you like:

% In this document Tikz is used to produce the graphic output of
% personality test by Sveistrup. More on the test (in Danish) here:
% http://www.socsci.auc.dk/samfbasis/kurser/projektarb/2006_7_farvetest.doc
% Author: Rasmus Pank Roulund
\documentclass[DIV=14]{scrartcl}
\pagestyle{empty}
\usepackage{tikz}
\usepackage{fltpoint}
\usepackage{subfig}
%Adding new counters
\newcounter{lenA}\newcounter{lenB}
\newcounter{lenC}\newcounter{lenD}
\newcommand{\svenstrup}[4]{
\setcounter{lenA}{#1}%
\setcounter{lenB}{#2}%
\setcounter{lenC}{#3}%
\setcounter{lenD}{#4}%
\fpMul{\fourAB}{\thelenA}{\thelenB}%
\fpDiv{\threeAB}{\fourAB}{2}%
%
\fpMul{\fourBC}{\thelenB}{\thelenC}%
\fpDiv{\threeBC}{\fourBC}{2}%
%
\fpMul{\fourAD}{\thelenA}{\thelenD}%
\fpDiv{\threeAD}{\fourAD}{2}%
%
\fpMul{\fourCD}{\thelenC}{\thelenD}%
\fpDiv{\threeCD}{\fourCD}{2}%
%
\sffamily
\begin{tikzpicture}[scale=.60]
%Styles are defined.
\tikzstyle{axes}=[]
\tikzstyle{important line}=[very thick]
%Let us lay the grounds.
%grid
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Click to download: personality-test.texpersonality-test.pdf
Open in Overleaf: personality-test.tex