Difference between revisions of "LaTeX in Freeplane"

From Freeplane - free mind mapping and knowledge management software
(LaTeX Text+Formulae in Freeplane >= 1.3.x)
Line 19: Line 19:
 
= LaTeX Text+Formulae in Freeplane >= 1.3.x =
 
= LaTeX Text+Formulae in Freeplane >= 1.3.x =
 
NOTE: This feature has not yet been included in a 1.3.x release.
 
NOTE: This feature has not yet been included in a 1.3.x release.
 
+
[[File:Freeplane LaTeX.jpg|thumb|right]]
 +
<!--
 
See the [http://freeplane.sourceforge.net/wiki/images/0/01/Freeplane_LaTeX.jpg example mindmap].
 
See the [http://freeplane.sourceforge.net/wiki/images/0/01/Freeplane_LaTeX.jpg example mindmap].
 
+
-->
 
* You can tell Freeplane to treat a node as LaTeX text by either:
 
* You can tell Freeplane to treat a node as LaTeX text by either:
 
** using a "\latex " prefix
 
** using a "\latex " prefix

Revision as of 10:59, 12 January 2013

Freeplane 1.2.x supports LaTeX formulae in boxes underneath nodes while Freeplane 1.3.x deprecates those boxes and adds LaTeX directly to node contents. Please see the relevant subsections below.

Thanks to the excellent JLaTeXMath!

LaTeX Formulae in Freeplane 1.2.x

This type of LaTeX formulae in Freeplane is deprecated in Freeplane 1.3.x (the formula boxes will still be displayed and can be edited but you can't add new boxes)! Please see the 1.3.x section below if you're using Freeplane >= 1.3.x.

  • you can add a LaTeX formula to a node by running Edit->Node Extensions->Add LaTeX formula...
  • you can edit a LaTeX formula related to a node by running Edit->Node Extensions->Edit LaTeX formula...
  • you can remove a LaTeX formula by selecting Edit->Node Extensions->Remove LaTeX formula OR by using Edit->Node Extensions->Edit LaTeX formula... and specifying an empty text.
  • by default the LaTeX interpreter is in math mode
  • does not support automatic linebreaks

Example:

x_2=\frac{1}{2}

LaTeX Text+Formulae in Freeplane >= 1.3.x

NOTE: This feature has not yet been included in a 1.3.x release.

Freeplane LaTeX.jpg
  • You can tell Freeplane to treat a node as LaTeX text by either:
    • using a "\latex " prefix
    • View->Properties panel, then Core text->Format->LaTeX
  • by default the LaTeX interpreter is in text mode, so you need to use $...$ for (inline) formulae
  • automatic linebreaks are supported
  • The editor supports LaTeX syntax highlighting

Example:

 \latex my formula: $x_2=\frac{1}{2}$

Known Problems

  • Array environments are maximized on the maximum node width
  • align=right and align=center does not work well

Feedback

Please give us feedback on the 1.3.x solution:

  • How do you like the ways to treat a node as LaTeX?
  • What do you think about the way we deprecate the 1.2.x formulae?
  • Are you missing a feature in JLaTeXMath or JLaTeXMath integration?
  • How do you like the syntax highlighting?