Closed bartsnapp closed 10 years ago
Can we get a working version of matrixAnswer in the main example document (so in either firstExample or secondExample)?
I can't seem to make a matrixAnswer work, but maybe I don't understand the intended syntax.
On Fri, Aug 22, 2014 at 7:58 PM, Bart Snapp notifications@github.com wrote:
matrixAnswer should hide in handout mode.
— Reply to this email directly or view it on GitHub https://github.com/bartsnapp/ximeraLatex/issues/9.
Ah! Here is the correct syntax:
\begin{matrixAnswer}[name=M] correctMatrix = [['x','y'],['xy','z+1']] \end{matrixAnswer}
if you forget the "name=M" (or what ever you want the matrix to be named, it barfs.... perhaps we should make that somehow optional?
I added an example to firstExample
matrixAnswer should now hide in handout mode.
I implemented this in a different way than the other commands that hide in handout mode, which might be easier to read and keep track of. I used the \excludecomment command from the comment package, and put this in one large "ifhandout" block rather than having if statements inside the command definition.
On Mon, Aug 25, 2014 at 2:16 PM, Bart Snapp notifications@github.com wrote:
I added an example to firstExample
— Reply to this email directly or view it on GitHub https://github.com/bartsnapp/ximeraLatex/issues/9#issuecomment-53304922.
matrixAnswer should hide in handout mode.