A command has been created to fill in a row in the table for ease of use, this command has an optional argument and it would appear that that particular argument messes us the centering of the first column.
I have created a MWE below:
The only table that shows up correctly is the middle one, all the other tables have the first column non centered. In my document I use a 'longtable' however during creation on the MWE I realised that the normal table environment does it too, in some configurations, so I left that in!
Im sure it has something to do with the fact that the command
\tablelineNOTWORKShas an optional parameter, but I don't understand why that would cause a problem.
I can get round this issue by using two commands instead of one clever one with an optional argument but I would still like to know why the problem exists, if possible.
Any ideas anyone?
Many thanks in advance