File: fontspec.cwl

package info (click to toggle)
texstudio 2.8.4%2Bdebian-3
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 39,108 kB
  • ctags: 13,390
  • sloc: cpp: 84,770; xml: 10,109; ansic: 6,865; sh: 150; makefile: 82
file content (49 lines) | stat: -rw-r--r-- 1,551 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#  fontspec 1.14 package
#  nja 17 July 2007
#  url: http://www.ctan.org/tex-archive/help/Catalogue/entries/fontspec.html

\usepackage[cm-default/lm-default/math/no-math/config/no-config/quiet]{fontspec}

\fontspec{fontname}
\fontspec[fontfeature=option]{fontname}
\fontspec[fontfeature=option,fontfeature=option]{fontname}

\setmainfont{fontname}
\setmainfont[fontfeature=option]{fontname}
\setmainfont[fontfeature=option,fontfeature=option]{fontname}

\setsansfont{fontname}
\setsansfont[fontfeature=option]{fontname}
\setsansfont[fontfeature=option,fontfeature=option]{fontname}

\setmonofont{fontname}
\setmonofont[fontfeature=option]{fontname}
\setmonofont[fontfeature=option,fontfeature=option]{fontname}

\newfontfamily<fontinstance>{fontname}

\newfontface<fontface>{fontname}
\newfontface<fontface>[fontfeature=option]{fontname}
\newfontface<fontface>[fontfeature=option,fontfeature=option]{fontname}

\setmathrm
\setboldmathrm
\setmathsf
\setmathtt


\defaultfontfeatures{fontfeature=option}
\defaultfontfeatures{fontfeature=option,fontfeature=option}
\addfontfeatures{fontfeatures}
\addfontfeatures{fontfeature=option,fontfeature=option}

\newfontscript{fontspecname}{OpenTypedefinition}
\newfontlanguage{fontspecname}{OpenTypedefinition}

\newAATfeature{feature}{option}{featurecode}{selectorcode}
\newfeaturecode{feature}{option}{featurecode}{selectorcode}
\newICUfeature{feature}{option}{featuretag}
\newfontfeature{name}{inputstring}
\aliasfontfeature{existingname}{newname}
\aliasfontfeatureoption{fontfeature}{existingname}{newname}