Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Hi guys how can you follow these small numbers ¹²³?

  1. #1
    Join Date
    Jul 2009
    Location
    CyberspacEastEngland
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Hi guys how can you follow these small numbers ¹²³?

    a bit puzzled

    tried to follow these numbers so i can get 0 ++> 9


    but keyboard only yields ¹²³ produced with Alt+Gr 123

    how can i get 0456789 in the same way

    tried fonts in Libre Office
    and so far see none tried google and no answer


    i am sure one of you clever guys here know the answer



    thanx in advance shan
    Linux is Latin for off-the-beaten-track [◄►] ● Is there Voodoo in the machine?
    ShanArt Xmms

  2. #2
    Join Date
    Dec 2007
    Location
    Bombay
    Beans
    6,347
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: Hi guys how can you follow these small numbers ¹²³?

    I'm not sure what you're working with, but if it's html, you can make whatever you want appear as superscript using < sup > and < /sup > tags (without spaces).

    Another thing I use is ReText from the repos for markdown:
    Attached Images Attached Images
    Last edited by vasa1; February 27th, 2013 at 11:14 AM.
    de gustibus et coloribus non est disputandum -- Wiktionary

  3. #3
    Join Date
    Jan 2007
    Beans
    6,542
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Hi guys how can you follow these small numbers ¹²³?

    Quote Originally Posted by shantiq View Post
    tried fonts in Libre Office
    and so far see none tried google and no answer
    Try Right click > Style > Superscript. You can also add it to a button on the toolbar if you're going to be using it a a lot.

  4. #4
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: Hi guys how can you follow these small numbers ¹²³?

    It depends on what program you're entering these characters in. For libreoffice, Paqman already gave the answer. When entering superscripts using AltGr you're actually inserting special Unicode characters. There are Unicode characters for all superscript digits, but not all fonts support them beyond 3, e.g. DejaVu Sans ExtraLight only has glyphs for 01234. To see if they are supported by your console font, try
    Code:
    eval echo \$\'\\u207{4..9}\'
    However, when using techniques described by vasa1 and Paqman, normal digits get rendered as small superscripts, so these will work with any font, but only when rendered by specific software (HTML browser, LibreOffice).

  5. #5
    Join Date
    Jun 2006
    Location
    Antarctica
    Beans
    500
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: Hi guys how can you follow these small numbers ¹²³?

    Another way is to get yourself a 'Compose key'. I use the useless Caps Lock key as a compose key: in KDE, [System Settings][Keyboard][Advanced][Compose key position] and select [Caps lock].
    Then press that key to 'compose' two keys into the closest thing. For instance [`] and [e] will give [è]. In your case it's [0~9] and [^] which gives ⁰¹²³⁴⁵⁶⁷⁸⁹...

  6. #6
    Join Date
    Jul 2009
    Location
    CyberspacEastEngland
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    ¹²³⁴⁵⁶⁷⁸⁹, ¹²³

    Thanx for prompt replies guys this is what i love most about our Ubuntu community...


    ● the htlm trick is good but only for html cannot be copied and pasted in text or anywhere if so it reverts to normal numbers so thanx for the tip with <sup> will use when i need to write html pages but i really want a key on my keyboard to do these


    ● the trick with Set Composition Keyi am on Gnome so:

    Go to System > Preferences > Keyboard
    Select Layout tab
    Click on Layout Option
    Click Compose Key position
    Tick any key you want to assign as Compose Key ( in my case : Right Alt key - image )
    Assign Compose Key

    How to use?

    Press 2 combination key after Compose Key
    example : © ( Copyright sign )
    Press & release Compose Key ( in my case : Right Alt key )
    Press o key
    Then press c key
    [ compose key + o + c = © ]
    Special character © should appear
    works a treat for accents and copyright éá©⅔ ⅘ ç ú but for a superscript 5 it does not as ^ is already a combination key [shift+6] on my UK keyboard so unless i misundertood the explanation it leaves you with nothing unfortunately : 5 then [shift+6] does not produce anything


    ● shragge thanx this works


    eval echo \$\'\\u207{4..9}\'
    123 done with Alt+ Gr last six numbers normal to show scale


    ¹²³⁴⁵⁶⁷⁸⁹ 012345 ¹²³⁴⁵⁶⁷⁸⁹ 012345
    that is pretty good any way to add 0 to this?



    Any more ideas anyone?
    Last edited by shantiq; February 28th, 2013 at 09:22 AM.
    Linux is Latin for off-the-beaten-track [◄►] ● Is there Voodoo in the machine?
    ShanArt Xmms

  7. #7
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: Hi guys how can you follow these small numbers ¹²³?

    Quote Originally Posted by shantiq View Post
    but not quite the same in size if you see 123 done with Alt+ Gr last six normal to show scale
    Well, this probably means that the font your terminal uses only has superscript digits 1 to 4, the rest get completed from another, fallback font. Also, see here for other input methods.
    Last edited by schragge; February 27th, 2013 at 06:47 PM.

  8. #8
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: Hi guys how can you follow these small numbers ¹²³?

    Quote Originally Posted by shantiq View Post
    any way to add 0 to this?
    Code:
    echo $'\u2070'

  9. #9
    Join Date
    Jul 2009
    Location
    CyberspacEastEngland
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Hi guys how can you follow these small numbers ¹²³?

    --thanx again--



    this thread easy to find again by entering ¹²³ in search...
    Last edited by shantiq; February 28th, 2013 at 09:21 AM.
    Linux is Latin for off-the-beaten-track [◄►] ● Is there Voodoo in the machine?
    ShanArt Xmms

  10. #10
    Join Date
    Apr 2013
    Beans
    2

    Re: Hi guys how can you follow these small numbers ¹²³?

    You can type SHIFT + ^​ then write any number from 0 to 9, it will write ⁰¹²³⁴⁵⁶⁷⁸⁹.

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •