8.9.5 Inserting OLE Objects in Graphs (and Layouts)


OH insert OLE object graph.png

Insert Equation

From version 2023b, Origin builds in a SVG-based LaTeX equation tool. This new Insert Equation tool does not require users to manually install any extra libraries or softwares. All it needs is MathJax JS library, which is shipped with Origin (files in <Origin ProgramData folder>\JS\MathJax\). On the other hand, the old Insert Equation tool requires Mathtype or Microsoft’s Equation editor installed and the add-on LaTeX App also requires MiKTex installed to use.

To insert equation to Graph or Layout page

(a) Click Insert Equation buttons on Tools toolbar, or
(b) Select menu Insert: LaTeX Equation, or
(c) Right click in Graph page and select Insert LaTeX Equation from context menu, or
(d) For mixed text and LaTeX equation, add a Text object to the graph. Double click to enter in-place edit mode. Right click and select Insert: LaTeX Equation from the context menu.

A LaTeX Equation Editor will open allowing you to enter the Latex equation in the top edit box and preview it rendered in the bottom panel.

Latex Equation Editor dialog.png

Tips...

Paste LaTeX.gif
  1. Double click on the text object to enter in-place edit mode.
  2. Right click and select Insert: LaTeX Equation from context menu, or press Ctrl + L to open the LaTeX Equation Editor.
    Note that LaTeX equation inserted into worksheet column label rows (e.g. Long Name, Unit and Comments) will be auto-rendered in axis title and legend.
Insert LaTeX equation tograph objects.png

If you want to use MathType to insert equation,

  • please use Insert Object button Button Insert Object.png. See details in below section. Or,
  • you can set system variable @MKX = 1 and @IEE = -1 to back to the old behavior.

Lear more methods to insert equation in Origin, please refer to this FAQ.

LaTex Extensions

Latex Extensions dialog.png

There may be some complex syntax/symbol that is not supported by MathJax extensions, e.g. some chemical figure suported by chemfig MiKTex extension. For such needs, please try

OR,

Insert other OLE object

Note: To make use of these Tools toolbar buttons, you must have the supporting application(s) (e.g. MS Word) installed to your PC.

Insert other OLE object to Graph or Layout page