File Exchange > Graphing >    LaTeX

Author:
OriginLab Technical Support
Date Added:
2/12/2016
Last Update:
12/30/2019
Downloads (90 Days):
11162
Total Ratings:
37
File Size:
22 KB
Average Rating:
File Name:
LaTeX.opx
File Version:
2.3
Minimum Versions:
License:
Free
Summary:

Insert LaTeX objects in worksheet cells, graph axes titles, legends and text labels.

Screen Shot and Video:
Description:

Purpose:
This app can be used to insert LaTeX objects in worksheet cells, graph axes titles, legends and text labels.

 

NEW App Features in version 2.0 (requires Origin 2017):

Installing and using the LaTeX App version 2.0 in Origin 2017 allows for the following features:

  • Insert a LaTeX object into worksheet column label row cells, axis titles, and legends.
  • Arbitrary text labels on either graphs or worksheets.
  • Easily generate the LaTeX markup for built-in fitting functions via a button in the App dialog

 

Installing the LaTex App allows you to also add LaTeX objects to worksheet column label rows, graph axis titles, and graph legends. Also, you can add the LaTeX markup for all built-in fitting functions via a simple click of a button in the App dialog.

 

Installation:

Prerequisite: 

You must have the following installed on your computer before you can use this App:

  1. MiKTeX
    You can download MiKTeX from: http://miktex.org/download.
    Note: During MikTex installation, choose All Users (default) instead of This User Only.
  2. OAutotrace
    You can download OAutotrace from our OAutotrace page.

After installing the aforementioned components:

  • Restart Origin if already running.
  • Download the file LaTex.opx from this page, and then drag-and-drop the file onto the Origin workspace. An icon will appear in the Apps Gallery window.

Note:

  • App version 1.71 or later requires Origin 2017 SR0
  • App version 1.4 requires Origin 2016 SR2
  • If you have installed the earlier version v1.2 of this App,  please follow these steps:
    • Uninstall the App (right-click on the icon and select Uninstall)
    • Close Origin
    • Navigate to the user folder, such as:
      C:\Users\<User Name>\AppData\Local\OriginLab\93\TMP\textemp\,
    • Delete the temp files
    • Restart Origin and then install the new version of the App

Operation:

  1. With a graph window active, click the "LaTex" icon from Apps Gallery window and the LaTex Equation Editor dialog will open.
  2. Input LaTex script in Equation edit box. Click the Preview button to preview the result .
  3. Click OK button to insert the equation into the active graph window.
  4. To modify the equation, you can double click on the inserted equation to re-open the editor.

Additional Notes:

  • The equation in the graph can be rotated, and the color can be changed using the Format toolbar.
  • Exporting the graph as EPS or PDF will maintain the equation as a vector object.
  • When clicking the Preview button for the first time, you will experience an extended delay (perhaps in excess of a minute) as the App fetches additional packages from the internet. The update status is shown on the Origin Status Bar at the bottom of your workspace. This delay will occur only on first time use. Subsequent operations will be much faster.

Learn More:

This blog post highlights new features for the App in Origin 2017 including adding LaTeX objects to worksheet column label rows, graph axis titles, and graph legends:

http://blog.originlab.com/graphing/latex-improvements-in-origin-2017

The following blog post provides more information about installing and using the App:

http://blog.originlab.com/graphing/introducing-the-latex-app

To learn more about the important improvements in version 1.4, read this blog post:

http://blog.originlab.com/graphing/the-improved-latex-app-version-1-4

If you begin to have issues generating output with markup that is known to work, or if you want to delete temporary files and free up disk space, see this blog post:

 

 

Updates:

v 2.3: 12/30/2019 Updated to make it compatible with Origin 2017 and 2018.
v 2.2: 9/29/2019 Updated error message.
v 2.1: 8/14/2018 Updated Chinese version's dialog.
v 2.0: Insert LaTeX objects in worksheet cells, graph axes titles, legends and text labels.
v 1.4: Improved handling of temporary files created by the App
v 1.4: Allows additional LaTeX commands including full documents

Reviews and Comments:
01/29/2021oi372Follow up:

I re-installed OAutoTrace using the *.msi version instead of the *.exe version. It seems to work now!

01/29/2021oi372I have the same problem as Thomas. Whenever I type LaTex code Origin shows me an error message that the tracing failed. I installed MikTex and OAutoTrace before installing the app. The app is recognized but it fails to render the LaTex code. I run Origin 2017 64bit b9.4.0220.

I received the following error message:
[01/29/2021 09:35:35]
SYSTEM.FONT.TRANSPARENCY: object property not found!
SYSTEM.LEGEND.TRANSPARENCY: object property not found!
Failed to execute Autotrace. Please contact OriginLab.

Looking forward to hear from you.

Kind regards

01/28/2021OriginLabHi ThomasKure,
Please make sure that you have install MiKTex and OAutotrace like the Prerequisite section above.
If it still doesn’t work, could you please tell which version you are using and what the error message is?

Regards, OriginLab Technical Support

01/27/2021ThomasKureDoes not work (Tracing failed!). Preview is working but I get an error in the end. Already checked FAQ-982 and the solutions but none of the helped.

01/11/2021julia.nofoente希望后续更新texlive版本的

01/08/2021sreekaroriginVery much needed app for generating aesthetic graphs needing mathematical typesetting

11/20/2020originlabHi Shuliang Xu, please make sure that you are using Origin 2017 and later versions, then read the description above and check if you installed the app correctly and use the app properly. If you still have any questions or issues, please feel free to leave your comment.
Peace & Love,
OriginLab Technical Support.

11/20/2020Shuliang Xu毫无价值,总是输不出公式,垃圾插件!!!

10/19/2020汪晨 

10/13/2020  

1234