summaryrefslogtreecommitdiff
path: root/fonts/newcomputermodern/tex/NewComputerModern.fontspec
blob: 8652f3a518b1ab6b0fa2e061ea756bc68cf77f6a (plain)
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
\defaultfontfeatures[NewComputerModern]
   {
    Extension = .otf ,
    SizeFeatures={%
                 {Size=-8, Font=NewCM08-Regular.otf,
      			   ItalicFont=NewCM08-Italic.otf,%
			   BoldFont=NewCM10-Bold.otf,%
      			   BoldItalicFont=NewCM10-BoldItalic.otf,%
      			   SlantedFont=NewCM08-Regular.otf,%
      			   BoldSlantedFont=NewCM10-Bold.otf,%
      			   SmallCapsFeatures={Numbers=OldStyle}},
		  {Size=8, Font=NewCM08-Regular.otf,
      		  	   ItalicFont=NewCM08-Italic.otf,%
      			   BoldFont=NewCM10-Bold.otf,%
      			   BoldItalicFont=NewCM10-BoldItalic.otf,%
      			   SlantedFont=NewCM08-Regular.otf,%
      			   BoldSlantedFont=NewCM10-Bold.otf,%
      			   SmallCapsFeatures={Numbers=OldStyle}},
		{Size= 9-, Font = NewCM10-Regular.otf,
      		       	   ItalicFont=NewCM10-Italic.otf,%
      			   BoldFont=NewCM10-Bold.otf,%
      			   BoldItalicFont=NewCM10-BoldItalic.otf,%
      			   SlantedFont=NewCM10-Regular.otf,%
      			   BoldSlantedFont=NewCM10-Bold.otf,%
      			   SmallCapsFeatures={Numbers=OldStyle}}%
	}}