Re: short cuts: fonts in math mode

2010-08-13 Thread Paul A. Rubin

On 8/12/2010 6:22 PM, Uwe Stöhr wrote:

There are already some shortcuts. Highlight some parts of your formula
and then press Alt+c and then r. This leads to upright characters
(\mathrm).

Alt+c and c gives for example \mathbb.

After typing Alt+c the LyX status bar will show you the available
characters connected to the Alt+c shortcut. For more shortcuts have a
look at the LyX menu Tools-Preferences-Editing-Shortcuts.



This is very useful to know but not visible in the Tools  ...  
Shortcuts dialog.  (If you filter on Alt+C, only boldsymbol and roman 
appear, and the user has to recognize that roman implies \mathrm in math 
mode.)  I've filed an enhancement ticket to add the relevant options to 
the Mathematical Symbols section of Tools  ...  Shortcuts, and in the 
interim I put a table of shortcuts in the wiki 
(http://wiki.lyx.org/LyX/MathInLyX#toc4).


/Paul



Re: short cuts: fonts in math mode

2010-08-13 Thread Uwe Stöhr

Am 13.08.2010 09:50, schrieb Jannick Asmus:


Alt+c and c gives for example \mathbb.


This changes to mathtt (typewriter - as given in the LyX menu for short
cuts and the short cut docu (German version)) in my version (1.6.7
Greman/WinVista) - of course with the modication in your important PS.


With German menus you get \mathbb with Alt+z k .
the shortcuts are defined in the file menus.bind. So have a look at 
your windows in the folder


~:\Programme\LyX 1.6.7\Resources\bind\de

and open menus.bind with a text editor.

The English shortcuts are defined in the menus.bind in this folder

~:\Programme\LyX 1.6.7\Resources\bind

regards Uwe


Re: short cuts: fonts in math mode

2010-08-13 Thread Uwe Stöhr

Am 13.08.2010 17:24, schrieb Jannick Asmus:


With German menus you get \mathbb with Alt+z k .
the shortcuts are defined in the file menus.bind. So have a look at
your windows in the folder

~:\Programme\LyX 1.6.7\Resources\bind\de

and open menus.bind with a text editor.


Sorry for being a bit insisting here. In my version Alt+z k means
font-noun.


That is \mathbb. Just use the shortcut Alt+z k and you can see in LyX's 
View source window (menu View-View Source) that \mathbb is created.


regards Uwe


Re: short cuts: fonts in math mode

2010-08-13 Thread Paul A. Rubin

On 8/12/2010 6:22 PM, Uwe Stöhr wrote:

There are already some shortcuts. Highlight some parts of your formula
and then press Alt+c and then r. This leads to upright characters
(\mathrm).

Alt+c and c gives for example \mathbb.

After typing Alt+c the LyX status bar will show you the available
characters connected to the Alt+c shortcut. For more shortcuts have a
look at the LyX menu Tools-Preferences-Editing-Shortcuts.



This is very useful to know but not visible in the Tools  ...  
Shortcuts dialog.  (If you filter on Alt+C, only boldsymbol and roman 
appear, and the user has to recognize that roman implies \mathrm in math 
mode.)  I've filed an enhancement ticket to add the relevant options to 
the Mathematical Symbols section of Tools  ...  Shortcuts, and in the 
interim I put a table of shortcuts in the wiki 
(http://wiki.lyx.org/LyX/MathInLyX#toc4).


/Paul



Re: short cuts: fonts in math mode

2010-08-13 Thread Uwe Stöhr

Am 13.08.2010 09:50, schrieb Jannick Asmus:


Alt+c and c gives for example \mathbb.


This changes to mathtt (typewriter - as given in the LyX menu for short
cuts and the short cut docu (German version)) in my version (1.6.7
Greman/WinVista) - of course with the modication in your important PS.


With German menus you get \mathbb with Alt+z k .
the shortcuts are defined in the file menus.bind. So have a look at 
your windows in the folder


~:\Programme\LyX 1.6.7\Resources\bind\de

and open menus.bind with a text editor.

The English shortcuts are defined in the menus.bind in this folder

~:\Programme\LyX 1.6.7\Resources\bind

regards Uwe


Re: short cuts: fonts in math mode

2010-08-13 Thread Uwe Stöhr

Am 13.08.2010 17:24, schrieb Jannick Asmus:


With German menus you get \mathbb with Alt+z k .
the shortcuts are defined in the file menus.bind. So have a look at
your windows in the folder

~:\Programme\LyX 1.6.7\Resources\bind\de

and open menus.bind with a text editor.


Sorry for being a bit insisting here. In my version Alt+z k means
font-noun.


That is \mathbb. Just use the shortcut Alt+z k and you can see in LyX's 
View source window (menu View-View Source) that \mathbb is created.


regards Uwe


Re: short cuts: fonts in math mode

2010-08-13 Thread Paul A. Rubin

On 8/12/2010 6:22 PM, Uwe Stöhr wrote:

There are already some shortcuts. Highlight some parts of your formula
and then press "Alt+c" and then "r". This leads to upright characters
(\mathrm).

Alt+c and c gives for example \mathbb.

After typing Alt+c the LyX status bar will show you the available
characters connected to the Alt+c shortcut. For more shortcuts have a
look at the LyX menu Tools->Preferences->Editing->Shortcuts.



This is very useful to know but not visible in the Tools > ... > 
Shortcuts dialog.  (If you filter on Alt+C, only boldsymbol and roman 
appear, and the user has to recognize that roman implies \mathrm in math 
mode.)  I've filed an enhancement ticket to add the relevant options to 
the Mathematical Symbols section of Tools > ... > Shortcuts, and in the 
interim I put a table of shortcuts in the wiki 
(http://wiki.lyx.org/LyX/MathInLyX#toc4).


/Paul



Re: short cuts: fonts in math mode

2010-08-13 Thread Uwe Stöhr

Am 13.08.2010 09:50, schrieb Jannick Asmus:


Alt+c and c gives for example \mathbb.


This changes to mathtt (typewriter - as given in the LyX menu for short
cuts and the short cut docu (German version)) in my version (1.6.7
Greman/WinVista) - of course with the modication in your important PS.


With German menus you get \mathbb with Alt+z k .
the shortcuts are defined in the file "menus.bind". So have a look at 
your windows in the folder


~:\Programme\LyX 1.6.7\Resources\bind\de

and open menus.bind with a text editor.

The English shortcuts are defined in the menus.bind in this folder

~:\Programme\LyX 1.6.7\Resources\bind

regards Uwe


Re: short cuts: fonts in math mode

2010-08-13 Thread Uwe Stöhr

Am 13.08.2010 17:24, schrieb Jannick Asmus:


With German menus you get \mathbb with Alt+z k .
the shortcuts are defined in the file "menus.bind". So have a look at
your windows in the folder

~:\Programme\LyX 1.6.7\Resources\bind\de

and open menus.bind with a text editor.


Sorry for being a bit insisting here. In my version Alt+z k means
font-noun.


That is \mathbb. Just use the shortcut Alt+z k and you can see in LyX's 
View source window (menu View->View Source) that \mathbb is created.


regards Uwe


Re: short cuts: fonts in math mode

2010-08-12 Thread Paul Rubin
Jannick Asmus jannick.news at gmail.com writes:

 
 I am extensively using the math mode in LyX and 1000 times I have already
 typed \mathbb or \mathcal for changing the font. Is there a short cut
 for that?

Not that I know of.

 If not yet how can it be configured?

You can bind an unused key combination to 'math-insert \mathbb' or 'math-insert
\mathcal'.  (See Help  Shortcuts if you do not know how to create your own
bindings. Do not include the quotes.)  If you use the shortcut inside a mathed
insert with nothing selected, it will create an inset for the font but put the
cursor just to the right of the inset (so you'll need to move back one position
to type in the symbols).  If you have something selected, the selected content
will be switched to the font and the cursor will be positioned just to the right
of the last selected character but still inside the font inset.

Usually, when I'm using either of those fonts, it is for a small number of
repeatedly written symbols.  Rather than creating a shortcut for the font (and
then forgetting what it was), I create macros for the specific symbols at the
front of the document (so that, for instance, \sX expands to \mathcal{X}).

/Paul



Re: short cuts: fonts in math mode

2010-08-12 Thread Jean-Marc Lasgouttes

Le 12 août 10 à 21:11, Jannick Asmus a écrit :
I am extensively using the math mode in LyX and 1000 times I have  
already
typed \mathbb or \mathcal for changing the font. Is there a  
short cut

for that? If not yet how can it be configured?


You get mathcal if you ask for emphasize (Ctrl-E).

JMarc

Re: short cuts: fonts in math mode

2010-08-12 Thread Uwe Stöhr

Am 12.08.2010 21:11, schrieb Jannick Asmus:


I am extensively using the math mode in LyX and 1000 times I have already
typed \mathbb or \mathcal for changing the font. Is there a short cut
for that? If not yet how can it be configured?


There are already some shortcuts. Highlight some parts of your formula and then press Alt+c and 
then r. This leads to upright characters (\mathrm).


Alt+c and c gives for example \mathbb.

After typing Alt+c the LyX status bar will show you the available characters connected to the Alt+c 
shortcut. For more shortcuts have a look at the LyX menu Tools-Preferences-Editing-Shortcuts.


regards
Uwe

p.s. Note that on LyX with German menus, Alt+c becomes Alt+z


Re: short cuts: fonts in math mode

2010-08-12 Thread Paul Rubin
Jannick Asmus jannick.news at gmail.com writes:

 
 I am extensively using the math mode in LyX and 1000 times I have already
 typed \mathbb or \mathcal for changing the font. Is there a short cut
 for that?

Not that I know of.

 If not yet how can it be configured?

You can bind an unused key combination to 'math-insert \mathbb' or 'math-insert
\mathcal'.  (See Help  Shortcuts if you do not know how to create your own
bindings. Do not include the quotes.)  If you use the shortcut inside a mathed
insert with nothing selected, it will create an inset for the font but put the
cursor just to the right of the inset (so you'll need to move back one position
to type in the symbols).  If you have something selected, the selected content
will be switched to the font and the cursor will be positioned just to the right
of the last selected character but still inside the font inset.

Usually, when I'm using either of those fonts, it is for a small number of
repeatedly written symbols.  Rather than creating a shortcut for the font (and
then forgetting what it was), I create macros for the specific symbols at the
front of the document (so that, for instance, \sX expands to \mathcal{X}).

/Paul



Re: short cuts: fonts in math mode

2010-08-12 Thread Jean-Marc Lasgouttes

Le 12 août 10 à 21:11, Jannick Asmus a écrit :
I am extensively using the math mode in LyX and 1000 times I have  
already
typed \mathbb or \mathcal for changing the font. Is there a  
short cut

for that? If not yet how can it be configured?


You get mathcal if you ask for emphasize (Ctrl-E).

JMarc

Re: short cuts: fonts in math mode

2010-08-12 Thread Uwe Stöhr

Am 12.08.2010 21:11, schrieb Jannick Asmus:


I am extensively using the math mode in LyX and 1000 times I have already
typed \mathbb or \mathcal for changing the font. Is there a short cut
for that? If not yet how can it be configured?


There are already some shortcuts. Highlight some parts of your formula and then press Alt+c and 
then r. This leads to upright characters (\mathrm).


Alt+c and c gives for example \mathbb.

After typing Alt+c the LyX status bar will show you the available characters connected to the Alt+c 
shortcut. For more shortcuts have a look at the LyX menu Tools-Preferences-Editing-Shortcuts.


regards
Uwe

p.s. Note that on LyX with German menus, Alt+c becomes Alt+z


Re: short cuts: fonts in math mode

2010-08-12 Thread Paul Rubin
Jannick Asmus  gmail.com> writes:

> 
> I am extensively using the math mode in LyX and 1000 times I have already
> typed "\mathbb" or "\mathcal" for changing the font. Is there a short cut
> for that?

Not that I know of.

> If not yet how can it be configured?

You can bind an unused key combination to 'math-insert \mathbb' or 'math-insert
\mathcal'.  (See Help > Shortcuts if you do not know how to create your own
bindings. Do not include the quotes.)  If you use the shortcut inside a mathed
insert with nothing selected, it will create an inset for the font but put the
cursor just to the right of the inset (so you'll need to move back one position
to type in the symbols).  If you have something selected, the selected content
will be switched to the font and the cursor will be positioned just to the right
of the last selected character but still inside the font inset.

