You have to press Ctrl + Shift + u (for Unicode characters) then add the respective hexadecimal number of your symbol, which you can get from the Character Map (gucharmap) and press enter. In your case this would be 2013 or 2010.
NOTE: That is Compose + - (a hyphen keypress), a second press of that same key, and a . (period keypress), all in close succession.
But for those wondering what a "Compose key" is, it's a key not found on many modern American keyboards ... but that doesn't mean you're out of luck. You can enable a "Compose" key using your OS variant's keyboard tool.
For instance, in Linux Mint you would go to keyboard settings (or "preferences"), click the Layout tab, click the Options button, and then use Position of Compose Key option to set which key on your keyboard you want to use.
I picked the right Windows key on my keyboard, and from that point on I could press that key, and then the hyphen key three times, to generate an em dash, or that key, a period, and two hyphens to generate an en dash.
You have to press Ctrl + Shift + u (for Unicode characters) then add the respective hexadecimal number of your symbol, which you can get from the Character Map (
gucharmap
) and press enter. In your case this would be 2013 or 2010.Compose+--. is the fastest way.
As the community wiki says
NOTE: That is Compose +
-
(a hyphen keypress), a second press of that same key, and a.
(period keypress), all in close succession.But for those wondering what a "Compose key" is, it's a key not found on many modern American keyboards ... but that doesn't mean you're out of luck. You can enable a "Compose" key using your OS variant's keyboard tool.
For instance, in Linux Mint you would go to keyboard settings (or "preferences"), click the Layout tab, click the Options button, and then use Position of Compose Key option to set which key on your keyboard you want to use.
I picked the right Windows key on my keyboard, and from that point on I could press that key, and then the hyphen key three times, to generate an em dash, or that key, a period, and two hyphens to generate an en dash.