Skip to main content
Community Expert
October 30, 2024
Answered

Need to insert subscripted numbers in glossary marker

  • October 30, 2024
  • 3 replies
  • 525 views

I would like to insert these, subscripted, characters in a glossary marker:

 

I would expect that there are numbers in unicode which will do this - but how do I find them?

 

 

 

    This topic has been closed for replies.
    Correct answer Bob_Niland

    re: …but how do I find them?

    There are many search sites out there that can turn them up, but here's a cheat-sheet (and these are all SMP BMP codepoints, so should work in FM, if the font populates them):
    Superscripts: ⁰ ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ ⁺ ⁻ ˣˢᵗʰᴱ
    Subscripts: ₀ ₁ ₂ ₃ ₄ ₅ ₆ ₇ ₈ ₉ ₊ ₋ ₙ ⏨

    In FM, I would use my usual convention, implementing these as Variables, e.g.
    Name: U+2080 SUBSCRIPT ZERO
    Def: \u2080

     

    Even if a Character Format could be applied to a Glossary def, it would probably break any hypertext created for it.

    3 replies

    Bob_Niland
    Community Expert
    Bob_NilandCommunity ExpertCorrect answer
    Community Expert
    October 30, 2024

    re: …but how do I find them?

    There are many search sites out there that can turn them up, but here's a cheat-sheet (and these are all SMP BMP codepoints, so should work in FM, if the font populates them):
    Superscripts: ⁰ ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ ⁺ ⁻ ˣˢᵗʰᴱ
    Subscripts: ₀ ₁ ₂ ₃ ₄ ₅ ₆ ₇ ₈ ₉ ₊ ₋ ₙ ⏨

    In FM, I would use my usual convention, implementing these as Variables, e.g.
    Name: U+2080 SUBSCRIPT ZERO
    Def: \u2080

     

    Even if a Character Format could be applied to a Glossary def, it would probably break any hypertext created for it.

    Community Expert
    October 30, 2024

    Thanks a million, @Bob_Niland Saved the day!

    Bjørn Smalbro - FrameMaker.dk
    Community Expert
    October 30, 2024

    Hi,

    And why not just use a character format for subscript?

    Best regards, Winfried

    Jeff_Coatsworth
    Community Expert
    Community Expert
    October 30, 2024

    Does that work inside a marker?

    Community Expert
    October 31, 2024

    Hi Jeff,

    Yes, you can apply a character format in a marker:

    https://help.adobe.com/en_US/framemaker/using/using-framemaker/FrameMaker-2022/user-guide/topic_insert-index-marker-in-framemaker-document.html?rhhlterm=marker&rhsyns=%20

    However, as Bob said: This would probably break the hyperlink. Must be tested.

    Best regards, Winfried

    Jeff_Coatsworth
    Community Expert
    Community Expert
    October 30, 2024

    The wikipedia entry talks about special subscripts for things like sub(10) and sub(1), sub(2) and sub(3) but doesn't seem to mention subscripting just any old numbers.