Displaying matrices in LaTeX?

24 views
Skip to first unread message

JDelage

unread,
Dec 12, 2018, 10:45:34 PM12/12/18
to mnemosyne-proj-users
All - is anyone here using LaTeX to build matrices in Mnemosyne? If so, how do you do it? I'm now able to show some math in latex, but not matrices. Here is an example:

<latex>$ \vec{v} = \begin{bmatrix} c \\ b \\ a \end{bmatrix} $</latex>

I've tried with one or two "$" signs, but it does not display a matrix. (It works fine if I drop it on a latex simulator like on the quicklatex.com page.)

Thank you for your help.

JD


Peter Bienstman

unread,
Dec 13, 2018, 7:29:48 AM12/13/18
to mnemosyne-...@googlegroups.com

Hi,

 

If you want to include extra latex packages, like \usepackage{amsmath}, you need to edit latex_preamble in config.py inside Mnemosyne’s data directory.

 

Cheers,

 

Peter

--
You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-u...@googlegroups.com.
To post to this group, send email to mnemosyne-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/c16a7b1e-ab8d-48b6-ac83-0169bc8ed12d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Message has been deleted

JDelage

unread,
Dec 13, 2018, 2:43:50 PM12/13/18
to mnemosyne-proj-users
This worked great, thank you!


On Thursday, December 13, 2018 at 4:29:48 AM UTC-8, Peter Bienstman wrote:

Hi,

 

If you want to include extra latex packages, like \usepackage{amsmath}, you need to edit latex_preamble in config.py inside Mnemosyne’s data directory.

 

Cheers,

 

Peter

 

From: mnemosyne-...@googlegroups.com <mnemosyne-...@googlegroups.com> On Behalf Of JDelage
Sent: 13 December 2018 04:46
To: mnemosyne-proj-users <mnemosyne-...@googlegroups.com>
Subject: [mnemosyne-proj-users] Displaying matrices in LaTeX?

 

All - is anyone here using LaTeX to build matrices in Mnemosyne? If so, how do you do it? I'm now able to show some math in latex, but not matrices. Here is an example:

<latex>$ \vec{v} = \begin{bmatrix} c \\ b \\ a \end{bmatrix} $</latex>

 

I've tried with one or two "$" signs, but it does not display a matrix. (It works fine if I drop it on a latex simulator like on the quicklatex.com page.)

 

Thank you for your help.

 

JD

--
You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-users+unsub...@googlegroups.com.
To post to this group, send email to mnemosyne...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages