TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm aiming to make an RPG character sheet in LaTeX, but I'm having a little trouble with the boxes one usually asociates with this kind of thing. Is there a way to individualy frame table cells in some kind of automated manner? The MWE below has the distinct disadvantage that fboxs in different places are not guaranteed to line up.

Any solution would ideally allow the 'Wounds' fbox to be perfectly aligned (possibly with the use of multirow and multicolumn) with the other boxes. Also, more automated than the solution below (so if for some reason a number/description gets to big for a box, the whole sheet doesn't need redesigning).

The closest I've got to what I'm after, MWE example


\newcommand\fpbox[2]{\fbox{\parbox{#1}{\centering #2}}}
\newcommand\fphbox[3]{\fbox{\parbox[c][#1][t]{#2}{\centering #3}}}

\fpbox{1cm}{STR} & \fpbox{0.7cm}{14}& \fpbox{0.7cm}{0} &\fpbox{0.7cm}{0}& \fpbox{0.7cm}{0}\\[\cs]
\fpbox{1cm}{DEX}& \fpbox{0.7cm}{10} &\fpbox{0.7cm}{0} &\fpbox{0.7cm}{0}& \fpbox{0.7cm}{0}\\[\cs]
  \multicolumn{3}{l}{Wounds/Current HP}\\
share|improve this question
I believe that it's easier to do this with Tikz. – Sigur Jan 26 '13 at 18:49
up vote 7 down vote accepted

Not everything has to be a tabular, here's one alternative (a few helper macros could make the input a lot less verbose, depending on requirements)

enter image description here



\noindent X\dotfill X

\divide\unitlength 420



\put(260,60){\makebox(150,20){\textbf{Wounds/Current HP}}}


For example if you add


to the preamble you could enter the text in the boxes as:

share|improve this answer
That is awesome! Is there a way to create a macro such that it calculates all the values based user input? E.g if I \customput{0}{0} it could place a box at (0,0) and (0,4)? The only way I can think of is counters, but then I'd have to create a counter for every instance of the macro (and use the calc package), kind of defeating the point of having the macro. – Nathanael Farley Jan 26 '13 at 22:20
possibly suitable macro added to answer. – David Carlisle Jan 26 '13 at 22:42
That's fantastic. I never knew the picture environment was so versitile! – Nathanael Farley Jan 27 '13 at 0:05

can also be done without a tabular and simple \fbox in a line.


STR && 14 && 0 && 0 && 0 \\\HLine
DEX && 10 && 0 && 0 && 0 \\\HLine
\begin{tabular}{ | p{4cm} |}
\multicolumn{1}{l}{ Wounds/Current HP }\\\hline

enter image description here

and the same without a tabular:


\MB[12mm]{STR} \MB{14} \MB{0} \MB{0} \MB{0} \\[10pt]
\MB[12mm]{DEX} \MB{10} \MB{0} \MB{0} \MB{0}
Wounds/Current HP \\

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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