You code is broken. For example:
-
\parbox does not provide an option l but only t, b or c (and s for the innerpos optional argument). See the
usrguide or a introduction to LaTeX for more information.
- The
\ at the end of \parbox[l]{1cm}\ is interpeted as space token and as the argument of the \parbox command. Unfortunately I do not see any intention for the command. So I cannot tell, what the correct code for this would be.
- There are potential white spaces at the definition like the line end after
\def\hoofdingrepetitie#1#2#3#4{ or \hspace{-0.5cm}.
You code is also not a
minimal working example, so we cannot reproduce the problem. And your description of the problem is quite unclear. I think you mean vertically centered inside the
tabular.
Altogether, I can only speculate, that replacing the
\parbox by a
\raisebox with suitable raise value can solve your problem. Perhaps you have also to change or remove the existing
\raisebox. But—as explained—this is only speculation, because the code is incomplete and not working.
Your code is also not
correctly marked as code.
However, with all such mistakes in the code, I fear that the rest of the code is not much better. So I'm sorry but I really hope you will not provide a template with code like this. Unfortunately, published code like the shown is one reason, why so much beginners have so much problems.