Filter löschen
Filter löschen

Strings with overlapping characters

9 Ansichten (letzte 30 Tage)
v k
v k am 8 Nov. 2020
Kommentiert: v k am 9 Nov. 2020
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.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 8 Nov. 2020
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 Kommentare
v k
v k am 8 Nov. 2020
Wow! Thanks for letting me know that someone else also had this particular requirement ...
v k
v k am 9 Nov. 2020
If possible, please try to give a solution for printing the unicode U+103A to matlab figure:
Many thanks.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Characters and Strings finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by