String x

From Eigenvector Documentation Wiki

Jump to: navigation, search

Contents

Purpose

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

Views
Personal tools