LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-12-2004, 08:20 AM   #1
culturejam
LQ Newbie
 
Registered: Sep 2004
Location: Hopatcong, NJ
Distribution: Debian
Posts: 26

Rep: Reputation: 15
Typing em dashes?


I need to be able to type em dashes in a project I'm working on, but I can't figure out how to do it on Linux. On Windows, it's ALT+0175 and on Mac it's SHIFT+OPTION+-. I'm trying to figure out the equivalent to this on Linux.

I googled around and found that the linux code is U+2015, but I don't know how to type this. What is the "U" portion of the code?

I'm doing the project with OpenOffice. I know OO has a a replace feature that turns "--" into an em dash, but I don't want to use that. I started the project in Word and when I imported into OO, and the existing em dashes are still in the document. I can cut and paste them, but I want to know how to create them.

Hope this makes sense.

Thanks
 
Old 12-13-2004, 10:11 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
You want to look at xmodmap, which can be configured for Unicode keycodes I believe. It will assign any keystroke to any X key (including whatever Ctrl/Meta/Shift combinations you're comfortable with).

The U+ prefix just indicates that you have a Unicode character, rather than any other multi-byte character. You can't type it in as you would under Windows.

This may help, but doesn't mention Unicode (you'll have to google for that): http://www.tldp.org/HOWTO/Intkeyb/index.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dashes in Grub.conf herkdrvr Linux - Newbie 2 10-12-2004 08:33 AM
qmail ignores aliases with DASHES (-) in them.. why? ivj Linux - Software 0 07-30-2004 04:20 PM
typing tutor raees Linux - General 5 03-16-2004 06:03 PM
Typing JROCK1980 Linux - Software 3 11-04-2003 06:04 AM
Typing Vietnamese trihai44100 Linux - Software 0 07-10-2003 06:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration