STAR TREK 2d20

Thread: The

  1. #1

    The
    Hey developers and friends.

    I'm trying to work out whether or not the <sup> (for Superscript) tag can be supported in FG. Is there a different tag in the <formattedtext> that describes superscripts?

    Thanks,
    ZM


  2. #2

    Superscript in XML?

    Wow, this is a really old post, but I was doing a search for utilizing superscript in the FG XML and this is the only thread a search would yield, so I'll update it a wee bit.

    First I was trying the old HTML commands such as:
    Code:
    <sup>1</sup>
    But this would not work.

    I did find out that the three Superscript Unicodes actually work:
    Code:
    &sup1;
    Code:
    &sup2;
    Code:
    &sup3;
    So your target XML code might look something like:
    Code:
    <tr><td colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;Unarmed strike</td><td>-</td><td>1d2&sup3;</td><td>1d3&sup3;</td><td>x2</td><td>-</td><td>-</td><td>Bludgeoning</td></tr>
    The problem here, is that in Unicode, you can only Superscript from 1 to 3. You will be unable to go higher than 3.

    Does anyone have a solution to Superscript better in XML for FG that will let us go to any number we want?

  3. #3
    Oberoten's Avatar
    Join Date
    May 2006
    Location
    Älvsbyn, Sweden
    Posts
    2,620
    Unicode... Pretty useful stuff.

    &crlf; Linefeed.
    &nel; Newline
    ... Might work as well.

    *ponders this and tests quickly*

    ... Nope. None of them seem to work unless I am doing something wrong here?

    What Unicodes CAN FantasyGrounds accept in formated text?
    Some kind of simple line-break would be wonderful.
    For your Ars Magica needs :
    https://fgrepository.com




    Atque in perpetuum frater, Ave atque vale.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
DICE PACKS BUNDLE

Log in

Log in