I'm having some difficulty TexForming a list. The output is not what I want.
The following is a minimum working example. I've tried every combination of Flatten, ArrayReshape, and Partition to no avail. I have the following variable list
, that I'm trying to put into the following LaTeX form.
$$ \textrm{list} = \{ \{ a \to b \} , \{ c \to d \} \} $$
Hopeful LaTeX form output:
$$ \begin{pmatrix} a \to b \\ c \to d \end{pmatrix} $$
What I've been able to get: $$ \begin{pmatrix} \{ a \to b \} \\ \{ c \to d \} \end{pmatrix} $$
(Can't remember how I got that).