implement charsize calculation for TikZ terminal
normalise naming of counters and dimensions