github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

wspr / fontspec

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 10
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (23)
  • Downloads (0)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Development version of the fontspec XeTeX/LuaTeX package — Read more

  cancel

http://tug.ctan.org/pkg/fontspec

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Fix 'make unpack' and 'make clean' 
Elie Roux (author)
Sun Jan 31 04:44:49 -0800 2010
khaledhosny (committer)
Sun Jan 31 04:44:49 -0800 2010
commit  a4fa2a4ee568654ab59af197eac49e905d853dad
tree    86cad190c82565c900d8ff9092357ef17e1ced76
parent  d571f59eeecc079bb362e403441a9e092b643148
fontspec /
name age
history
message
file Makefile Sun Jan 31 04:44:49 -0800 2010 Fix 'make unpack' and 'make clean' [Elie Roux]
file README Sat Jan 30 08:32:32 -0800 2010 Minor README update [khaledhosny]
file TODO.luatex Sat Jan 30 08:18:00 -0800 2010 Support |OpticalSize| for LuaTeX Now |luaotflo... [khaledhosny]
file fontspec.dtx Sat Jan 30 08:27:23 -0800 2010 Update copyright years [khaledhosny]
README
                        The fontspec package


The fontspec package allows users of either XeTeX or LuaTeX to
load OpenType fonts in a LaTeX document. No font installation is necessary,
and font features can be selected and used as desired throughout the document.

This package is developped on <http://github.com/wspr/fontspec>.


Installation
------------

Here are the recommended installation methods (preferred first).

1. If you are using TeX Live 2008 or later, use 'tlmgr install euenc'.
Alternatively, try your (TeX or Linux) distribution's package management system.

2. a. Grab euenc.tds.zip on the CTAN.
   b. Unzip it at the root of one or your TDS trees.
   c. You may need to update some filename database after, see your TeX
      distribution's manual for details.

3. a. Grab the sources from CTAN or github.
   b. Run 'make install TEXMFROOT=/path/to/texmf'.
   c. See 2c.

4. Try to figure it out by looking at the Makefile and comments in the sources.

5. For LuaTeX support you need luaotfload, it can be installed the same way.

Manifest
--------

Source files:
        fontspec.dtx               single file source & doc for the package

Derived files:
        fontspec.pdf.              documentation
        fontspec.sty               LaTeX style file
        fontspec.lua               Lua functions for LuaTeX
        fontspec.cfg               default configuration file
        fontspec-example.ltx       LaTeX example document



License
-------

This work is distributed under the LPPL license. The legal notice of all the
files is:

"
Copyright 2004--2010 Will Robertson <wspr81@gmail.com>
Copyright 2009--2010 Khaled Hosny <khaledhosny@eglug.org>

Distributable under the LaTeX Project Public License,
version 1.3c or higher (your choice). The latest version of
this license is at: http://www.latex-project.org/lppl.txt

This work is "maintained" (as per LPPL maintenance status)
by Will Robertson.
"


Summary of user commands
------------------------

Font families may be selected individually with the command

    \fontspec[<font options>]{<font name>}

Commands for selecting fonts efficiently can be created with

    \newfontfamily\myfamily[<font options>]{<font name>}
    \newfontface\myfont[<font options>]{<font name>}

Default document fonts are selected with

    \setmainfont[<font options>]{<font name>}
    \setsansfont[<font options>]{<font name>}
    \setmonofont[<font options>]{<font name>}

Fonts to be used in maths are defined with

    \setmathrm[<font options>]{<font name>}
    \setmathsf[<font options>]{<font name>}
    \setmathtt[<font options>]{<font name>}
    \setboldmathrm[<font options>]{<font name>}

Features to be used for every subsequently defined font are specified with

    \defaultfontfeatures{<default font options>}

Features may be added to the font currently in use with

    \addfontfeatures{<font options to add>}
    \addfontfeature{<...>} does the same thing

Features not provided for out of the box may be defined with

    \newAATfeature{<feature tag>}{<feature code>}{<selector code>}
    \newICUfeature{<feature tag>}{[+|-]<4 letter feature string>}
    \newfontfeature{<feature tag>}{<arbitrary XeTeX font options>}

Features can be renamed and feature options can be renamed with

    \aliasfontfeature{<current feature>}{<new feature>}
    \aliasfontfeatureoption{<feature>}{<current option>}{<new option>}
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server