Project Releases

LaTeX Pictures 3.03

Release File: LaTeX Pictures 3.03.zip (179.45 KB)
Version: 3.03
Version Date:
Version Major: 3
Version Patch Level: 03
OS Compatibility: Windows Mac-Intel
Release Notes:

Version 3.03 updates URLs pointing to CodeCogs.

LaTeX Pictures 3.02

Release File: LaTeX Pictures 3.02.zip (179.38 KB)
Version: 3.02
Version Date:
Version Major: 3
Version Patch Level: 02
Release Notes:

Version 3.02 fixes font issues identified by jjweimer.

LaTeX Pictures 3.01

Release File: LaTeX Pictures 3.01.zip (179.05 KB)
Version: 3.01
Version Date:
Version Major: 3
Version Patch Level: 01
Release Notes:

Version 3.01 employs a 30-second timeout awaiting response from CodeCogs, instead of waiting forever (which could lock Igor up pretty thoroughly).

LaTex Pictures 3.0

Release File: LaTeX Pictures 3_0.zip (178.99 KB)
Version: 3.0
Version Date:
Version Major: 3
Version Patch Level: 00
OS Compatibility: Windows Mac-Intel
Release Notes:

Version 3.0 has fixes for changes to the CodeCogs equation rendering system, and requires Igor 7 or later. Added PDF support on Windows for Igor 9 or later. Added Copy Picture and Insert Space buttons, removed Comic Sans font.

LaTex Pictures 2.6

Release File: LaTeX Pictures 2.6_1.zip (162.64 KB)
Version: 2.6
Version Date:
Version Major: 2
Version Patch Level: 6
OS Compatibility: Windows Mac-Intel
Release Notes:

Version 2.6 integrates with a newer version of "Tony's Updater" .

LaTeX Pictures 2.5

Release File: LaTeX Pictures 2.5_0.zip (163.03 KB)
Version: 2.5
Version Date:
Version Major: 2
Version Patch Level: 5
OS Compatibility: Windows Mac-Intel
Release Notes:

Version 2.5 integrates with a newer version of "Tony's Updater" .

LaTeX Pictures 2.4

Release File: LaTeX Pictures.zip (162.17 KB)
Version: 2.4
Version Date:
Version Major: 2
Version Patch Level: 4
OS Compatibility: Windows Mac-Intel
Release Notes:

Version 2.4 integrates with "Tony's Updater" .

 

LaTeX Pictures 2.3

Release File: LaTeXPicturesVersion2.3.zip (166.59 KB)
Version: 2.3
Version Date:
Version Major: 2
Version Patch Level: 3
OS Compatibility: Windows Mac-Intel
Release Notes:

Version 2.3 adds Igor 7 compatibility.

LaTeX Pictures 2.2

Release File: LaTeXPicturesVersion2.2.zip (163.05 KB)
Version: 2.2
Version Date:
Version Major: 2
Version Patch Level: 2
OS Compatibility: Windows Mac-Intel
Release Notes:

LaTeX Pictures
Version 2.2
March 26, 2012
 

ABOUT

 


The LaTeX Pictures.ipf and LaTeX Palettes.ipf procedure files implement a user interface for creating high-quality typeset mathematical equations using the LaTeX markup language.

Igor 6.20 or later is required. No installation of any LaTex-related software is required, but an active and working internet connection is. If your copy of Igor can open this url, your internet connection should be fine:

Print FetchURL("http://www.wavemetrics.net")[0,60]

The pictures are rendered by the (apparently free) CodeCogs Equation Editor at:

http://www.codecogs.com/latex/eqneditor.php

(If you find this Igor project useful, please consider giving them a contribution.)

