TransWikia.com

How to type matrices as options in a Multiple choice question paper?

TeX - LaTeX Asked by Dr. Renjith Raveendran Pillai on April 13, 2021

I want to set a multiple choice question paper for a series test on matrices and determinants. In some of the questions I have to give matrices as options.
For other options I am using

begin{oneparchoices}
choice
end{oneparchoices}

One Answer

Something like this?

documentclass{exam}
usepackage{amsmath}
newenvironment{smallpmatrix}{%
    bigl(begin{smallmatrix}%
    }{%
    end{smallmatrix}bigr)%
}
begin{document}
begin{questions}
    question Question with regular matrices.
    begin{oneparchoices}
        choice $begin{pmatrix} a & b  c & d end{pmatrix}$
        choice $begin{pmatrix} alpha & beta  gamma & delta end{pmatrix}$
    end{oneparchoices}
    question Question with smaller matrices.
    begin{oneparchoices}
        choice $begin{smallpmatrix} a & b  c & d end{smallpmatrix}$
        choice $begin{smallpmatrix} alpha & beta  gamma & delta end{smallpmatrix}$
    end{oneparchoices}
end{questions}
end{document}

Answered by Vincent on April 13, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP