Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have downloaded a LaTeX template I need to use for a conference submission, which is found here. I presume that the template is well written and compatible with any extra package I want to use.

However, I figured out that it crashes somehow with the colortbl package, just adding \usepackage{colortbl} in the EGauthorGuidelines-body_with_teaser.inc file (included in the template I linked above).

I am getting the following error:

! Missing # inserted in alignment preamble.

to be read again>

\cr

l.44

There should be exactly one # between &'s, when an \halign or \valign is being set up. In this case you had none, so I've put one in; maybe that will work.

Despite this, the final PDF is well generated. However, it is annoying not to know what is exactly going on (plus constantly seeing the red warning sentence everything I compile).

Does anybody know how can I fix this? Is the error due to an error in the template files? Or in the actual package?


EDIT: As the comment below days, looks like the trouble is with the redefinition of tabular inside the class I use. Thus, I update the question. Is there any alternative to colortbl to colorize a table cell?

share|improve this question
3  
Your class redefines \tabular and this is probably the source of the problem (but I didn't test it). –  Ulrike Fischer Dec 3 '13 at 13:13
    
@UlrikeFischer You seem to be right, I've updated my question. Thanks –  Dan Dec 5 '13 at 10:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.