Fonts in LuaTeX
Revision as of 16:56, 9 July 2008 by Nemolivier (talk | contribs) (A simple page to setup font for use in luatex. Please Contribute.)
NOTE: This page is not finished yet |
Please, someone, fill this page !
Just the simplest way to use an otf font — or any font that does appear in mtxrun --script font --list — in all the document.
I’m stick here :
\definefontfeature [myfontfeature] [method=node, kern=yes, OTHER_FEATURE_COMMA_SEPERATED] \definefontsynonym [MyFontRegular] [name:TheFontName-Regular][features=myfontfeature] \definedfont [MyFontRegular at 16pt]
This doesn’t run for my title which use « \tfc », only for the body of the text.
- \definefontfeature
- [myfontfeature] : you can use the name you want. It will be use at the next line ;
- the fonts feature can be found with otfinfo -f TheFontFile.otf.
- \definefontsynonym :
- [MyFontRegular] : you can use the name you want. It will be use at the next line ;
- The name after name: is the name given by mtxrun --script font --list
- The « name: » part can be replaced by file:TheFontFile.otf