FAQ - Add a special symbol in a plot

This FAQ covers how to add a special symbols (usually not found on a keyboard, like Greek letters) or modify some text features (putting it to subscript, using a bold font) on the plot.

Diagnosis

  • When preparing the descriptions on the plot elements (title, axes, legend), the usage of special symbols not found on the keyboard would be desired (e.g. for the phase names).
  • When preparing the descriptions on the plot elements (title, axes, legend), the usage of the special text features (e.g. subscript) is desired (e.g. for the units).

Background

MatCalc uses HTML as a basis for the text editing in the GUI. In this regards, the editing of the plot descriptions resembles the text edition on the HTML websites.

Remedy

Introduction of the special symbols or the special text features (e.g. bold text, underlined text) on the plots is possible with the usage of the HTML tags or HTML syntax. Some of the examples are given below:

Text appearing Text typed
\[m^3\] m<sup>3</sup>
\[Fe_3C\] Fe<sub>3</sub>
\[\textbf{Bold text}\] <b>Bold text</b>
\[\mu m\] <html>&mu;m
\[\beta\] <html>&beta;
\[\Gamma\] <html>&Gamma;

Feel free to find more hints on tags/syntax in the HTML references - this information can be found also in Internet.

faq/subscripts_and_symbols.txt · Last modified: 2016/08/02 15:56 by pwarczok
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki