I'm using lyx to write my thesis. I'm trying to do some fancy stuff, like setting the chapter title fonts etc. The problem is, whenever I try to use a package with specific options, if the package is already loaded by lyx, I get an option clash error. Usually I just give up. But this time, I decided to ask it here. So, specifically, I add this code in my preamble:
Obviously, I get:
The package titlesec has already been loaded with options:
There has now been an attempt to load it with options
I tried using PassOptionsToPackage, as in
This time I get no errors, but the font stays the same. This has happened to me before, for other packages, like hyperref, and surprisingly, I couldn't find the answer anywhere.