Strings with overlapping characters

5 ビュー (過去 30 日間)
v k
v k 2020 年 11 月 8 日
コメント済み: v k 2020 年 11 月 9 日
Hello,
Is it possible to have a negative space between the characters while concatenating a string? For example,
a1='a'
a2='b'
c=strcat(a1,a2)
ans
='ab'
But with negative spacing between the two strings, the characters 'a' and 'b' will overlap so that 'a' goes inside the circular part of b, instead of 'a' and 'b' getting placed side-by-side resulting in 'ab'.
Thanks.

採用された回答

Walter Roberson
Walter Roberson 2020 年 11 月 8 日
No. Characters are code-points. Shapes of characters and spacing rules are presentation matters, usually listed as "font" information. This is similar to the fact that bold and underline and character colors are not part of unicode.
  2 件のコメント
v k
v k 2020 年 11 月 8 日
Wow! Thanks for letting me know that someone else also had this particular requirement ...
v k
v k 2020 年 11 月 9 日
If possible, please try to give a solution for printing the unicode U+103A to matlab figure:
Many thanks.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCharacters and Strings についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by