Modifying Text from the TeX Output
SBML2TikZ places output text in nodes. If you're unfamiliar with PGF/TikZ syntax, nodes are elements on a graph that can be used for a variety of purposes, including placing text or placing shapes. The example TeX below shows how SBML2TikZ uses nodes to place text on a graph:
% Group for sGlyph_1 \draw (506pt, 271pt) node[text = Color_1!100, font = \fontsize{ 11 } { 11 }\fontfamily\sfdefault\selectfont] { ATP };
The information is organized thus:
The comment % Group for sGlyph_1 tells us that that the graph element written here was a "Group" (Text is always either described as "Text" or "Group" in SBML files). "sGlyph_1" was the name of this group assigned in the SBML file.
\draw (506pt, 271pt) indicates that the position of the text node occurs at the coordinates x = 506pt, y = 271pt (although this does not incoporate additional transformations that may be applied to the node that will affect its final position).
text = Color_1!100 indicates that the color of the text will be the color named "Color_1" with an alpha percantage of 100%. For more information on colors, please refer to the section describing the specification of colors. To change the color of text, users can reassign this argument to a new color, or edit the RGB values of the color referenced by this argument.
font = \fontsize{ 11 } { 11 } indicates that the fontsize of the text is 11points, with the total height including space between lines 11 points as well.
\fontfamily\sfdefault\selectfont indicates that the font used is the defalt sans-serif font. A variety of fonts can be used in place of "sfdefault." For instance, "tdefault" gives a monospaced font, while "rmdefault" gives a roman family font. SBML2TikZ supports the PSNFSS fonts that come with every LaTeX distribution.
{ ATP } indicates that the actual text printed is "ATP." Any text placed here will show up on the graph, although users should be careful to preface certain characters such as "%" and "_" with a backslash as they would in TeX.