I'm trying to write a paper for university and it involves using poker cards in latex. I'm using the Poker MIT Package:


provides the poker.sty file required, and the page


gives some help for people like me who aren't great with latex. In this second document, on page 4, the author writes: "Then you can change the options used with the command


anywhere within the document." I have no idea how to use this and have tried fiddling about with it hoping it would work but with zero success. Available options are listed just below this on page 4, and I'd very much like to change from the default.

Could someone who's not a total noob please provide me with a sample implementation of the above to change the options? I really need the inline option set to symbol.

Thanks in advance!

  • 3
    Just a sidenote: everyone needs package documentation -- don't feel inferior for reading it <3 Commented Mar 29, 2016 at 15:42
  • 2
    Also, welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. Commented Mar 29, 2016 at 15:42

1 Answer 1


The package 'documentation' is really short, in my point of view, but looking into poker.sty the solution is very obvious

% omitted here by C.H. 

The relevant key is inline and is a choice - key, having only the allowed values symbol, boxed, card.

Use inline=symbol -- the initial default is card (set at the end of the package.)

It's possible to use \setkeys{poker}{...} at any place in the document, to change the decks/style etc.

Please be aware that the poker package relies on PostScript, so use latex, not pdflatex to compile this document.

Since the compilation fails for boxed style, I don't provide code for this.







enter image description here

  • Thank you very much, perfect solution. I've switched from using overleaf.com to TexMaker and compiling using XeLaTeX so that I can use the package, hopefully no more problems. Thanks again!
    – Conor
    Commented Mar 29, 2016 at 15:54
  • @Conor: You're welcome. It's always better to drop such Online Editors and use the local variant, in my point of view. Happy TeXing.
    – user31729
    Commented Mar 29, 2016 at 15:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .