[OS X TeX] Fixed-size table

Themis Matsoukas matsoukas at psu.edu
Wed Sep 13 12:28:55 CEST 2006


On Sep 12, 2006, at 5:46 PM, Alain Schremmer wrote:

> I am using the following table for multiple choice answers.
>
> [...]
>
> The trouble I have is that as soon as I put marks in the "correct"  
> cells, the table changes size: sometimes it gets wider, sometimes  
> it gets shorter. This makes it hard to check the students' answers.
>
> Is there a way that I can freeze the size. I am using \textsf{x} as  
> a mark but need not to.

One approach is to replace
    &    \textbf{a}

with
    &    \makebox[10pt][c]{\textbf{a}}

which will place \textbf{a} inside a 10pt box. Then, all columns will  
be 10pt wide and as long as column entries are no bigger than 10 pt  
(or any other width you choose), column width will remain uniform.

Themis
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list