|
On 11/9/2011 5:26 AM, Prasun wrote:
> Use ' \_ ' to get rid of the subscript
>
> so 'a_bc\_d'
>
> would appear with subscripted b and underscore between c and d
Don't know how old this thread is; only the response showed up here now...
That doesn't really address the question from OP -- he wanted to print
the underscore character w/o TeX interpretation.
The answer for that is to precede it with the '\' character; ie, to
print the special characters used to define the Tex strings when
Interpreter is Tex, prefix them with the backslash "\" character: \\,
\{, \} \_, \^.
If there is no need for TeX interpretation at all, one can save the
extra step by setting the 'interpreter' property to 'none'
>
>
> "Philipp Steffen" wrote in message <iau234$2sg$1@fred.mathworks.com>...
>> Hi all,
>>
>> i would like to set the title of a figure using a string that contains
>> several "_" underscores. Unfortunately, Matlab interprets these
>> underscores in the variable to format the title in such a way that the
>> next character following the underscore is typesetted as subscript.
>> Is there a way to omit this formatting step?
>> I would be grateful for any hints.
>>
>> Thanks a lot,
>>
>> Philipp
|