titles

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

      1. First Item
      2. Second Item
      3. Third Item
    • Only works with Left Justified text
  • Bulleted List

      • First Item
      • Second Item
      • Third Item
    • 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 big text in the middle

Font Change

  • Some larger Monospaced Font text in the middle.
  • <h?> … </h?> Heading (?= 1 for largest to 6 for smallest, eg h1)
  • ** … ** Bold Text
    • … * Italic Text
  • Underline Text
  • Strikeout
  • Superscript - Smaller text placed below normal text
  • Subscript - Smaller text placed below normal text
  • Small - Fineprint size text