Description region

Description region - Formatting of description region - Messages

#1 Posted: 9/17/2023 4:02:16 PM
Soczawa

Soczawa

0 likes in 6 posts.

Group: User

It would be good if SMath offered the functionality of formatting the description region, including: (i) font, (ii) background (yellow is cool, but not always applicable), (iii) frame/boundary (on/off).

Best wishes,
Artur

#2 Posted: 9/17/2023 5:55:24 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Font color applies to the math region, NOT description.
Frame boundary applies the math region, NOT description.
Background description, from any of the 16 pre-set colors.
Typical ... Pink, Chartreuse, light gray ...
#3 Posted: 9/18/2023 5:59:21 AM
Soczawa

Soczawa

0 likes in 6 posts.

Group: User

Wrote

Font color applies to the math region, NOT description.
Frame boundary applies the math region, NOT description.
Background description, from any of the 16 pre-set colors.
Typical ... Pink, Chartreuse, light gray ...



Completely agree, hence the feature request to extent the full formatting capabilities to the description region.
#4 Posted: 9/18/2023 7:03:44 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

I rarely use white [254,254,254] bottom left background.
1. compose the math region.
2. click on the background of your pre-set choices.
3. show description text ... background [2].
4. background math region otherwise at will.
Jean
#5 Posted: 9/18/2023 7:47:23 AM
Soczawa

Soczawa

0 likes in 6 posts.

Group: User

Wrote

I rarely use white [254,254,254] bottom left background.
1. compose the math region.
2. click on the background of your pre-set choices.
3. show description text ... background [2].
4. background math region otherwise at will.
Jean



You lost me there. Are you saying it is possible to change the colour of description background (see below) from the default yellow?

SMath feature.png
#6 Posted: 9/18/2023 8:54:46 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

You lost me there. Are you saying it is possible to change the colour of description background (see below) from the default yellow ?


That's what I have just explained [1, 2, 3]
Before [1, 2, 3] ... install your preferred background colors

#7 Posted: 9/18/2023 10:33:51 AM
Soczawa

Soczawa

0 likes in 6 posts.

Group: User

Wrote

Wrote

You lost me there. Are you saying it is possible to change the colour of description background (see below) from the default yellow ?


That's what I have just explained [1, 2, 3]
Before [1, 2, 3] ... install your preferred background colors



Great! I do struggle to replicate your steps though. Do you have an example by any chance? Also, when you say "install your preferred background colours", what do you mean by that?
#8 Posted: 9/18/2023 11:54:39 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Great! I do struggle to replicate your steps though. Do you have an example by any chance? Also, when you say "install your preferred background colors", what do you mean by that ?


Visit Samples posted a minute ago.
All exemplified, mostly last page.
Jean.

#9 Posted: 9/18/2023 12:47:45 PM
Soczawa

Soczawa

0 likes in 6 posts.

Group: User

Wrote

Wrote

Great! I do struggle to replicate your steps though. Do you have an example by any chance? Also, when you say "install your preferred background colors", what do you mean by that ?


Visit Samples posted a minute ago.
All exemplified, mostly last page.
Jean.



Thanks Jean. I think we misunderstood each other. I was proposing to change the background of the description region/field, rather than the input region, as your example shows. Something like this:

SMath feature2.png
#10 Posted: 9/19/2023 4:07:35 PM
overlord

overlord

554 likes in 1333 posts.

Group: Moderator

Wrote

I was proposing to change the background of the description region/field, rather than the input region, as your example shows.


This is not possible.
In fact, I asked for this 10 years ago.
Alteration of descriptions not implemented since.
Text regions doesn't have description too.
Asked for this also, no change so far.
Long word short, don't rise your expectations.

Regards
1 users liked this post
Oscar Campo 9/19/2023 4:37:00 PM
#11 Posted: 9/20/2023 10:03:47 AM
Oscar Campo

Oscar Campo

124 likes in 298 posts.

Group: Moderator

It's not possible change the background color of description region.
Only it's possible change the color which the text is highlighted inside a description region.

Please see this video:



textColorOnDescription.png

best,
Oscar
#12 Posted: 9/20/2023 10:43:48 AM
overlord

