13.07.2013 Views

Hagen - Pragma ADE

Hagen - Pragma ADE

Hagen - Pragma ADE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

42<br />

Modes<br />

and now we get:<br />

123 normal 123 oldstyle 123 olstyle smallcaps 123 oldstyle 123 smallcaps<br />

You can exercise some control with \resetfeature:<br />

\switchtobodyfont[pagella] 123 normal<br />

\addfeature [f:oldstyle] 123 oldstyle<br />

\addfeature [f:smallcaps] 123 olstyle smallcaps<br />

\resetfeature 123 reset<br />

\addfeature [f:oldstyle] 123 oldstyle<br />

\addfeature [f:smallcaps] 123 olstyle smallcaps<br />

Watch how we use the [] variant of the commands. The braced and bracketed variants<br />

behave the same.<br />

123 normal 123 oldstyle 123 olstyle smallcaps 123 reset 123 oldstyle 123 olstyle smallcaps<br />

There is also a generic command \feature that takes two arguments. Below we show<br />

all calls, with long and short variants:<br />

\addfeature [f:mine] \feature [more][f:mine] \feature[+][f:mine]<br />

\subtractfeature [f:mine] \feature [less][f:mine] \feature[-][f:mine]<br />

\replacefeature [f:mine] \feature [new][f:mine] \feature[=][f:mine]<br />

\resetandaddfeature[f:mine] \feature[local][f:mine] \feature[!][f:mine]<br />

\revivefeature [f:mine] \feature [old][f:mine] \feature[>][f:mine]<br />

\resetfeature \feature[reset] \feature[

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!