String x and File:T1267-f6.jpg: Difference between pages

From Eigenvector Research Documentation Wiki
(Difference between pages)
Jump to navigation Jump to search
imported>Jeremy
(New page: ===Purpose=== Add backslash before troublesome TeX characters. ===Synopsis=== :safestring = string_x(string); ===Description=== The TeX interpreter is used on various text objects in fi...)
 
imported>Benjamin
(Working with False-color images, figure 6.)
 
Line 1: Line 1:
===Purpose===
Working with False-color images, figure 6.
Add backslash before troublesome TeX characters.
 
===Synopsis===
:safestring = string_x(string);
 
===Description===
 
The TeX interpreter is used on various text objects in figures to add subscripts, superscripts and other special effects to text. These effects are triggered by special characters in strings. string_x "escapes" these special characters to keep them from being handled by the TeX interpreter. An escaping backslash is added before each of these characters: _ ^ { }
====Inputs====
* '''string''' = a string to clean
 
====Outputs====
* '''safestring''' = the backslashed string
 
===See Also===

Revision as of 14:21, 12 May 2017

Working with False-color images, figure 6.