overlord

554 likes in 1333 posts.

Group: Moderator

Wrote

It's not possible change the background color of description region.


This is not persistent. Possibly just a visual bug.
Background color changes to description text is not saved.
I checked with an external text editor, no data saved related to it.
They are same with yellow background and colorful highlighted.
When you save file, close it and reopen it all colors will revert.
Either to latest selected background or yellow.

Regards
#13 Posted: 9/20/2023 10:59:11 AM
Oscar Campo

Oscar Campo

124 likes in 298 posts.

Group: Moderator

It is a very strange behavior...
But, before I posted, I did that check you mention. I saved the file, then closed SMath, reopened, and the colors remain...

#14 Posted: 9/20/2023 11:23:01 AM
overlord

overlord

554 likes in 1333 posts.

Group: Moderator

Wrote

It is a very strange behavior...
But, before I posted, I did that check you mention. I saved the file, then closed SMath, reopened, and the colors remain...


Close smath, reopen with a blank page, change background color to white, close file without saving.
Now reopen smath with the file you saved, background highlight should be gone.

Regards
1 users liked this post
Oscar Campo 9/20/2023 11:37:00 AM
#15 Posted: 9/20/2023 11:37:53 AM
Oscar Campo

Oscar Campo

124 likes in 298 posts.

Group: Moderator

Yep..
you're right...
it's only a bug

Thanks!!
#16 Posted: 9/20/2023 12:23:14 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... Maths Description Background.sm (33 KiB) downloaded 62 time(s).

... live and image
live will be dead white because new Smath document for you.
Compose the background to get it live.
#17 Posted: 9/20/2023 12:51:39 PM
Oscar Campo

Oscar Campo

124 likes in 298 posts.

Group: Moderator

Wrote

... Maths Description Background.sm (33 KiB) downloaded 62 time(s).

... live and image
live will be dead white because new Smath document for you.
Compose the background to get it live.



Previusly reported here. No change in the background of description region, only the text is highlighted, but is not permanent, was checked as a bug here
#18 Posted: 9/20/2023 3:13:27 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Jean, posts are removed if off topic or misleading. Some stay simply because there are direct replies and deleting the original message with the current moderation tools makes the thread unreadable at best or might nuke everything in the way at worst.

Background it isn't a "windows tool", it is a property of an item; the description region is an item like everything else on the program canvas. As such it can be enhanched by Andrey almost in any way.

Text highlight inside description is not saved, as already discussed, there's no need to add examples bind to create more confusion to whoever will try to replicate something that doesn't works.

The feature request is clear, and it is technically feasible, since the text region already has these features. Any workaround not related to the description region itself is pointless here, since has a cost in terms of features (the description is binded to the region, is multilanguage, can be retrieved and passed as a string to the math regions, shown or hidden without loosing the data contained... ).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
4 users liked this post
Alvaro Diaz Falconi 9/21/2023 7:33:00 PM, Oscar Campo 9/20/2023 3:56:00 PM, overlord 9/20/2023 3:59:00 PM, Mark R Harris 9/20/2023 7:53:00 PM
#19 Posted: 9/20/2023 7:29:41 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

was checked as a bug


Not a bug, just a fact Smath does not save this Windows facility.
Smath saves itself only, thus not Windows background.
All that said, simply a local convenience.
However, superb for publishing *.PDF document.

Maths Description Background Image.sm (53 KiB) downloaded 56 time(s).



#20 Posted: 9/20/2023 8:34:24 PM
overlord

overlord

554 likes in 1333 posts.

Group: Moderator

Wrote

The feature request is clear, and it is technically feasible, since the text region already has these features.


If you manually edit smath file with a text editor, font size of description can be changed.
However; font color, background color, etc couldn't be altered via this way.
FontSize persists through reopening of file too, if you don't save it again.
Unfortunately when you save it in smath, it removes fontSize attribute from description properties.
So in order to my opinion, these requests are not that hard to be implemented.

Regards

UserPostedImage

2023-09-21_02-23.png
1 users liked this post
Oscar Campo 9/20/2023 8:55:00 PM
  • New Posts New Posts
  • No New Posts No New Posts