![]() ![]() Of course, you'll find many more details in the documenation. For this, you have two main commands: \setdefaultfontfeatures and, if you want a font feature only for a short piece of text: addfontfeatures. Actually, fontspec is an interface to opentype font features. You can define the default font features you want, such as special ligatures, oldstyle numbers, tabular numbers, colour, &c. OS X comes with a complete electronic copy of the New Oxford American Dictionary. Likewise, you can declare \setsansfont and \setmonofont. You will have to load the dedicated font manager: fontspec and declare a main font with the setmainfont command. Don't load inputenc (XeLaTeX supposes it's utf8-encoded (check the settings of your editor) don't load fontenc since you will use ordinary fonts (truetype or opentype). ![]() If you compile with XeLaTeX (perhaps also with LuaLaTeX, but I'm not sure), you can use any font known to your system, so there's nothing to do, except use the exact Opentype names.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |