what does [1] and p{#1} mean ?


p is a standard latex array column specifier


means that each cell in the second column is a parbox of width 3cm

Q here is defined as a new column type taking an argument Q{...} where #1 denotes the argument. so Q{3cm} expands to >{\centering\arraybackslash}p{3cm} which is a p column with \centering applied to each cell.

See the array package manual (texdoc array) for more details.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.