I have a table where I have to execute the same command for every entry in the table. For example:
\ibibleverse{Matthew}(1:1) & \ibibleverse{Mark}(1:1) & \ibibleverse{Luke}(1:1) \\
\ibibleverse{Matthew}(1:2) & \ibibleverse{Mark}(1:2) & \ibibleverse{Luke}(1:2) \\
\ibibleverse{Matthew}(1:3) & \ibibleverse{Mark}(1:3) & \ibibleverse{Luke}(1:3) \etc.
Is there a way that I can make every entry in the column automatically execute the \ibibleverse command so that my table syntax can look like this instead:
1:1 & 1:1 & 1:1 \\
1:2 & 1:2 & 1:2 \\
1:3 & 1:3 & 1:3 \
The parentheses are part of the \ibibleverse command. The full command looks like \ibibleverse{Matthew}(1:1) and outputs "Matthew 1:1".
Of course, the header of the table should not have the \ibibleverse command.
Does this even make sense? Is it possible without repeating, by hand, \ibibleverse so many times?




\ibibleversecommand. Please see modified question. I like this answer otherwise. – jlconlin Jun 14 '12 at 04:51\ibibleverse, as it is not clear to me what exactly the problem is. As I see it now, you can just replace the dash in my definition of\ibibleversewith a space. – Peter Grill Jun 14 '12 at 04:57