D&D Item Card Template for LaTeX

Hey there programmers, I know this is a more markup/typesetting deal, but I thought there might be people who are interested. After being dissapointed with many of the options out there for making ttrpg item cards, I made a LaTeX template for that exact purpose. I wanted it to be relatively easy to use, generate clean images, and be (semi) form fillable. The cards scale in height with the quantity of text given and image size, so users don't need to finagle with the box dimensions too much, and all card sections (generated by custom commands) can either be commented out or toggled off if they aren't relevant to the item.

If there are any people familiar with TeX who have thoughts or constructive criticism, I would love to get some more eyes on this. I have already posted this in the relavant ttrpg areas, but I am hoping people here might have more technical critiques. I have already gotten feedback that a setting for fixed dimensions would be smart in case players want to get card sleeves or a card binder, and want to make a back side for longer item descriptions, which I will work into V2.

Here is an example of a completed card with all the trimmings: Staff of the Jackal Lord

Thanks to anyone who takes the time to check it out, and if anyone uses it, please let me know what you think!


I use LaTeX almost every day for typesetting, and I had no idea you could use it for this complex of graphical representation! This is awesome.

drailin avatar

It was funky and felt distinctly un-LaTeX with the pdf cropping and graphic declarations, but was super fun. Way different from academic writing or even hobby typesetting with normal, pre-made classes (the DnD 5e LaTeX Template by rpgtex is a gamechanger for homebrewed dnd content and was the catalyst for this). The standalone document class is really weird to work with, and using tcolorboxes as the main document content feels like I am fitting a square peg into a non-euclidean hole, but it is still working!

I am just glad I decided to use LaTeX and not python for this.


How much I do love those fonts. That proper spacing and balancing… It will always a place in my heart and I fear the day that I will fail to recognize it!

drailin avatar

They are, and will always be, iconic. I only used one other source when making this, mainly for the font pack and the potential to add a texture map to the text block in lieu of solid gray.

@Butterbee@beehaw.org avatar

Hey this looks super cool! I don’t know LaTeX or TeX, nor am I a programmer, but I do play D&D and would love to be able to make some item cards for my group. Any tips on getting started aside from the obvious of looking up what on earth LaTeX is and how to use it?

drailin avatar

LaTeX is a typeset that is written in plain text with Markup language. Word, docs, acrobat are all WYSIWYG (what you see is what you get) editors, so you type the words and use toolbars to edit formatting. In markup, what you write is what you get: you type everything, including the commands for alignment, spacing, etc. It makes control and customization of your document easier. If you ever have tried to use MS Word to make a good looking equation and wanted to die when it messed up your images and spacing 10 pages back, markup typesetting is the solution.

My tip would be to find a few templates on overleaf that you might find useful and just mess around and try to come up with what you want to see. Could be for work documents, could be for a hobby, whatever. Overleaf, the website I shared this project on, is great because it handles the backend stuff like compiling, software installs, etc. and allows you to easily copy templates over from premade projects in the gallery.

I learned to use it for writing scientific publications, but eventually I used it for all my homework, making 'official' looking DnD content, keeping a log of my work; basically most documents that are longer than 1 page. It is particularly good for science and math writing, but is almost as versatile as HTML for whatever you want to make.

@Butterbee@beehaw.org avatar

Thanks for the tips!


It’s a really great system for writing technical documents. I used it a ton in college for my research papers.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • programming@beehaw.org
  • rhentai
  • magazineikmin
  • thenastyranch
  • InstantRegret
  • Youngstown
  • rosin
  • Durango
  • slotface
  • Leos
  • khanakhh
  • kavyap
  • mdbf
  • DreamBathrooms
  • everett
  • bokunoheroacademia
  • cisconetworking
  • osvaldo12
  • ethstaker
  • tacticalgear
  • lostlight
  • GTA5RPClips
  • cubers
  • tester
  • normalnudes
  • relationshipadvice
  • modclub
  • HellsKitchen
  • sketchdaily
  • All magazines