20

Is there a package to design playing cards (NOT ONLY POKER and similar card games, but board games like this and that) in TeX (and friends)?

enter image description here

I'm well aware of this one and a half years old topic on drawing cards using TikZ. Almost everything can be drawn in TikZ but I look for functionality to support card design and printing.

Some examples of funcionality I'd love to have:

  • set card size and corner roundedness
  • set paper size independentently
  • automatic or semi-automatic layout (placement of cards on a page) based on margins
  • twoside mode with automatic positioning of card backs
  • ways to define "card templates" (for multiple types of cards in one project)
  • optional dim bordering to help the workphases after printing

I know it can be done using LaTeX, but I hope there is a package to do this for me.

Update: I've found poker.sty but sadly it seems to be limited to "Poker cards" (I don't know what's the proper name for that). For cards like this or this it's almost useless.

  • poker.sty seems to work for "poker cards." It might be of use for anyone only interested in those types of cards. I'm not sure if it can be made to work for more general cards as well. – SnoringFrog Nov 6 '13 at 13:39
  • your points (1), (2), (3) and (5) can be done with TikZ. (4) I don't know yet, but definitively yes. For (6) I need a more detailed explanation, best with a picture. – Tom Bombadil Nov 11 '13 at 19:52
  • @TomBombadil That was my conclusion too, I'm working on it. I will construct some good examples, and edit my question sometime. – masu Nov 11 '13 at 21:28
  • Package labels allows for printing labels, badges and business cards, this might help for the page alignment – Donok Jan 30 '14 at 10:41
4

If you take a look at the documentation of poker.sty, you find that it can generate a full deck of cards. You can download the package here.

You can easily modify this style to display other info on the cards, the style file is pretty straight forward.

Another option might be this style code.

I would suggest you choose either of the two and get back to us with specific questions (round corners etc) when you are modifying the templates : )

1

Although it isn't meant for that purpose, I guess you might find a workaround using the baposter.cls. It has nice options for drawing frames, aligning boxes, etc.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.