Why not simply enter it inline in math mode?
> On Jun 13, 2019, at 2:35 PM, Carlos Knauer <carlos.kna...@gmail.com> wrote: > > Hello. How do I enter a TeX command in LyX? I want to write lim_ {x-> 0} f > (x) in the middle of the text. Does the \ displaystyle enter before the > equation? That is: I write \ displaystyle from there I enter the mathematical > mode and write the equation? Thanks and sorry for this basic question. > > Carlos Fernando Knauer >