How to type ª in Ubuntu 16.04?












2














In Brazil, we use ª for feminine ordinal numbers, just like 1st, 2nd, 3rd... in English. So it's a very common need. I just set up the Compose Key, so I can do "Compose Key, o, o" to get the masculine ordinal ° (in fact, this is the degree sign, but they're both similar. The real masculine ordinal faces the same problem as the feminine). But, although this site says I could get the ª with "Compose Key, a, _" (or similar compositions), I'm getting ā or Ā instead of ª.



Is there an easy way to type ª in Ubuntu 16.04 (LibreOffice, gedit, etc)? Please I'm not interested in memorizing/typing complex Unicode sequences.



EDIT



After the answer from Ludenticus, I realized that I can type only



Alt Gr + [ for ª



Alt Gr + ] for º










share|improve this question
























  • If you go to settings > text entry and select a language that does have the character ª cant you type it with the designed key, wich is usually the one under Esc ?
    – M. Becerra
    Nov 2 '16 at 16:05












  • Not sure. But would I need to change the language every time I want to type ª?
    – Rodrigo
    Nov 2 '16 at 16:10










  • You could also click on the indicator regarding the keyboard entry, which would read smth like Br or En, in case you have it in English, and open the character map, then find the desired character, i.e. ª, and copy/paste it.
    – M. Becerra
    Nov 2 '16 at 16:10










  • Wich language have you selected then as text entry?
    – M. Becerra
    Nov 2 '16 at 16:11












  • Yes, @M.Becerra I know about copying/pasting, but I would prefer a more practical solution. I'm using Brazilian Portuguese as text entry language.
    – Rodrigo
    Nov 2 '16 at 16:12


















2














In Brazil, we use ª for feminine ordinal numbers, just like 1st, 2nd, 3rd... in English. So it's a very common need. I just set up the Compose Key, so I can do "Compose Key, o, o" to get the masculine ordinal ° (in fact, this is the degree sign, but they're both similar. The real masculine ordinal faces the same problem as the feminine). But, although this site says I could get the ª with "Compose Key, a, _" (or similar compositions), I'm getting ā or Ā instead of ª.



Is there an easy way to type ª in Ubuntu 16.04 (LibreOffice, gedit, etc)? Please I'm not interested in memorizing/typing complex Unicode sequences.



EDIT



After the answer from Ludenticus, I realized that I can type only



Alt Gr + [ for ª



Alt Gr + ] for º










share|improve this question
























  • If you go to settings > text entry and select a language that does have the character ª cant you type it with the designed key, wich is usually the one under Esc ?
    – M. Becerra
    Nov 2 '16 at 16:05












  • Not sure. But would I need to change the language every time I want to type ª?
    – Rodrigo
    Nov 2 '16 at 16:10










  • You could also click on the indicator regarding the keyboard entry, which would read smth like Br or En, in case you have it in English, and open the character map, then find the desired character, i.e. ª, and copy/paste it.
    – M. Becerra
    Nov 2 '16 at 16:10










  • Wich language have you selected then as text entry?
    – M. Becerra
    Nov 2 '16 at 16:11












  • Yes, @M.Becerra I know about copying/pasting, but I would prefer a more practical solution. I'm using Brazilian Portuguese as text entry language.
    – Rodrigo
    Nov 2 '16 at 16:12
















2












2








2







In Brazil, we use ª for feminine ordinal numbers, just like 1st, 2nd, 3rd... in English. So it's a very common need. I just set up the Compose Key, so I can do "Compose Key, o, o" to get the masculine ordinal ° (in fact, this is the degree sign, but they're both similar. The real masculine ordinal faces the same problem as the feminine). But, although this site says I could get the ª with "Compose Key, a, _" (or similar compositions), I'm getting ā or Ā instead of ª.



Is there an easy way to type ª in Ubuntu 16.04 (LibreOffice, gedit, etc)? Please I'm not interested in memorizing/typing complex Unicode sequences.



EDIT



After the answer from Ludenticus, I realized that I can type only



Alt Gr + [ for ª



Alt Gr + ] for º










share|improve this question















