Thursday, May 2, 2024
9
rated 0 times [  9] [ 0]  / answers: 1 / hits: 7156  / 2 Years ago, fri, june 3, 2022, 3:08:32

In Mac OS X there are ways to input punctuation marks by combination of some keystrokes. For example, Alt + ; inputs a precomposed ellipsis character (, U+2026). Alt + [ opens a curly double quote character (, U+201C). Is there any way to input such punctuation marks in simple combination of keystrokes in Ubuntu?



The following is a list of characters I want to use:




  • (U+2018): Single quote opening

  • (U+2019): Single quote closing

  • (U+201C): Double quote opening

  • (U+201D): Double quote closing

  • (U+2026): Precomposed ellipsis

  • (U+2014): Em dash

  • (U+2013): En dash


More From » shortcut-keys

 Answers
0

I think what you are looking for is in the Unicode composition section of the Ubuntu documentation for the ComposeKey. The next bit is based on the instructions in that section.






Another means to enter non-keycap characters is to enter them as a Unicode character number.




  • Press ShiftCtrl+U.


    Release U while continuing to hold down ShiftCtrl.



    Enter the four hexadecimal digit (0123456789abcdef) number for the Unicode character code point. (An underlined u followed by the number will display as you type.)


    Release ShiftCtrl.


  • Another alternative is to press (and release) ShiftCtrl+U. An underlined u is displayed.


    Enter the hexadecimal Unicode character code point


    Press Return.







I used the instructions above to create this string: ‘some text’ … (Ta-Da!)



For whatever its worth, I found this by looking at this answer to the question "How can I type special characters like ë?".



This question was at the top of the list of links "Related" to your question. The Related links list is always present in the right hand sidebar of any question on a Stack Exchange site.


[#38781] Saturday, June 4, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
diffeah

Total Points: 78
Total Questions: 130
Total Answers: 98

Location: Peru
Member since Fri, Oct 14, 2022
2 Years ago
;