File: fontspec.cwl

package info (click to toggle)
texstudio 2.11.2%2Bdebian-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 41,292 kB
  • ctags: 12,405
  • sloc: cpp: 93,072; xml: 10,217; ansic: 4,153; sh: 145; makefile: 56
file content (50 lines) | stat: -rw-r--r-- 1,507 bytes parent folder | download | duplicates (2)
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
50
#  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{cmd}{fontname}#d
\newfontfamily{cmd}[fontfeatures]{fontname}#d


\newfontface{cmd}{fontname}#d
\newfontface{cmd}[fontfeatures]{fontname}#d

\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}