All of the documents I create with LyX have
\usepackage[T1]{fontenc}
in the preamble, which causes problems when I use certain classes or try to switch from pdfLaTaX to XeTeX (for example).
Is there a way to prevent LyX from inserting this line in my documents?


fontenc, because usually it is a good idea to use it (in combination with aT1font likelmodern): http://tex.stackexchange.com/questions/664/why-should-i-use-usepackaget1fontenc Do you have a special reason why you want to NOT load it? – matth Feb 22 '12 at 09:09