In Brazil, we use ª for feminine ordinal numbers, just like 1st, 2nd, 3rd... in English. So it's a very common need. I just set up the Compose Key, so I can do "Compose Key, o, o" to get the masculine ordinal ° (in fact, this is the degree sign, but they're both similar. The real masculine ordinal faces the same problem as the feminine). But, although this site says I could get the ª with "Compose Key, a, _" (or similar compositions), I'm getting ā or Ā instead of ª.



Is there an easy way to type ª in Ubuntu 16.04 (LibreOffice, gedit, etc)? Please I'm not interested in memorizing/typing complex Unicode sequences.



EDIT



After the answer from Ludenticus, I realized that I can type only



Alt Gr + [ for ª



Alt Gr + ] for º







16.04 keyboard special-characters






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 2 '16 at 16:46

























asked Nov 2 '16 at 15:55









Rodrigo

2351216




2351216












  • If you go to settings > text entry and select a language that does have the character ª cant you type it with the designed key, wich is usually the one under Esc ?
    – M. Becerra
    Nov 2 '16 at 16:05












  • Not sure. But would I need to change the language every time I want to type ª?
    – Rodrigo
    Nov 2 '16 at 16:10










  • You could also click on the indicator regarding the keyboard entry, which would read smth like Br or En, in case you have it in English, and open the character map, then find the desired character, i.e. ª, and copy/paste it.
    – M. Becerra
    Nov 2 '16 at 16:10










  • Wich language have you selected then as text entry?
    – M. Becerra
    Nov 2 '16 at 16:11












  • Yes, @M.Becerra I know about copying/pasting, but I would prefer a more practical solution. I'm using Brazilian Portuguese as text entry language.
    – Rodrigo
    Nov 2 '16 at 16:12




















  • If you go to settings > text entry and select a language that does have the character ª cant you type it with the designed key, wich is usually the one under Esc ?
    – M. Becerra
    Nov 2 '16 at 16:05












  • Not sure. But would I need to change the language every time I want to type ª?
    – Rodrigo
    Nov 2 '16 at 16:10










  • You could also click on the indicator regarding the keyboard entry, which would read smth like Br or En, in case you have it in English, and open the character map, then find the desired character, i.e. ª, and copy/paste it.
    – M. Becerra
    Nov 2 '16 at 16:10










  • Wich language have you selected then as text entry?
    – M. Becerra
    Nov 2 '16 at 16:11












  • Yes, @M.Becerra I know about copying/pasting, but I would prefer a more practical solution. I'm using Brazilian Portuguese as text entry language.
    – Rodrigo
    Nov 2 '16 at 16:12


















If you go to settings > text entry and select a language that does have the character ª cant you type it with the designed key, wich is usually the one under Esc ?
– M. Becerra
Nov 2 '16 at 16:05






If you go to settings > text entry and select a language that does have the character ª cant you type it with the designed key, wich is usually the one under Esc ?
– M. Becerra
Nov 2 '16 at 16:05














Not sure. But would I need to change the language every time I want to type ª?
– Rodrigo
Nov 2 '16 at 16:10




Not sure. But would I need to change the language every time I want to type ª?
– Rodrigo
Nov 2 '16 at 16:10












You could also click on the indicator regarding the keyboard entry, which would read smth like Br or En, in case you have it in English, and open the character map, then find the desired character, i.e. ª, and copy/paste it.
– M. Becerra
Nov 2 '16 at 16:10




You could also click on the indicator regarding the keyboard entry, which would read smth like Br or En, in case you have it in English, and open the character map, then find the desired character, i.e. ª, and copy/paste it.
– M. Becerra
Nov 2 '16 at 16:10












Wich language have you selected then as text entry?
– M. Becerra
Nov 2 '16 at 16:11






Wich language have you selected then as text entry?
– M. Becerra
Nov 2 '16 at 16:11














Yes, @M.Becerra I know about copying/pasting, but I would prefer a more practical solution. I'm using Brazilian Portuguese as text entry language.
– Rodrigo
Nov 2 '16 at 16:12






Yes, @M.Becerra I know about copying/pasting, but I would prefer a more practical solution. I'm using Brazilian Portuguese as text entry language.
– Rodrigo
Nov 2 '16 at 16:12












4 Answers
4






active

oldest

votes


















2














IF you have Portuguese (Brazil), you'll find it with



[Alt Gr] + [Shift] + [F]



enter image description here



Otherwise, see under the Keyboard Layout Chart






