octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with TeX parser in text fields


From: siko1056
Subject: Re: Help with TeX parser in text fields
Date: Mon, 14 Aug 2017 01:20:20 -0700 (PDT)

Rik-4 wrote
> Could someone with access to Matlab run the following code and send me the
> resulting pdf?
> 
> ---Code tst_texparse.m ---
> clf;
> text (0.5, 0.4, '--]{\bf[0 spaces}', 'interpreter', 'tex');
> text (0.5, 0.3, '--]{\bf [1 spaces}', 'interpreter', 'tex');
> text (0.5, 0.2, '--]{\bf  [2 spaces}', 'interpreter', 'tex');
> text (0.5, 0.1, '--]{\bf   [3 spaces}', 'interpreter', 'tex');
> print ('tst_texparse.pdf', '-dpdf');
> ---End Code ---
> 
> I'm trying to determine whether the TeX parser for ignores the initial
> space after a backslash command such as \bf for bold font.  The code is
> more legible if the command can be separated from the text it operates on,
> but we do have to maintain compatibility.
> 
> Thanks,
> Rik

Attached the output of R2017a:  tst_texparse.pdf
<http://octave.1599824.n4.nabble.com/file/n4684441/tst_texparse.pdf>  

Best,
Kai



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Help-with-TeX-parser-in-text-fields-tp4684436p4684441.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]