Latex use in Lyx

2011-07-26 Thread Johan
Hello.

I did see I can add LaTeX code to Lyx, it is displayed as latex code. I want to
type some shotcut key and $\int$ then I want to see the integral sign in math
mode. Is this possible in Lyx?

Also for environments like \begin{enumerate}...\end{enumerate},
\begin{align*}...\end{align*}, etc ..

Regards

Johan.



Re: Latex use in Lyx

2011-07-26 Thread Liviu Andronic
On Tue, Jul 26, 2011 at 1:26 PM, Johan sa...@vaderberg.info wrote:
 Hello.

 I did see I can add LaTeX code to Lyx, it is displayed as latex code. I want 
 to
 type some shotcut key and $\int$ then I want to see the integral sign in math
 mode. Is this possible in Lyx?

Yes. Enter math mode with 'ctrl + m' and then tab-completion will work.

 Also for environments like \begin{enumerate}...\end{enumerate},
 \begin{align*}...\end{align*}, etc ..

I don't think so (but I may be wrong). Simply choose the correct
environment using the UI.
Liviu


Re: Latex use in Lyx

2011-07-26 Thread David L. Johnson

On 07/26/2011 07:26 AM, Johan wrote:

Hello.

I did see I can add LaTeX code to Lyx, it is displayed as latex code. I want to
type some shotcut key and $\int$ then I want to see the integral sign in math
mode. Is this possible in Lyx?
Certainly.  You can use Ctrl-m to enter math-mode, then \int (no need to 
use the $'s) will get you an integral sign.  Or, you can bind enter 
math mode to a function key (I use f10).

Also for environments like \begin{enumerate}...\end{enumerate},
\begin{align*}...\end{align*}, etc ..
Again, there are built-in shortcuts, or you can assign keys to the ones 
you use most often.




--

David L. Johnson

Business! cried the Ghost. Mankind was my business. The common
welfare was my business; charity, mercy, forbearance,  and benevolence,
were, all, my business. The dealings of my trade were but a drop of
water in the comprehensive ocean of my business!
--Dickens, A Christmas Carol



Re: Latex use in Lyx

2011-07-26 Thread Helge Hafting

On 26. juli 2011 13:26, Johan wrote:

Hello.

I did see I can add LaTeX code to Lyx, it is displayed as latex code. I want to
type some shotcut key and $\int$ then I want to see the integral sign in math
mode. Is this possible in Lyx?

Hit ctrl+m, then write latex math. It will be converted to integrals 
etc. as you type.



Also for environments like \begin{enumerate}...\end{enumerate},
\begin{align*}...\end{align*}, etc ..


You don't *need* this for enumerate, simply select enumerate and you 
will get a numbered list.


If you *want* to write latex code instead, click the TeX button. You'll 
get a red frame into which you can type any latex command. But it will 
stay as latex commands on screen, becoming lists etc. only when you print.


Helge Hafting


Latex use in Lyx

2011-07-26 Thread Johan
Hello.

I did see I can add LaTeX code to Lyx, it is displayed as latex code. I want to
type some shotcut key and $\int$ then I want to see the integral sign in math
mode. Is this possible in Lyx?

Also for environments like \begin{enumerate}...\end{enumerate},
\begin{align*}...\end{align*}, etc ..

Regards

Johan.



Re: Latex use in Lyx

2011-07-26 Thread Liviu Andronic
On Tue, Jul 26, 2011 at 1:26 PM, Johan sa...@vaderberg.info wrote:
 Hello.

 I did see I can add LaTeX code to Lyx, it is displayed as latex code. I want 
 to
 type some shotcut key and $\int$ then I want to see the integral sign in math
 mode. Is this possible in Lyx?

Yes. Enter math mode with 'ctrl + m' and then tab-completion will work.

 Also for environments like \begin{enumerate}...\end{enumerate},
 \begin{align*}...\end{align*}, etc ..

I don't think so (but I may be wrong). Simply choose the correct
environment using the UI.
Liviu


Re: Latex use in Lyx

2011-07-26 Thread David L. Johnson

On 07/26/2011 07:26 AM, Johan wrote:

Hello.

I did see I can add LaTeX code to Lyx, it is displayed as latex code. I want to
type some shotcut key and $\int$ then I want to see the integral sign in math
mode. Is this possible in Lyx?
Certainly.  You can use Ctrl-m to enter math-mode, then \int (no need to 
use the $'s) will get you an integral sign.  Or, you can bind enter 
math mode to a function key (I use f10).

Also for environments like \begin{enumerate}...\end{enumerate},
\begin{align*}...\end{align*}, etc ..
Again, there are built-in shortcuts, or you can assign keys to the ones 
you use most often.




--

David L. Johnson

Business! cried the Ghost. Mankind was my business. The common
welfare was my business; charity, mercy, forbearance,  and benevolence,
were, all, my business. The dealings of my trade were but a drop of
water in the comprehensive ocean of my business!
--Dickens, A Christmas Carol



Re: Latex use in Lyx

2011-07-26 Thread Helge Hafting

On 26. juli 2011 13:26, Johan wrote:

Hello.

I did see I can add LaTeX code to Lyx, it is displayed as latex code. I want to
type some shotcut key and $\int$ then I want to see the integral sign in math
mode. Is this possible in Lyx?

Hit ctrl+m, then write latex math. It will be converted to integrals 
etc. as you type.



Also for environments like \begin{enumerate}...\end{enumerate},
\begin{align*}...\end{align*}, etc ..


You don't *need* this for enumerate, simply select enumerate and you 
will get a numbered list.


If you *want* to write latex code instead, click the TeX button. You'll 
get a red frame into which you can type any latex command. But it will 
stay as latex commands on screen, becoming lists etc. only when you print.


Helge Hafting


Latex use in Lyx

2011-07-26 Thread Johan
Hello.

I did see I can add LaTeX code to Lyx, it is displayed as latex code. I want to
type some shotcut key and $\int$ then I want to see the integral sign in math
mode. Is this possible in Lyx?

Also for environments like \begin{enumerate}...\end{enumerate},
\begin{align*}...\end{align*}, etc ..

Regards

Johan.



Re: Latex use in Lyx

2011-07-26 Thread Liviu Andronic
On Tue, Jul 26, 2011 at 1:26 PM, Johan  wrote:
> Hello.
>
> I did see I can add LaTeX code to Lyx, it is displayed as latex code. I want 
> to
> type some shotcut key and $\int$ then I want to see the integral sign in math
> mode. Is this possible in Lyx?
>
Yes. Enter math mode with 'ctrl + m' and then tab-completion will work.

> Also for environments like \begin{enumerate}...\end{enumerate},
> \begin{align*}...\end{align*}, etc ..
>
I don't think so (but I may be wrong). Simply choose the correct
environment using the UI.
Liviu


Re: Latex use in Lyx

2011-07-26 Thread David L. Johnson

On 07/26/2011 07:26 AM, Johan wrote:

Hello.

I did see I can add LaTeX code to Lyx, it is displayed as latex code. I want to
type some shotcut key and $\int$ then I want to see the integral sign in math
mode. Is this possible in Lyx?
Certainly.  You can use Ctrl-m to enter math-mode, then \int (no need to 
use the $'s) will get you an integral sign.  Or, you can bind "enter 
math mode" to a function key (I use f10).

Also for environments like \begin{enumerate}...\end{enumerate},
\begin{align*}...\end{align*}, etc ..
Again, there are built-in shortcuts, or you can assign keys to the ones 
you use most often.




--

David L. Johnson

"Business!" cried the Ghost. "Mankind was my business. The common
welfare was my business; charity, mercy, forbearance,  and benevolence,
were, all, my business. The dealings of my trade were but a drop of
water in the comprehensive ocean of my business!"
--Dickens, "A Christmas Carol"



Re: Latex use in Lyx

2011-07-26 Thread Helge Hafting

On 26. juli 2011 13:26, Johan wrote:

Hello.

I did see I can add LaTeX code to Lyx, it is displayed as latex code. I want to
type some shotcut key and $\int$ then I want to see the integral sign in math
mode. Is this possible in Lyx?

Hit ctrl+m, then write latex math. It will be converted to integrals 
etc. as you type.



Also for environments like \begin{enumerate}...\end{enumerate},
\begin{align*}...\end{align*}, etc ..


You don't *need* this for "enumerate", simply select enumerate and you 
will get a numbered list.


If you *want* to write latex code instead, click the TeX button. You'll 
get a red frame into which you can type any latex command. But it will 
stay as latex commands on screen, becoming lists etc. only when you print.


Helge Hafting