I know in pages it's possible to type super script or subscript after using the command: CMD, CTRL, + / -
Is it possible to type subscript/superscript in adium in any way (other that going to the character palette and then clicking insert)?
Btw: I mean for things like ∏² , C0₂ etc
Super/Sub script
-
pjrobertson
- Harmless
- Posts: 5
- Joined: Sun Mar 16, 2008 6:27 pm
Re: Super/Sub script
Hmm, from the lack of comments I guess it's not possible...
Re: Super/Sub script
If you have the character palette open, you can use it to insert sub/super script text into the current cursor location. This requires that you don't need anything more than what is available in fonts (i.e. it doesn't appear that you can enter arbitrary text in a super/sub script). You can get easier access to the character palette by adding it to the menu bar in System Preferences -> International -> Input Menu.
If you have a big need to insert super/subscript stuff very often, you can save certain symbols to the character palette favorites for quick access to them.
If you have a big need to insert super/subscript stuff very often, you can save certain symbols to the character palette favorites for quick access to them.
-
pjrobertson
- Harmless
- Posts: 5
- Joined: Sun Mar 16, 2008 6:27 pm
Re: Super/Sub script
Hmm yeah. I guess the character palette is the only way. 
Thanks anyway!
Thanks anyway!
Re: Super/Sub script
What I do to use super– and subscripts is using a custom default key binding, which works in all cocoa applications.
With this I can type superscript characters by typing ctrl + ' and a number, and subscript with ctrl + -
This is the file I use (see the above link for how to install):
You can also have it do greek letters etc.
I hope this helps.
With this I can type superscript characters by typing ctrl + ' and a number, and subscript with ctrl + -
This is the file I use (see the above link for how to install):
Code: Select all
{
/* superscript */
"^'" = {
"1" = ("insertText:", "\U00B9");
"2" = ("insertText:", "\U00B2");
"3" = ("insertText:", "\U00B3");
"4" = ("insertText:", "\U2074");
"5" = ("insertText:", "\U2075");
"6" = ("insertText:", "\U2076");
"7" = ("insertText:", "\U2077");
"8" = ("insertText:", "\U2078");
"9" = ("insertText:", "\U2079");
"0" = ("insertText:", "\U2070");
"i" = ("insertText:", "\U2071");
"n" = ("insertText:", "\U207F");
"(" = ("insertText:", "\U207D");
")" = ("insertText:", "\U207E");
"+" = ("insertText:", "\U207A");
"-" = ("insertText:", "\U207B");
"=" = ("insertText:", "\U207C");
};
/* subscript */
"^-" = {
"1" = ("insertText:", "\U2081");
"2" = ("insertText:", "\U2082");
"3" = ("insertText:", "\U2083");
"4" = ("insertText:", "\U2084");
"5" = ("insertText:", "\U2085");
"6" = ("insertText:", "\U2086");
"7" = ("insertText:", "\U2087");
"8" = ("insertText:", "\U2088");
"9" = ("insertText:", "\U2089");
"0" = ("insertText:", "\U2080");
"(" = ("insertText:", "\U208D");
")" = ("insertText:", "\U208E");
"+" = ("insertText:", "\U208A");
"-" = ("insertText:", "\U208B");
"=" = ("insertText:", "\U208C");
};
}I hope this helps.
-
pjrobertson
- Harmless
- Posts: 5
- Joined: Sun Mar 16, 2008 6:27 pm
Re: Super/Sub script
Thanks Perdu, that looks like a good solution.
I've made a DefaultKeyBindings.dict file and added your code
But things don't seem to work. I think it might be because Leopard uses Ctrl + 1,2 etc. for spaces.
Is there any work around? Thanks
Edit: I got this to work. You need to type CTRL + ' / - THEN your number. I was trying to type CTRL + '/- + number all at the same time.
Thanks Perdu!
I've made a DefaultKeyBindings.dict file and added your code
But things don't seem to work. I think it might be because Leopard uses Ctrl + 1,2 etc. for spaces.
Is there any work around? Thanks
Edit: I got this to work. You need to type CTRL + ' / - THEN your number. I was trying to type CTRL + '/- + number all at the same time.
Thanks Perdu!