Skip to main content
Community Expert
October 30, 2024
解決済み

Need to insert subscripted numbers in glossary marker

  • October 30, 2024
  • 返信数 3.
  • 525 ビュー

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?

 

 

 

    このトピックへの返信は締め切られました。
    解決に役立った回答 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

    Bob_Niland
    Community Expert
    Bob_NilandCommunity Expert解決!
    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.

    FrameMaker-dkCommunity Expert作成者
    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.