Strings with overlapping characters

조회 수: 1 (최근 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 CenterFile Exchange에서 Characters and Strings에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by