I realized the best way to show variables in smath viewer with an explanation is to use description feature. If you want use same source file for smath studio and smath viewer, the trouble begins.
I could not find how to change fontsize in description feature. It is stucked at 10.
But fontname, font design (bold,italic,underline) can be manipulated by editing sm file with a text editor. What am I missing?
<region id="0" left="135" top="135" width="39" height="21" color="#000000" bgColor="#ffffff" fontSize="8"> <!-- NOT WORKING! -->
<math>
<description active="true" position="Left" lang="eng" fontSize="8"> <!-- NOT WORKING! -->
<p fontName="Arial" italic="true" bold="true" underline="true" fontSize="8">How to change font size?</p> <!-- NOT WORKING! -->
</description>
<input>
<e type="operand">a</e>
<e type="operand">5</e>
<e type="operator" args="2">:</e>
</input>
</math>
</region>
And it would be cool to change font color, background color, to on-off frame in description feature. Even editing by a third party software will be sufficient.
Regards
Page1.sm (1 KiB) downloaded 57 time(s).