The LaTeX markup is rendered into either PDF or PNG format and inserted into Igor annotations or drawn with DrawPICT (Igor's drawing tools).

 

 

 

REVISION HISTORY


Version 2 adds "palettes" of LaTeX expressions which can be inserted into the LaTeX Pictures panel.
These palettes are stored in the provided Igor binary waves.
The palettes do not contain all possible LaTeX expressions that CodeCogs can render.

Version 2.1 allows the files to be stored in the main Igor Pro Folder's "User Procedures" subfolder.
Version 2.1 also has minor bug fixes to how LaTeX code gets inserted by the palettes, adding a space in some cases to keep the symbols from melding into some Frankensteinian non-LaTeX command.

Version 2.2 restores the readout of the LaTeX for the palette selection that was lost in version 2.1.

 

 

 

 

INSTALLATION

 


Place everything in your Igor Pro 6 Users folder, inside the "User Procedures" subfolder.

Select "Show Igor Pro User Files" from Igor's Help menu.

Move the following items into the now-visible "User Procedures" folder:

 

 

 

 

 


  • LaTeX Palettes (folder)
  • LaTeX Palettes.ipf (procedure file)
  • LaTeX Pictures.ipf (procedure file)

 

 

 

 

LaTeX SYNTAX

 


See the "LaTeX Help" button in the panel and search online for "LaTeX math mode syntax" to learn what kinds of
LaTeX commands will work with this implementation.
(There are some quirks about extra backslashes to get the right number of backslashes through Igor's command language and all the way across the internet to the LaTex renderer.)

 

 

 

 

 

 

USING THE LATEX PICTURES PANEL

 


To open the LaTeX Pictures panel, enter the following in your Igor experiment's Procedure window:

#include "LaTeX Pictures"

Close the Procedure window (or click Compile).
A new LaTeX menu should appear.
Choose "LaTeX Pictures" from the menu.

Either enter the LaTeX markup text directly into the "Enter LaTeX Expression" area or click the "LaTeX Palettes" popup to first load and then select the LaTeX palette(s).

Bring the Graph, Layout (or panel) you want to add the LaTeX picture to to the front, then click either New Annotation (or New DrawPICT).

If you change the LaTeX markup text manually, you'll need to click the Update Picture button, but other settings update immediately if you have LaTeX Auto Update checked in the LaTeX menu.

 

 

 

 

 

 

USING LATEX PALETTES

 


Clicking in a palette inserts the markup into the expressions area. Some markups incorporate the selected text into the result.

For example:

 

 

 

 

 


  • Type "x^2+y^2" into the "Enter LaTeX Expression" area. This is LaTeX markup for exactly what you think it is.
     
  • Now select what you just typed.
     
  • Choose the "Accents and Bars" palette, scroll down to the square root of x+y.
     
  • Click the square root of x+y item.
     
  • Your selection is transformed into "\sqrt{x^2+y^2}", and the resulting picture is shown.

 


If you look at the bottom of the "Accents and Bars" palette, you'll see that the LaTeX markup is shown as "\sqrt{#x+y#}", which is non-standard LaTeX.

I've used the # symbol to delimit the part that gets replaced by the selected text. (If there's no selection only the # symbols are removed.)

 

 

 

 

 

CUSTOMIZING LATEX PALETTES

 


You can make your own palettes or amend the palettes I've provided. The LaTeX Palettes procedure has a ShowLaTeXPaletteCreator() function that implements a VERY rudimentary interface.

Adding rows and columns or rearranging items is best done with the "Show LaTeX Table" button. Enter the LaTeX into the table, then re-select the "category" (palette) to fix the listbox selection wave.

Don't forget to add # characters around what should be replaced by any current selection.

Click the "Render all Cells from Plane 1" to render all the markup to CodeCogs (the resulting pictures are stored in Plane 0).

 

 

 

 

 

COMPATIBILITY

 


PNG is most compatible between Macintosh and Windows; PDF is supported by Igor only Macintosh.

Because PNG is only a bitmap format, you might want to render a large bitmap and shrink it down to preserve sharpness when printing at high resolution. That's what the "Shrink DrawPICTs by" setting is for.

 

 

 

LaTeX Pictures 2.1

Release File: LaTeXPicturesVersion2.1.zip (162.96 KB)
Version: 2.1
Version Date:
Version Major: 2
Version Patch Level: 1
OS Compatibility: Windows Mac-Intel
Release Notes:

LaTeX Pictures
Version 2.1
March 8, 2012
 

ABOUT

 


The LaTeX Pictures.ipf and LaTeX Palettes.ipf procedure files implement a user interface for creating high-quality typeset mathematical equations using the LaTeX markup language.

Igor 6.20 or later is required. No installation of any LaTex-related software is required, but an active and working internet connection is. If your copy of Igor can open this url, your internet connection should be fine:

Print FetchURL("http://www.wavemetrics.net")[0,60]

The pictures are rendered by the (apparently free) CodeCogs Equation Editor at:

http://www.codecogs.com/latex/eqneditor.php

(If you find this Igor project useful, please consider giving them a contribution.)

The LaTeX markup is rendered into either PDF or PNG format and inserted into Igor annotations or drawn with DrawPICT (Igor's drawing tools).

Version 2 adds "palettes" of LaTeX expressions which can be inserted into the LaTeX Pictures panel.

Version 2.1 allows the files to be stored in the main Igor Pro Folder's "User Procedures" subfolder.
Version 2.1 also has minor bug fixes to how LaTeX code gets inserted by the palettes, adding a space in some cases to keep the symbols from melding into some Frankensteinian non-LaTeX command.

These palettes are stored in the provided Igor binary waves.

The palettes do not contain all possible LaTeX expressions that CodeCogs can render.

See the "LaTeX Help" button in the panel and search online for "LaTeX math mode syntax" to learn what kinds of LaTeX commands will work with this implementation. (There are some quirks about extra backslashes to get the right number of backslashes through Igor's command language and all the way across the internet to the LaTex renderer.)

 

 

 

INSTALLATION

 


Place everything in your Igor Pro 6 Users folder, inside the "User Procedures" subfolder.

Select "Show Igor Pro User Files" from Igor's Help menu.

Move the following items into the now-visible "User Procedures" folder:

 

 

 

 

 


  • LaTeX Palettes (folder)
  • LaTeX Palettes.ipf (procedure file)
  • LaTeX Pictures.ipf (procedure file)

 

 

 

 

USING THE LATEX PICTURES PANEL

 


To open the LaTeX Pictures panel, enter the following in your Igor experiment's Procedure window:

#include "LaTeX Pictures"

Close the Procedure window (or click Compile).
A new LaTeX menu should appear.
Choose "LaTeX Pictures" from the menu.

Either enter the LaTeX markup text directly into the "Enter LaTeX Expression" area or click the "LaTeX Palettes" popup to first load and then select the LaTeX palette(s).

Bring the Graph, Layout (or panel) you want to add the LaTeX picture to to the front, then click either New Annotation (or New DrawPICT).

If you change the LaTeX markup text manually, you'll need to click the Update Picture button, but other settings update immediately if you have LaTeX Auto Update checked in the LaTeX menu.

 

 

 

 

 

USING LATEX PALETTES

 


Clicking in a palette inserts the markup into the expressions area. Some markups incorporate the selected text into the result.

For example:

 

 

 

 

 


  • Type "x^2+y^2" into the "Enter LaTeX Expression" area. This is LaTeX markup for exactly what you think it is.
     
  • Now select what you just typed.
     
  • Choose the "Accents and Bars" palette, scroll down to the square root of x+y.
     
  • Click the square root of x+y item.
     
  • Your selection is transformed into "\sqrt{x^2+y^2}", and the resulting picture is shown.

 


If you look at the bottom of the "Accents and Bars" palette, you'll see that the LaTeX markup is shown as "\sqrt{#x+y#}", which is non-standard LaTeX.

I've used the # symbol to delimit the part that gets replaced by the selected text. (If there's no selection only the # symbols are removed.)

 

 

 

 

 

CUSTOMIZING LATEX PALETTES

 


You can make your own palettes or amend the palettes I've provided. The LaTeX Palettes procedure has a ShowLaTeXPaletteCreator() function that implements a VERY rudimentary interface.

Adding rows and columns or rearranging items is best done with the "Show LaTeX Table" button. Enter the LaTeX into the table, then re-select the "category" (palette) to fix the listbox selection wave.

Don't forget to add # characters around what should be replaced by any current selection.

Click the "Render all Cells from Plane 1" to render all the markup to CodeCogs (the resulting pictures are stored in Plane 0).

 

 

 

 

 

COMPATIBILITY

 


PNG is most compatible between Macintosh and Windows; PDF is supported by Igor only Macintosh.

Because PNG is only a bitmap format, you might want to render a large bitmap and shrink it down to preserve sharpness when printing at high resolution. That's what the "Shrink DrawPICTs by" setting is for.

 

 

 

LaTeX Pictures 2.0

Release File: LaTeXPicturesVersion2.zip (162.41 KB)
Version: 2.0
Version Date:
Version Major: 2
Version Patch Level: 0
OS Compatibility: Windows Mac-Intel
Release Notes:

LaTeX Pictures
Version 2.0
February 29, 2012
 

ABOUT

 


The LaTeX Pictures.ipf and LaTeX Palettes.ipf procedure files implement a user interface for creating high-quality typeset mathematical equations using the LaTeX markup language.

Igor 6.20 or later is required. No installation of any LaTex-related software is required, but an active and working internet connection is. If your copy of Igor can open this url, your internet connection should be fine:

Print FetchURL("http://www.wavemetrics.net")[0,60]

The pictures are rendered by the (apparently free) CodeCogs Equation Editor at:

http://www.codecogs.com/latex/eqneditor.php

(If you find this Igor project useful, please consider giving them a contribution.)

The LaTeX markup is rendered into either PDF or PNG format and inserted into Igor annotations or drawn with DrawPICT (Igor's drawing tools).

Version 2 adds "palettes" of LaTeX expressions which can be inserted into the LaTeX Pictures panel.

These palettes are stored in the provided Igor binary waves.

The palettes do not contain all possible LaTeX expressions that CodeCogs can render.

See the "LaTeX Help" button in the panel and search online for "LaTeX math mode syntax" to learn what kinds of LaTeX commands will work with this implementation. (There are some quirks about extra backslashes to get the right number of backslashes through Igor's command language and all the way across the internet to the LaTex renderer.)

 

 

 

INSTALLATION

 


Place everything in your Igor Pro 6 Users folder, in the "User Procedures" subfolder.

Select "Show Igor Pro User Files" from Igor's Help menu.

Move the following items into the now-visible "User Procedures" folder:

 

 

 

 

 


  • LaTeX Palettes (folder)
  • LaTeX Palettes.ipf (procedure file)
  • LaTeX Pictures.ipf (procedure file)

 

 

 

 

USING THE LATEX PICTURES PANEL

 


To open the LaTeX Pictures panel, enter the following in your Igor experiment's Procedure window:

#include "LaTeX Pictures"

Close the Procedure window (or click Compile).
A new LaTeX menu should appear.
Choose "LaTeX Pictures" from the menu.

Either enter the LaTeX markup text directly into the "Enter LaTeX Expression" area or click the "LaTeX Palettes" popup to first load and then select the LaTeX palette(s).

Bring the Graph, Layout (or panel) you want to add the LaTeX picture to to the front, then click either New Annotation (or New DrawPICT).

If you change the LaTeX markup text manually, you'll need to click the Update Picture button, but other settings update immediately if you have LaTeX Auto Update checked in the LaTeX menu.

 

 

 

 

 

USING LATEX PALETTES

 


Clicking in a palette inserts the markup into the expressions area. Some markups incorporate the selected text into the result.

For example:

 

 

 

 

 


  • Type "x^2+y^2" into the "Enter LaTeX Expression" area. This is LaTeX markup for exactly what you think it is.
     
  • Now select what you just typed.
     
  • Choose the "Accents and Bars" palette, scroll down to the square root of x+y.
     
  • Click the square root of x+y item.
     
  • Your selection is transformed into "\sqrt{x^2+y^2}", and the resulting picture is shown.

 


If you look at the bottom of the "Accents and Bars" palette, you'll see that the LaTeX markup is shown as "\sqrt{#x+y#}", which is non-standard LaTeX.

I've used the # symbol to delimit the part that gets replaced by the selected text. (If there's no selection only the # symbols are removed.)

 

 

 

 

 

CUSTOMIZING LATEX PALETTES

 


You can make your own palettes or amend the palettes I've provided. The LaTeX Palettes procedure has a ShowLaTeXPaletteCreator() function that implements a VERY rudimentary interface.

Adding rows and columns or rearranging items is best done with the "Show LaTeX Table" button. Enter the LaTeX into the table, then re-select the "category" (palette) to fix the listbox selection wave.

Don't forget to add # characters around what should be replaced by any current selection.

Click the "Render all Cells from Plane 1" to render all the markup to CodeCogs (the resulting pictures are stored in Plane 0).

 

 

 

 

 

COMPATIBILITY

 


PNG is most compatible between Macintosh and Windows; PDF is supported by Igor only Macintosh.

Because PNG is only a bitmap format, you might want to render a large bitmap and shrink it down to preserve sharpness when printing at high resolution. That's what the "Shrink DrawPICTs by" setting is for.

 

 

 

LaTeX Pictures 1.0

Release File: LaTeX Pictures.ipf (26.72 KB)
Version: 1.0
Version Date:
Version Major: 1
Version Patch Level: 0
OS Compatibility: Windows Mac-Intel
Release Notes:

The LaTeX Pictures.ipf procedure file implements a "LaTeX Pictures" panel which uses a web site to render LaTeX math equations into PNG bitmaps. Igor 6.20 or later is required.

This version generates only PNG pictures that can be drawn in Igor annotations and with DrawPICT (Igor's drawing tools).

This is mostly a proof-of-concept project that would be improved by finding or establishing an online LaTeX-to-PDF renderer to provide high-resolution equations.

See the "LaTeX Help" button in the panel and search online for "LaTeX math mode syntax" to learn what kinds of LaTeX commands will work with this implementation. (There are some quirks about extra backslashes to get the right number of backslashes through Igor's command language and all the way across the internet to the LaTex renderer.)

It is conceivable that in the future this panel can be extended to use PDF format for high resolution, if I can figure out how to generate a PDF that isn't tied to a page size. I know how LaTeXIt does it, and it doesn't look easy.

It does not require the installation of any LaTex-related software on your computer. I think this is actually quite a good thing.

The images are rendered by the (apparently free) "Roger's Online Equation Editor" at:
 


http://rogercortesi.com/eqn/index.php

 


Let me take this opportunity to recommend LaTeXIt for Macintosh. LaTeXIt gets the PDF sizing right, and has a terrific user interface:

 

 


http://www.chachatelier.fr/latexit/

 

 

 

Installation


The LaTeX Pictures.ipf procedure file should be moved to Igor's User Procedures folder, and used by placing

 

 

 

 

 

 

#include "LaTeX Pictures"

 



in your experiment's procedure window.

This adds a "LaTeX Pictures" item to Igor's "Misc" menu.

 

Forum

Support

Gallery

Igor Pro 9

Learn More

Igor XOP Toolkit

Learn More

Igor NIDAQ Tools MX

Learn More