So I am trying to make a function that takes 14 arguments. Basically it is going to create a tabular that has rows IFF the variable for that row is non empty. Below is a MWE of what I have so far. It has two issues... issue 1 is that if the last rows are empty it still produces little vert lines... issue 2 is that using the hack to let me get more than 14 arguments doesn't seem to work with the equal function and those rows are always present even if empty... thoughts?
I didn't went through your problem in detail and I don't know what you need this for but in general, using one of the key-value-approaches is much more convenient and instructive for functions with that many arguments. If you find it helpful, have a look at the attachment. It's a single-purpose-package I've written once for a quite similar problem using the keyval package. Note that it doesn't rely on any low-level hacking.
I could try that. That still doesn't entirely solve the last row issue. Any thoughts as to why I would be getting two vert lines on the bottom of the table? It seems like it is seeing the if statement and putting the dividers despite having no resulting content from the if statement.