[XeTeX] Loading a Font Family from a Local File
Rob Oakes
lyx-devel at oak-tree.us
Tue Mar 8 17:27:33 CET 2011
Dear XeTeX Users,
I am writing with a somewhat simple question, but it was not one that I was able to find a straightforward answer to.
I am currently working on a document class for a non-profit. They will be using LyX to typeset and publish a number of books related to Mexican culture. I've been asked to create both a LaTeX document class for them and a LyX layout that allows them to use the document class in a WYSIWYG environment. For the design, I would like to use the memoir class and two open type fronts: Linux Libertine and ADF Universalis.
On my own computer, I am able to use use the fonts through fontspec commands, as they were installed using Font Book on Mac OS X. However, to simplify the installation of the template, I would like to place the font files in the same folder as the class and then load them from the directory, rather than from the system fonts folder.
Does anyone know how that might be done using fontspec? I know it is possible to load individual font-files, but I was hoping to be able to use the entire families. Any thoughts would be extremely appreciated.
Cheers,
Rob Oakes
More information about the XeTeX
mailing list