<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Help with subscripting and superscripting in JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Help-with-subscripting-and-superscripting-in-JSL/m-p/945164#M109647</link>
    <description>&lt;P&gt;Use unicode characters&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/19.0/#page/jmp/unicode-characters.shtml" target="_blank" rel="noopener"&gt; Scripting Guide &amp;gt; Types of Data &amp;gt; Numbers and Strings &amp;gt; Unicode Characters&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

nw = New Window("", Text Box("m/s\!U00B2"));&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 29 Apr 2026 19:39:43 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2026-04-29T19:39:43Z</dc:date>
    <item>
      <title>Help with subscripting and superscripting in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Help-with-subscripting-and-superscripting-in-JSL/m-p/945149#M109646</link>
      <description>&lt;P&gt;Hello JSL'ers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; JMP seems to have lost (or got rid of) some of their text modification options, like using the copy/paste feature from Word to move text that includes normal and super(sub)-scripted text into JSL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Previously, I could easily take something like&amp;nbsp;g/cm&lt;SUP&gt;3&lt;/SUP&gt;&amp;nbsp;from Word and copy/paste it into a JSL editor and the formatting would move with it so that I could display some text just like in Word. Now, when I do, I just get g/cm3. There's also no easy way to modify the text to get it correct. I know JMP will accept Unicode, but that's just royally obnoxious, and doesn't work for all characters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; In addition, I can't get JSL to display subscripted text either. I'd like to do something like:&amp;nbsp;sample&lt;SUB&gt;BKG&lt;/SUB&gt;&amp;nbsp;, but JSL won't accept that as valid text.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; It's hard to believe that in 2026 JMP still doesn't appear to have this capability. I've seen other posts on the Wishlist and in the Discussion forum that request this same option. Having full control over all characters 0-9, A-Z, a-z, and all Greek (upper and lower), for super(sub)-scripts would greatly improve communicating information to recipients in JMP. I put in a Wishlist item for this, but I've noticed it's also been in the Wishlist for several years now.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If anyone has found a workaround that can force text in Text Box("....") to display it with super(sub)-scripts like in my examples, please let me know.&lt;/P&gt;
&lt;P&gt;Thanks!,&lt;/P&gt;
&lt;P&gt;DS&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2026 19:16:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-with-subscripting-and-superscripting-in-JSL/m-p/945149#M109646</guid>
      <dc:creator>SDF1</dc:creator>
      <dc:date>2026-04-29T19:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help with subscripting and superscripting in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Help-with-subscripting-and-superscripting-in-JSL/m-p/945164#M109647</link>
      <description>&lt;P&gt;Use unicode characters&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/19.0/#page/jmp/unicode-characters.shtml" target="_blank" rel="noopener"&gt; Scripting Guide &amp;gt; Types of Data &amp;gt; Numbers and Strings &amp;gt; Unicode Characters&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

nw = New Window("", Text Box("m/s\!U00B2"));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Apr 2026 19:39:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-with-subscripting-and-superscripting-in-JSL/m-p/945164#M109647</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2026-04-29T19:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help with subscripting and superscripting in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Help-with-subscripting-and-superscripting-in-JSL/m-p/945283#M109648</link>
      <description>&lt;P&gt;This is the right way. &amp;nbsp;It also prevents cross platform (Windows/MacOS) issues. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2026 13:17:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-with-subscripting-and-superscripting-in-JSL/m-p/945283#M109648</guid>
      <dc:creator>MathStatChem</dc:creator>
      <dc:date>2026-04-30T13:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help with subscripting and superscripting in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Help-with-subscripting-and-superscripting-in-JSL/m-p/945318#M109649</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/4467"&gt;@MathStatChem&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Yes, I am familiar with this way -- it's just tedious and slow. It would be nice if JMP supported LaTex or extended HTML formatting to accommodate a more efficient way to write out different or more complicated super- and sub- scripted text. Even doing it the Unicode way in JSL doesn't actually get what I want -- but it's closer than not doing it.&lt;/P&gt;
