Adding media

PDF versionPDF version

Adding images

Right-clicking on a text entry field brings up a file selection dialog that you can use to choose an image file. This generates tags of the form <img src="mona-lisa.jpg">.

Adding sounds

Right-clicking can also be used to insert sound files. This generates tags of the form <audio src="a.wav">. To play the sound again, press CTRL+R in the main window. You can also play a part of the audio file, as audio tags support start and stop arguments, e.g. start="1" stop="2"> will play the sound file from 1 to 2 seconds.

Adding LaTeX formulas

LaTeX can render your formulas using tags like <$>x^2+y^2=z^2</$>.

For this, you need LaTeX and dvipng installed. Windows users can download MiKTeX to achieve the same functionality.

Achieving more control over LaTeX

The <$>...</$> tags use LaTeX's inline math environment, but there are two more tags:

  • The <$$>...</$$> tags for centered equations on a separate line (LaTeX's displaymath environment)
  • The <latex>...</latex> tags for code which is not in any environment, but just embedded between a typical latex pre- and postamble.

For even more contol, see the section Advanced preferences to set the preamble, postable and the dvipng command. Important: you should make these changes on all devices you use Mnemosyne on, also on e.g. your phone.

Note: if you have problems with latex under OSX, add a PATH node with value "$PATH:/opt/local/bin" according to the procedure described here.