octave-maintainers
[Top][All Lists]
Advanced

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

Help with TeX parser in text fields


From: Rik
Subject: Help with TeX parser in text fields
Date: Sat, 12 Aug 2017 13:13:38 -0700

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





reply via email to

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