&lt;P&gt;For example,&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;"\!U0394\!U1D00\!U0299\!U1D04"&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;will produce this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SDF1_0-1777561662316.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/101582iCACB16211214BC6F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SDF1_0-1777561662316.png" alt="SDF1_0-1777561662316.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;which is close, but technically not the same as:&amp;nbsp;Δ&lt;SUB&gt;ABC &lt;/SUB&gt;-- the "ABC" is just small, not truly subscripted in JSL.&amp;nbsp;And, having to search for each letter manually is cumbersome. You can do something like this:&amp;nbsp;h&lt;SUB&gt;initial&lt;/SUB&gt;&amp;nbsp;in JSL, the JSL code for it would be&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;"h\!U1D62\!U2099\!U1D62\!U209C\!U2090\!U2097"&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;which gives:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SDF1_2-1777562552647.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/101586i0D3C89AC9BA00840/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SDF1_2-1777562552647.png" alt="SDF1_2-1777562552647.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;which works for lower case subscripted Latin letters, but it doesn't work to have capital letters as true subscripts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Anyway, the process is tedious and does not allow for efficient or compact JSL scripting. It would be great and helpful if JSL expanded their markup capabilities with HTML since they already have things set up for bold, italic, and underline.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; So in answer to my previous query about any kind of workaround to have capital letters as true subscripts, the answer so far is no in JSL.&amp;nbsp; Unicode also doesn't have any values to represent a true subscripted capital letter, so using a Unicode value is not possible.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SDF1_3-1777562999688.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/101587i58573DCD9387E18E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SDF1_3-1777562999688.png" alt="SDF1_3-1777562999688.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; It would be nice to have this capability in JMP/JSL, that's all I'm saying....&lt;/P&gt;
&lt;P&gt;Thanks!,&lt;/P&gt;
&lt;P&gt;DS&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2026 15:35:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-with-subscripting-and-superscripting-in-JSL/m-p/945318#M109649</guid>
      <dc:creator>SDF1</dc:creator>
      <dc:date>2026-04-30T15:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help with subscripting and superscripting in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Help-with-subscripting-and-superscripting-in-JSL/m-p/945354#M109657</link>
      <description>&lt;P&gt;For the time being, the approach using&amp;nbsp;Unicode characters works. I completely understand all the pitfalls and frustrations, though.&lt;/P&gt;
&lt;P&gt;For my own JSL development, I keep a script file pinned in the Home window with Unicode characters as a poor scripter's cheat sheet. I add characters as I encounter new ones that I haven't used before. I have the character string with the Unicode escape sequence on one line. I evaluate it and then copy the resulting character from the JMP Log back to the second line in my script. This way my scripts have the Unicode character in the strings, not the escape sequence. It is much easier to use and read this way.&lt;/P&gt;
&lt;P&gt;I also use a Unicode app on my phone. It contains easily searched libraries to look up new characters.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2026 19:08:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-with-subscripting-and-superscripting-in-JSL/m-p/945354#M109657</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2026-04-30T19:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help with subscripting and superscripting in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Help-with-subscripting-and-superscripting-in-JSL/m-p/945430#M109662</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/5358"&gt;@Mark_Bailey&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Thank you very much for the tip on keeping a JSL script at the ready to evaluate the Unicode character sequence and then copy/paste the result into one's JSL code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; This absolutely helps with making the code more readable and makes it much easier to manage trying to find the few of more than 150,000 different Unicode characters.&amp;nbsp;(Supposedly, there can be over 1.1 million possible Unicode characters, at least according to a quick search.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I'm starting this right now!&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I'm just flabbergasted at the decisions of the governing body for the Unicode characters as to why they didn't go ahead and include all possible Latin characters -- for example, there is no Unicode character for a subscript "b". Why? They included several other Latin characters and special phonetic characters, but not a subscript "b". I just think that's so strange.&lt;/P&gt;
&lt;P&gt;Thanks!,&lt;/P&gt;
&lt;P&gt;DS&lt;/P&gt;</description>
      <pubDate>Fri, 01 May 2026 12:09:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-with-subscripting-and-superscripting-in-JSL/m-p/945430#M109662</guid>
      <dc:creator>SDF1</dc:creator>
      <dc:date>2026-05-01T12:09:35Z</dc:date>
    </item>
  </channel>
</rss>

