On 17/09/2011 7:55 PM, Paul A. Rubin wrote:
Hi,
I'm trying to cobble together a module that would load etex.sty before xy.sty,
which LyX automagically loads. The problem is that you can't use XY-pic with
Beamer unless you load etex first. Since etex is apparently not a "feature" (in
latexfeatures.cpp), "Requires" doesn't buy me anything. Is there some other way
in a module to force a \RequirePackage at the top of the document?
Thanks,
Paul
In a module, with the usual definition and format lines at the top, put:
provides xypic
AddToPreamble
\usepackage{etex}
\usepackage{xypic}
EndPreamble
--
Julien