Examples

This program uses a script for the creation of the cards, and you can add text, images and some graphics (lines, rectangles and ellipses). Using nanDECK you can add or change graphic elements to a deck (or only some cards) with only some lines of text. The default size of the cards is 6 cm x 9 cm (9 cards for every A4 sheet), but you can customize everything, (even creating chits for wargames). There are over 100 keywords, but for basic tasks you should know only few of them. As an example, this is a script for a deck of 18 cards that can be used for Werewolf:

cards = 18
border = rectangle
font = arial, 28, B, #0000FF
text = 1, “SEER”, 0, 3, 6, 3, center
font = arial, 28, B, #FF0000
text = 2-4, “WEREWOLF”, 0, 3, 6, 3, center
font = arial, 28, B, #000000
text = 5-18, “VILLAGER”, 0, 3, 6, 3, center

cards=18
This keyword sets the number of the cards in the deck.

border=rectangle
This keyword draws a border around all cards.

font = arial, 28, B, #0000FF
font = arial, 28, B, #FF0000
font = arial, 28, B, #000000
These keywords set the font to be used for text, Arial size 28, bold and in three different colors.

text = 1, “SEER”, 0, 3, 6, 3, center
This keyword writes on the 1st card the word “SEER”, in the rectangle from coordinates (0, 3), width 6 and height 3, with center alignment. Note that all coordinates are in cm (but you can use inches with a line UNIT=INCH).

text = 2-4, “WEREWOLF”, 0, 3, 6, 3, center
This keyword writes on the 2nd, 3rd and 4th card the word “WEREWOLF”.

text = 5-18, “VILLAGER”, 0, 3, 6, 3, center
This keyword writes on cards from 5 to 18 the word “VILLAGER”.

A great strength of nanDECK (versus other graphic programs) is the capability to modify an already done deck with a few changes. So if you want to add an image to the top-right angle of every card in the Werewolf deck, you only have to add one line:

image = 1-18, “logo.gif”, 0, 4, 2, 2, 0