share|improve this answer





















  • Thank you, it works! Where is the masculine, by the way? [Alt Gr] + [Shift] + [0] gives me the degree sign, which is slightly different.
    – Rodrigo
    Nov 2 '16 at 16:19












  • @Rodrigo you can check that Keyboard Layout by yourself, clicking on the indicator on the top panel.
    – M. Becerra
    Nov 2 '16 at 16:24



















1














These are the instructions for libreOffice.



SUPER SCRIPT:



Select the text that you want to make superscript or subscript.
Do one of the following:
Choose Format - Character - Position, and then select Superscript or Subscript.
Press Ctrl+Shift+P to make the text superscript, and Ctrl+Shift+B to make the text subscript.



INSERTING SPECIAL CHARACTER:



This function allows you to insert special characters, such as check marks, boxes, and telephone symbols, into your text.



To view a selection of all characters, choose Insert - Special Character.
In the large selection field click the desired character or several characters in succession. The characters are displayed at the bottom of the dialog. When you close the dialog with OK, all displayed characters in the selected font are inserted in the current document.
In any text input field (such as the input fields in the Find & Replace dialog) you can press Shift+Ctrl+S to open the Special Characters dialog.



For Gedit:
See this.






share|improve this answer























  • Superscript is not the same as inserting the right characters. But thanks for the hint!
    – Rodrigo
    Nov 2 '16 at 16:11










  • Giving just links is arguable not an answer, you can read more about it here meta.stackexchange.com/questions/8231/…
    – M. Becerra
    Nov 2 '16 at 16:14








  • 1




    @M.Becerra, thanks for pointing out. I have corrected it now except for the last link because it is from askubuntu.com only.
    – vishal-wadhwa
    Nov 2 '16 at 16:19










  • Good! But you could still keep the links as "Extra info" or "In case you want to read more about it" and that way you show your sources as well. But great that you edited it.
    – M. Becerra
    Nov 2 '16 at 16:22



















1














Here's my favourite trick to type any Unicode character, in any context:




  1. Google 'Unicode for {the character}'. Make sure you use the exact
    character.

  2. Note down the 4 characters after the 'U+'. In this case, ª is 00AA and º is 00BA, but you can skip the leading zeroes.

  3. Type Ctrl+Shift+U. You will see the cursor transform into an underscored 'u'.

  4. Type the 4 characters and press space.


Voila, your character is entered, and you don't need to mess around with keyboard layouts :)






share|improve this answer























  • That's useful for other characters, not for something so common as º and ª in Brazil. Thanks!
    – Rodrigo
    Nov 2 '16 at 16:44










  • Sure, if you're going to be typing something constantly then it might just be easier to switch keyboard layouts, but honestly once you remember the code, it is fairly swift
    – Brendan Donegan
    Nov 2 '16 at 17:22



















1














To keep using Compose Key, a, _ and Compose Key, o, _ key combinations to type ª and º you should create a ~/.XCompose file on your home directory with the following contents:



include "/usr/share/X11/locale/en_US.UTF-8/Compose"
<Multi_key> <underscore> <a> : "ª" ordfeminine # FEMININE ORDINAL INDICATOR
<Multi_key> <a> <underscore> : "ª" ordfeminine # FEMININE ORDINAL INDICATOR
<Multi_key> <underscore> <o> : "º" masculine # MASCULINE ORDINAL INDICATOR
<Multi_key> <o> <underscore> : "º" masculine # MASCULINE ORDINAL INDICATOR




The reason Compose Key, a, _ gives you the ā character is because that's exactly what is configured on current Xorg X Server Compose Key mappings. Take a look at /usr/share/X11/locale/en_US.UTF-8/Compose:



<Multi_key> <underscore> <a>            : "ā"   U0101 # LATIN SMALL LETTER A WITH MACRON


It must have been different on the past, and all those websites with keymappings are outdated.



On that same file you'll see that in order to insert a ª you have to press ^, Compose Key, _, a:



<dead_circumflex> <Multi_key> <underscore> <a>  : "ª"   ordfeminine # FEMININE ORDINAL INDICA>


This will only work if your current keyboard layout outputs a silent (aka dead) ^. That's the default on the US intl keyboard variant.






