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:
Code: Select all
\usepackage[{sf,bf}]{titlesec}
I tried using PassOptionsToPackage, as inThe package titlesec has already been loaded with options:
[toctitles]
There has now been an attempt to load it with options
[sf,bf]
Code: Select all
\PassOptionsToPackage{titlesec}{sf,bf}