Usually, when I'm using either of those fonts, it is for a small number of
repeatedly written symbols.  Rather than creating a shortcut for the font (and
then forgetting what it was), I create macros for the specific symbols at the
front of the document (so that, for instance, \sX expands to \mathcal{X}).

/Paul



Re: short cuts: fonts in math mode

2010-08-12 Thread Jean-Marc Lasgouttes

Le 12 août 10 à 21:11, Jannick Asmus a écrit :
I am extensively using the math mode in LyX and 1000 times I have  
already
typed "\mathbb" or "\mathcal" for changing the font. Is there a  
short cut

for that? If not yet how can it be configured?


You get mathcal if you ask for emphasize (Ctrl-E).

JMarc

Re: short cuts: fonts in math mode

2010-08-12 Thread Uwe Stöhr

Am 12.08.2010 21:11, schrieb Jannick Asmus:


I am extensively using the math mode in LyX and 1000 times I have already
typed "\mathbb" or "\mathcal" for changing the font. Is there a short cut
for that? If not yet how can it be configured?


There are already some shortcuts. Highlight some parts of your formula and then press "Alt+c" and 
then "r". This leads to upright characters (\mathrm).


Alt+c and c gives for example \mathbb.

After typing Alt+c the LyX status bar will show you the available characters connected to the Alt+c 
shortcut. For more shortcuts have a look at the LyX menu Tools->Preferences->Editing->Shortcuts.


regards
Uwe

p.s. Note that on LyX with German menus, Alt+c becomes Alt+z