Why is my table missing a little bit of its vertical rule near the top/right (just below where it says "Sets")?


  1. I'm making fractions worksheets for students, many of whom will have diverse special needs. This makes the vertical rules necessary as it defines where there pencil strokes should go and not go.
  2. I got all the `\paddingtop' stuff from this thread. I do not really understand it, but it has worked well in other documents.







% To create the the paddingtop part... which I don't totally understand.
        \vrule \@height #1
               \@depth  0cm

\newcommand{\paddingtop}[2]{\setarstrut{#1} #2 \\ \restorearstrut}



\begin{tabularx}{24cm}{|C{3cm}|C{2.5cm}|C{7cm}|C{5cm}|Y|} \hline
Words & Symbols & Point \& Length on Number Line & Areas & Sets \\ \hline
Three Halves or one and a half &&&& \\ [1cm]\hline



1 Answer 1


You need another ampersand in the argument to \paddingtop:


entire rule

  • Seriously, that's it? Oh man... I'm pretty new to code and LaTeX and all that stuff... Any tips for helping me catch that type of mistake? Commented Aug 11, 2015 at 23:54
  • @WeCanLearnAnything Not sure really. I just know that when bits of vertical rules are missing in tables, there are 2 common causes: either there are fewer columns in the row than columns in the table, or there's a \multicolumn which forgets to specify that the rule should be used before/after. Don't know if that helps.
    – cfr
    Commented Aug 11, 2015 at 23:58

You must log in to answer this question.

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