Carla, why is this an issue?
el On 2016-08-30 08:03, CarLaTeX wrote: > I like LyX and find it very convenient but I would like to have more > freedom when I set my preamble. > > I’ve managed to move all the packages that I need in a preamble.tex file > (then inputed in LyX preamble), so I can easily edit it inserting all > the options that I like and put them in the order that I want. > > However, I can’t avoid LyX from putting these two lines of code, in the > automatic preamble: > > \pdfpageheight\paperheight > > \pdfpagewidth\paperwidth > > There’s a way to do it or is it impossible? (I'm using LyX 2.2.1). > > Attached the .lyx file and the .tex file optained when I export it in > LaTeX (pdflateX). > > Thank you! > > Best regards, > > Carla