# LyX & LaTeX formulas

When I open a new project in LyX, i cannot pass LaTeX functions inside my text. e.g. \sqrt A or \frac{A}b etc. As i know and i have seen in many video presentations when the user insert a LaTeX formula in LyX editor this is compiled directly to a "understood-mathematical" output. Should i activate something?

** (I am new to LaTeX and LyX; until now i was using MS Word. First I tried to install MikTeX, but ran into problems; now I have installed TEXlive and LyX to do my job. It is working nice but the installation TEXlive takes time (~2h))

You can put directly a math formula, type Ctrl + L and put your formula inside two .
If you want to do \frac{x}{y}, then type Ctrl + L $\frac{x}{y}$.