titles
Titles connects to the red port on the viewer and provides a means to place text in the non-transformable 2D Overlay of the viewer. The text is not transformed by viewer transformations and is positioned using sliders in the Titles user interface.
Module Input Ports
- Input String [String] Accepts the string to display.
- Number 1 [Number]: Accepts a number used to construct a the title. (this is effectively a simple version of format_string
- Number 2 [Number]: Accepts a number used to construct a the title
- String 1 [String]: Accepts a number used to construct a the title
Module Output Ports
- Output Object [Renderable]: Outputs to the viewer. NOT REQUIRED when the View port is used.
Text Formatting:
Text formatting can be performed with a limited subset of Markdown Syntax.
-
If you need multiple spaces or need to indent with spaces, you must use this instead of a space:
-
4 spaces in a row would be:
-
-
**bold** = bold
-
_italics_ = italics
-
Numbered List
-
<ol><li>First Item</li><li>Second Item</li><li>Third Item</li></ol>
-
Only works with Left Justified text
-
-
Bulleted List
-
<ul><li>First Item</li><li>Second Item</li><li>Third Item</li></ul>
-
Only works with Left Justified text
-
-
Monospaced `the text to be monospaced is surrounded by tick marks`
-
Note: This uses the Tick mark which is the character below the tilde "~"
-
-
Horizontal Rule (line across entire width) ___
-
Note: three underscore characters
-
-
Colored Text
-
This is the default text, but<font color="#FF0000">these words are red.</font>
-
Font Size
-
Some <span style="font-size: 150%;">big text</span> in the middle
Font Change
-
Some <span style="font-size: 130%; font-family: JetBrains Mono;">larger Monospaced Font text</span> in the middle.
-
<h?> ... </h?> Heading (?= 1 for largest to 6 for smallest, eg h1)
-
<b> ... </b> Bold Text
-
<i> ... </i> Italic Text
-
<u> ... </u> Underline Text
-
<strike> ... </strike> Strikeout
-
<sup> ... </sup> Superscript - Smaller text placed below normal text
-
<sub> ... </sub> Subscript - Smaller text placed below normal text
-
<small> ... </small> Small - Fineprint size text