Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
silkeh committed Apr 18, 2016
1 parent 7c3328b commit df64082
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source Code Pro v2.5
Source Code Pro v2.6
====================
This package provides the Source Code Pro typeface as a LaTeX package.
Full documentation and revision history in `sourcecodepro.pdf`.
Expand All @@ -7,19 +7,19 @@ Options
-------
The following options can be used:

* `oldstyle, osf`: use old style numbers.
* `lining, nf`: use lining numbers.
* `black`: `\bfseries` is black.
* `semibold`: `\bfseries` is semibold.
* `bold`: `\bfseries` is bold.
* `light`: `\mdseries` is light.
* `extralight`: `\mdseries` is extra light.
* `regular`: `\mdseries` is regular.
* `scale, scaled`: set scaling for the font, eg: scale=.5
* `default`: Source Code Pro is set as default font family.
* `nottdefault`: Source Code Pro is not set as monospaced family.
* `type1, t1`: override detection and load the Type1 font family.
* `opentype, otf`: override detection and load the OpenType font family.
* `oldstyle, osf`: use old style numbers.
* `lining, nf, lf`: use lining numbers.
* `black`: `\bfseries` is black.
* `semibold`: `\bfseries` is semibold.
* `bold`: `\bfseries` is bold.
* `light`: `\mdseries` is light.
* `extralight`: `\mdseries` is extra light.
* `regular`: `\mdseries` is regular.
* `scale, scaled`: set scaling for the font, eg: scale=.5
* `default`: Source Code Pro is set as default font family.
* `nottdefault`: Source Code Pro is not set as monospaced family.
* `type1, t1`: override detection and load the Type1 font family.
* `opentype, otf`: override detection and load the OpenType font family.

License
-------
Expand Down
Binary file modified doc/latex/sourcecodepro/sourcecodepro.pdf
Binary file not shown.
6 changes: 3 additions & 3 deletions tex/latex/sourcecodepro/sourcecodepro.sty
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@
% Load OpenType files
\ifsourcecodepro@otf
\RequirePackage{fontspec}
% Create a fixed liningnums command:
\renewcommand*\liningnums[1]{{\addfontfeature{RawFeature=+lnum;-onum}#1}}
% Create a fixed liningnums command:
\renewcommand*\liningnums[1]{{\addfontfeature{RawFeature=+lnum;-onum}#1}}

% Oldstyle/Lining
\ifsourcecodepro@oldstyle
Expand Down

0 comments on commit df64082

Please sign in to comment.