share|improve this answer





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f844727%2fhow-to-type-%25c2%25aa-in-ubuntu-16-04%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    4 Answers
    4






    active

    oldest

    votes








    4 Answers
    4






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    IF you have Portuguese (Brazil), you'll find it with



    [Alt Gr] + [Shift] + [F]



    enter image description here



    Otherwise, see under the Keyboard Layout Chart






    share|improve this answer





















    • Thank you, it works! Where is the masculine, by the way? [Alt Gr] + [Shift] + [0] gives me the degree sign, which is slightly different.
      – Rodrigo
      Nov 2 '16 at 16:19












    • @Rodrigo you can check that Keyboard Layout by yourself, clicking on the indicator on the top panel.
      – M. Becerra
      Nov 2 '16 at 16:24
















    2














    IF you have Portuguese (Brazil), you'll find it with



    [Alt Gr] + [Shift] + [F]



    enter image description here



    Otherwise, see under the Keyboard Layout Chart






    share|improve this answer





















    • Thank you, it works! Where is the masculine, by the way? [Alt Gr] + [Shift] + [0] gives me the degree sign, which is slightly different.
      – Rodrigo
      Nov 2 '16 at 16:19












    • @Rodrigo you can check that Keyboard Layout by yourself, clicking on the indicator on the top panel.
      – M. Becerra
      Nov 2 '16 at 16:24














    2












    2








    2






    IF you have Portuguese (Brazil), you'll find it with



    [Alt Gr] + [Shift] + [F]



    enter image description here



    Otherwise, see under the Keyboard Layout Chart






    share|improve this answer












    IF you have Portuguese (Brazil), you'll find it with



    [Alt Gr] + [Shift] + [F]



    enter image description here



    Otherwise, see under the Keyboard Layout Chart







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Nov 2 '16 at 16:16









    Ludenticus

    21518




    21518












    • Thank you, it works! Where is the masculine, by the way? [Alt Gr] + [Shift] + [0] gives me the degree sign, which is slightly different.
      – Rodrigo
      Nov 2 '16 at 16:19












    • @Rodrigo you can check that Keyboard Layout by yourself, clicking on the indicator on the top panel.
      – M. Becerra
      Nov 2 '16 at 16:24


















    • Thank you, it works! Where is the masculine, by the way? [Alt Gr] + [Shift] + [0] gives me the degree sign, which is slightly different.
      – Rodrigo
      Nov 2 '16 at 16:19












    • @Rodrigo you can check that Keyboard Layout by yourself, clicking on the indicator on the top panel.
      – M. Becerra
      Nov 2 '16 at 16:24
















    Thank you, it works! Where is the masculine, by the way? [Alt Gr] + [Shift] + [0] gives me the degree sign, which is slightly different.
    – Rodrigo
    Nov 2 '16 at 16:19






    Thank you, it works! Where is the masculine, by the way? [Alt Gr] + [Shift] + [0] gives me the degree sign, which is slightly different.
    – Rodrigo
    Nov 2 '16 at 16:19














    @Rodrigo you can check that Keyboard Layout by yourself, clicking on the indicator on the top panel.
    – M. Becerra
    Nov 2 '16 at 16:24




    @Rodrigo you can check that Keyboard Layout by yourself, clicking on the indicator on the top panel.
    – M. Becerra
    Nov 2 '16 at 16:24













    1














    These are the instructions for libreOffice.



    SUPER SCRIPT:



    Select the text that you want to make superscript or subscript.
    Do one of the following:
    Choose Format - Character - Position, and then select Superscript or Subscript.
    Press Ctrl+Shift+P to make the text superscript, and Ctrl+Shift+B to make the text subscript.



    INSERTING SPECIAL CHARACTER:



    This function allows you to insert special characters, such as check marks, boxes, and telephone symbols, into your text.



    To view a selection of all characters, choose Insert - Special Character.
    In the large selection field click the desired character or several characters in succession. The characters are displayed at the bottom of the dialog. When you close the dialog with OK, all displayed characters in the selected font are inserted in the current document.
    In any text input field (such as the input fields in the Find & Replace dialog) you can press Shift+Ctrl+S to open the Special Characters dialog.



    For Gedit:
    See this.






    share|improve this answer























    • Superscript is not the same as inserting the right characters. But thanks for the hint!
      – Rodrigo
      Nov 2 '16 at 16:11










    • Giving just links is arguable not an answer, you can read more about it here meta.stackexchange.com/questions/8231/…
      – M. Becerra
      Nov 2 '16 at 16:14








    • 1




      @M.Becerra, thanks for pointing out. I have corrected it now except for the last link because it is from askubuntu.com only.
      – vishal-wadhwa
      Nov 2 '16 at 16:19










    • Good! But you could still keep the links as "Extra info" or "In case you want to read more about it" and that way you show your sources as well. But great that you edited it.
      – M. Becerra
      Nov 2 '16 at 16:22
















    1














    These are the instructions for libreOffice.



    SUPER SCRIPT:



    Select the text that you want to make superscript or subscript.
    Do one of the following:
    Choose Format - Character - Position, and then select Superscript or Subscript.
    Press Ctrl+Shift+P to make the text superscript, and Ctrl+Shift+B to make the text subscript.



    INSERTING SPECIAL CHARACTER:



    This function allows you to insert special characters, such as check marks, boxes, and telephone symbols, into your text.



    To view a selection of all characters, choose Insert - Special Character.
    In the large selection field click the desired character or several characters in succession. The characters are displayed at the bottom of the dialog. When you close the dialog with OK, all displayed characters in the selected font are inserted in the current document.
    In any text input field (such as the input fields in the Find & Replace dialog) you can press Shift+Ctrl+S to open the Special Characters dialog.



    For Gedit:
    See this.






    share|improve this answer























    • Superscript is not the same as inserting the right characters. But thanks for the hint!
      – Rodrigo
      Nov 2 '16 at 16:11










    • Giving just links is arguable not an answer, you can read more about it here meta.stackexchange.com/questions/8231/…
      – M. Becerra
      Nov 2 '16 at 16:14








    • 1




      @M.Becerra, thanks for pointing out. I have corrected it now except for the last link because it is from askubuntu.com only.
      – vishal-wadhwa
      Nov 2 '16 at 16:19










    • Good! But you could still keep the links as "Extra info" or "In case you want to read more about it" and that way you show your sources as well. But great that you edited it.
      – M. Becerra
      Nov 2 '16 at 16:22














    1












    1








    1






    These are the instructions for libreOffice.



    SUPER SCRIPT:



    Select the text that you want to make superscript or subscript.
    Do one of the following:
    Choose Format - Character - Position, and then select Superscript or Subscript.
    Press Ctrl+Shift+P to make the text superscript, and Ctrl+Shift+B to make the text subscript.



    INSERTING SPECIAL CHARACTER:



    This function allows you to insert special characters, such as check marks, boxes, and telephone symbols, into your text.



    To view a selection of all characters, choose Insert - Special Character.
    In the large selection field click the desired character or several characters in succession. The characters are displayed at the bottom of the dialog. When you close the dialog with OK, all displayed characters in the selected font are inserted in the current document.
    In any text input field (such as the input fields in the Find & Replace dialog) you can press Shift+Ctrl+S to open the Special Characters dialog.



    For Gedit:
    See this.






    share|improve this answer














    These are the instructions for libreOffice.



    SUPER SCRIPT:



    Select the text that you want to make superscript or subscript.
    Do one of the following:
    Choose Format - Character - Position, and then select Superscript or Subscript.
    Press Ctrl+Shift+P to make the text superscript, and Ctrl+Shift+B to make the text subscript.



    INSERTING SPECIAL CHARACTER:



    This function allows you to insert special characters, such as check marks, boxes, and telephone symbols, into your text.



    To view a selection of all characters, choose Insert - Special Character.
    In the large selection field click the desired character or several characters in succession. The characters are displayed at the bottom of the dialog. When you close the dialog with OK, all displayed characters in the selected font are inserted in the current document.
    In any text input field (such as the input fields in the Find & Replace dialog) you can press Shift+Ctrl+S to open the Special Characters dialog.



    For Gedit:
    See this.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Apr 13 '17 at 12:23









    Community

    1




    1










    answered Nov 2 '16 at 16:10









    vishal-wadhwa

    12218




    12218












    • Superscript is not the same as inserting the right characters. But thanks for the hint!
      – Rodrigo
      Nov 2 '16 at 16:11










    • Giving just links is arguable not an answer, you can read more about it here meta.stackexchange.com/questions/8231/…
      – M. Becerra
      Nov 2 '16 at 16:14








    • 1




      @M.Becerra, thanks for pointing out. I have corrected it now except for the last link because it is from askubuntu.com only.
      – vishal-wadhwa
      Nov 2 '16 at 16:19










    • Good! But you could still keep the links as "Extra info" or "In case you want to read more about it" and that way you show your sources as well. But great that you edited it.
      – M. Becerra
      Nov 2 '16 at 16:22


















    • Superscript is not the same as inserting the right characters. But thanks for the hint!
      – Rodrigo
      Nov 2 '16 at 16:11










    • Giving just links is arguable not an answer, you can read more about it here meta.stackexchange.com/questions/8231/…
      – M. Becerra
      Nov 2 '16 at 16:14








    • 1




      @M.Becerra, thanks for pointing out. I have corrected it now except for the last link because it is from askubuntu.com only.
      – vishal-wadhwa
      Nov 2 '16 at 16:19










    • Good! But you could still keep the links as "Extra info" or "In case you want to read more about it" and that way you show your sources as well. But great that you edited it.
      – M. Becerra
      Nov 2 '16 at 16:22
















    Superscript is not the same as inserting the right characters. But thanks for the hint!
    – Rodrigo
    Nov 2 '16 at 16:11




    Superscript is not the same as inserting the right characters. But thanks for the hint!
    – Rodrigo
    Nov 2 '16 at 16:11












    Giving just links is arguable not an answer, you can read more about it here meta.stackexchange.com/questions/8231/…
    – M. Becerra
    Nov 2 '16 at 16:14






    Giving just links is arguable not an answer, you can read more about it here meta.stackexchange.com/questions/8231/…
    – M. Becerra
    Nov 2 '16 at 16:14






    1




    1




    @M.Becerra, thanks for pointing out. I have corrected it now except for the last link because it is from askubuntu.com only.
    – vishal-wadhwa
    Nov 2 '16 at 16:19




    @M.Becerra, thanks for pointing out. I have corrected it now except for the last link because it is from askubuntu.com only.
    – vishal-wadhwa
    Nov 2 '16 at 16:19












    Good! But you could still keep the links as "Extra info" or "In case you want to read more about it" and that way you show your sources as well. But great that you edited it.
    – M. Becerra
    Nov 2 '16 at 16:22




    Good! But you could still keep the links as "Extra info" or "In case you want to read more about it" and that way you show your sources as well. But great that you edited it.
    – M. Becerra
    Nov 2 '16 at 16:22











    1














    Here's my favourite trick to type any Unicode character, in any context:




    1. Google 'Unicode for {the character}'. Make sure you use the exact
      character.

    2. Note down the 4 characters after the 'U+'. In this case, ª is 00AA and º is 00BA, but you can skip the leading zeroes.

    3. Type Ctrl+Shift+U. You will see the cursor transform into an underscored 'u'.

    4. Type the 4 characters and press space.


    Voila, your character is entered, and you don't need to mess around with keyboard layouts :)






    share|improve this answer























    • That's useful for other characters, not for something so common as º and ª in Brazil. Thanks!
      – Rodrigo
      Nov 2 '16 at 16:44










    • Sure, if you're going to be typing something constantly then it might just be easier to switch keyboard layouts, but honestly once you remember the code, it is fairly swift
      – Brendan Donegan
      Nov 2 '16 at 17:22
















    1














    Here's my favourite trick to type any Unicode character, in any context:




    1. Google 'Unicode for {the character}'. Make sure you use the exact
      character.

    2. Note down the 4 characters after the 'U+'. In this case, ª is 00AA and º is 00BA, but you can skip the leading zeroes.

    3. Type Ctrl+Shift+U. You will see the cursor transform into an underscored 'u'.

    4. Type the 4 characters and press space.


    Voila, your character is entered, and you don't need to mess around with keyboard layouts :)






    share|improve this answer























    • That's useful for other characters, not for something so common as º and ª in Brazil. Thanks!
      – Rodrigo
      Nov 2 '16 at 16:44










    • Sure, if you're going to be typing something constantly then it might just be easier to switch keyboard layouts, but honestly once you remember the code, it is fairly swift
      – Brendan Donegan
      Nov 2 '16 at 17:22














    1












    1








    1






    Here's my favourite trick to type any Unicode character, in any context:




    1. Google 'Unicode for {the character}'. Make sure you use the exact
      character.

    2. Note down the 4 characters after the 'U+'. In this case, ª is 00AA and º is 00BA, but you can skip the leading zeroes.

    3. Type Ctrl+Shift+U. You will see the cursor transform into an underscored 'u'.

    4. Type the 4 characters and press space.


    Voila, your character is entered, and you don't need to mess around with keyboard layouts :)






    share|improve this answer














    Here's my favourite trick to type any Unicode character, in any context:




    1. Google 'Unicode for {the character}'. Make sure you use the exact
      character.

    2. Note down the 4 characters after the 'U+'. In this case, ª is 00AA and º is 00BA, but you can skip the leading zeroes.

    3. Type Ctrl+Shift+U. You will see the cursor transform into an underscored 'u'.

    4. Type the 4 characters and press space.


    Voila, your character is entered, and you don't need to mess around with keyboard layouts :)







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Nov 3 '16 at 1:56









    wjandrea

    8,26842259




    8,26842259










    answered Nov 2 '16 at 16:39









    Brendan Donegan

    662




    662












    • That's useful for other characters, not for something so common as º and ª in Brazil. Thanks!
      – Rodrigo
      Nov 2 '16 at 16:44










    • Sure, if you're going to be typing something constantly then it might just be easier to switch keyboard layouts, but honestly once you remember the code, it is fairly swift
      – Brendan Donegan
      Nov 2 '16 at 17:22


















    • That's useful for other characters, not for something so common as º and ª in Brazil. Thanks!
      – Rodrigo
      Nov 2 '16 at 16:44










    • Sure, if you're going to be typing something constantly then it might just be easier to switch keyboard layouts, but honestly once you remember the code, it is fairly swift
      – Brendan Donegan
      Nov 2 '16 at 17:22
















    That's useful for other characters, not for something so common as º and ª in Brazil. Thanks!
    – Rodrigo
    Nov 2 '16 at 16:44




    That's useful for other characters, not for something so common as º and ª in Brazil. Thanks!
    – Rodrigo
    Nov 2 '16 at 16:44












    Sure, if you're going to be typing something constantly then it might just be easier to switch keyboard layouts, but honestly once you remember the code, it is fairly swift
    – Brendan Donegan
    Nov 2 '16 at 17:22




    Sure, if you're going to be typing something constantly then it might just be easier to switch keyboard layouts, but honestly once you remember the code, it is fairly swift
    – Brendan Donegan
    Nov 2 '16 at 17:22











    1














    To keep using Compose Key, a, _ and Compose Key, o, _ key combinations to type ª and º you should create a ~/.XCompose file on your home directory with the following contents:



    include "/usr/share/X11/locale/en_US.UTF-8/Compose"
    <Multi_key> <underscore> <a> : "ª" ordfeminine # FEMININE ORDINAL INDICATOR
    <Multi_key> <a> <underscore> : "ª" ordfeminine # FEMININE ORDINAL INDICATOR
    <Multi_key> <underscore> <o> : "º" masculine # MASCULINE ORDINAL INDICATOR
    <Multi_key> <o> <underscore> : "º" masculine # MASCULINE ORDINAL INDICATOR




    The reason Compose Key, a, _ gives you the ā character is because that's exactly what is configured on current Xorg X Server Compose Key mappings. Take a look at /usr/share/X11/locale/en_US.UTF-8/Compose:



    <Multi_key> <underscore> <a>            : "ā"   U0101 # LATIN SMALL LETTER A WITH MACRON


    It must have been different on the past, and all those websites with keymappings are outdated.



    On that same file you'll see that in order to insert a ª you have to press ^, Compose Key, _, a:



    <dead_circumflex> <Multi_key> <underscore> <a>  : "ª"   ordfeminine # FEMININE ORDINAL INDICA>


    This will only work if your current keyboard layout outputs a silent (aka dead) ^. That's the default on the US intl keyboard variant.






    share|improve this answer


























      1














      To keep using Compose Key, a, _ and Compose Key, o, _ key combinations to type ª and º you should create a ~/.XCompose file on your home directory with the following contents:



      include "/usr/share/X11/locale/en_US.UTF-8/Compose"
      <Multi_key> <underscore> <a> : "ª" ordfeminine # FEMININE ORDINAL INDICATOR
      <Multi_key> <a> <underscore> : "ª" ordfeminine # FEMININE ORDINAL INDICATOR
      <Multi_key> <underscore> <o> : "º" masculine # MASCULINE ORDINAL INDICATOR
      <Multi_key> <o> <underscore> : "º" masculine # MASCULINE ORDINAL INDICATOR




      The reason Compose Key, a, _ gives you the ā character is because that's exactly what is configured on current Xorg X Server Compose Key mappings. Take a look at /usr/share/X11/locale/en_US.UTF-8/Compose:



      <Multi_key> <underscore> <a>            : "ā"   U0101 # LATIN SMALL LETTER A WITH MACRON


      It must have been different on the past, and all those websites with keymappings are outdated.



      On that same file you'll see that in order to insert a ª you have to press ^, Compose Key, _, a:



      <dead_circumflex> <Multi_key> <underscore> <a>  : "ª"   ordfeminine # FEMININE ORDINAL INDICA>


      This will only work if your current keyboard layout outputs a silent (aka dead) ^. That's the default on the US intl keyboard variant.






      share|improve this answer
























        1












        1








        1






        To keep using Compose Key, a, _ and Compose Key, o, _ key combinations to type ª and º you should create a ~/.XCompose file on your home directory with the following contents:



        include "/usr/share/X11/locale/en_US.UTF-8/Compose"
        <Multi_key> <underscore> <a> : "ª" ordfeminine # FEMININE ORDINAL INDICATOR
        <Multi_key> <a> <underscore> : "ª" ordfeminine # FEMININE ORDINAL INDICATOR
        <Multi_key> <underscore> <o> : "º" masculine # MASCULINE ORDINAL INDICATOR
        <Multi_key> <o> <underscore> : "º" masculine # MASCULINE ORDINAL INDICATOR




        The reason Compose Key, a, _ gives you the ā character is because that's exactly what is configured on current Xorg X Server Compose Key mappings. Take a look at /usr/share/X11/locale/en_US.UTF-8/Compose:



        <Multi_key> <underscore> <a>            : "ā"   U0101 # LATIN SMALL LETTER A WITH MACRON


        It must have been different on the past, and all those websites with keymappings are outdated.



        On that same file you'll see that in order to insert a ª you have to press ^, Compose Key, _, a:



        <dead_circumflex> <Multi_key> <underscore> <a>  : "ª"   ordfeminine # FEMININE ORDINAL INDICA>


        This will only work if your current keyboard layout outputs a silent (aka dead) ^. That's the default on the US intl keyboard variant.






        share|improve this answer












        To keep using Compose Key, a, _ and Compose Key, o, _ key combinations to type ª and º you should create a ~/.XCompose file on your home directory with the following contents:



        include "/usr/share/X11/locale/en_US.UTF-8/Compose"
        <Multi_key> <underscore> <a> : "ª" ordfeminine # FEMININE ORDINAL INDICATOR
        <Multi_key> <a> <underscore> : "ª" ordfeminine # FEMININE ORDINAL INDICATOR
        <Multi_key> <underscore> <o> : "º" masculine # MASCULINE ORDINAL INDICATOR
        <Multi_key> <o> <underscore> : "º" masculine # MASCULINE ORDINAL INDICATOR




        The reason Compose Key, a, _ gives you the ā character is because that's exactly what is configured on current Xorg X Server Compose Key mappings. Take a look at /usr/share/X11/locale/en_US.UTF-8/Compose:



        <Multi_key> <underscore> <a>            : "ā"   U0101 # LATIN SMALL LETTER A WITH MACRON


        It must have been different on the past, and all those websites with keymappings are outdated.



        On that same file you'll see that in order to insert a ª you have to press ^, Compose Key, _, a:



        <dead_circumflex> <Multi_key> <underscore> <a>  : "ª"   ordfeminine # FEMININE ORDINAL INDICA>


        This will only work if your current keyboard layout outputs a silent (aka dead) ^. That's the default on the US intl keyboard variant.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 9 at 19:29









        dllud

        33626




        33626






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f844727%2fhow-to-type-%25c2%25aa-in-ubuntu-16-04%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Ellipse (mathématiques)

            Quarter-circle Tiles

            Mont Emei