On Fri, Sep 12, 2014 at 7:05 AM, Fabien Lafont <lafont.fab...@gmail.com> wrote: > Hello everyone, > > I was wondering if it was possible to load a package before the preambule of > the document? > > My problem is that I load \usepackage{cmbright} > And if it comes after \usepackage{fontspec} when I use Xelatex the text > switch to latin letters while the maths keep the cmbright font. If I inverse > the two packages I do not have any problem but I can't do it in Lyx since > lyx load automatically fontspec at the beginning > > Thanks! > > Fabien
Hi Fabien, If you are going to cross-post, please link to all of your other posts. To understand why, read about free pizza: http://latex-community.org/home/latex-community/94-etiquette/454-crossposts For archival purposes, one of Fabien's other posts is here: http://tex.stackexchange.com/questions/200835/is-it-possible-to-load-a-package-before-the-lyx-preambule Best, Scott