Home > general > string_fun > mktex.m

mktex

PURPOSE ^

MKTEX Make char string into valid LaTeX string.

SYNOPSIS ^

function strout = mktex(strin);

DESCRIPTION ^

MKTEX   Make char string into valid LaTeX string.

 strout = mktex(strin)

 Replaces following in string strin:

 '\'  becomes '\\'
 '_'  becomes '\_'
 '^'  becomes '\^'

 such that strout can be used as a LaTeX name, as in 
 TITLE of XLABEL for instance, without having to 
 put the interpeter property to off to avoid interpretation
 into sub- and supertext.

 See also: ISLETTER, MKVAR, MKHTML

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Mon 29-Nov-2010 15:42:51 by m2html © 2005