ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Using Bold SmallCaps in LuaTeX - typescript
@ 2010-11-28 23:29 ...
  2010-11-29  8:17 ` Florian Wobbe
  0 siblings, 1 reply; 10+ messages in thread
From: ... @ 2010-11-28 23:29 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 610 bytes --]

Good evening!

First of all, I'm new to this list and also a context/luatex newbe. I have 
some experience with LaTeX.
I want to use a font (Neutraface2) in my documents and I'm struggeling with 
the typescript. I'm not able to get bold SmallCaps working (the bold face .otf 
file has the feature smcp, I checked).
I tried various combinations and variations of \bf \sc in my document. It 
gives me bold OR smallcaps, but not bold AND smallcaps. Whats wrong here?
Can someone give me an example typescript that I could modify to fit the 
Neutraface2 font? My attempt to make one is attached.

Greetings,
Chris

[-- Attachment #2: type-neutraface2.tex --]
[-- Type: text/x-tex, Size: 2014 bytes --]

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% THIS IS THE NEUTRAFACE-2 TYPESCRIPT %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Define font instances
%%%%%%%%%%%%%%%%%%%%%%%
\definefontfeature	[mysans]	[protrusion=pure,expansion=quality,script=latn,liga=yes,onum=yes,pnum=yes,kern=yes,tlig=yes,trep=yes]
\definefontfeature	[mysmcp]	[mode=node,script=latn,language=dflt,liga=yes,lnum=yes,tnum=yes,kern=yes,tlig=yes,trep=yes,smcp=yes]
\definefontfeature	[mysup]		[mode=node,script=latn,onum=no,pnum=yes,sups=yes]

% Set up "normal" and Small Caps
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\starttypescript [sans] [neutraface2] 
  \definefontsynonym [Neutraface2Text-Book]		[name:neutraface2textbook]		[features=mysans] % Regular
  \definefontsynonym [Neutraface2Text-Bold]		[name:neutraface2textbold]		[features=mysans] % Bold
  \definefontsynonym [Neutraface2Text-BookItalic]	[name:neutraface2textbookitalic]	[features=mysans] % Italic
  \definefontsynonym [Neutraface2Text-Bold-Italic]	[name:neutraface2textbolditalic]	[features=mysans] % Bold-Italic
  \definefontsynonym [Neutraface2Text-SmallCaps]	[name:neutraface2textbook]		[features=mysmcp] % SmallCaps
  \definefontsynonym [Neutraface2Text-BoldSmallCaps]	[name:neutraface2textbold]		[features=mysmcp] % Bold-SmallCaps
\stoptypescript

\starttypescript [sans] [neutraface2]
  \definefontsynonym [Sans]		[Neutraface2Text-Book]		[features=mysans] % Regular
  \definefontsynonym [SansBold] 	[Neutraface2Text-Bold]		[features=mysans] % Bold
  \definefontsynonym [SansItalic]	[Neutraface2Text-BookItalic]	[features=mysans] % Italic
  \definefontsynonym [SansBoldItalic]	[Neutraface2Text-Bold-Italic]	[features=mysans] % Bold-Italic
  \definefontsynonym [SansCaps]		[Neutraface2Text-SmallCaps]	[features=mysmcp] % SmallCaps
  \definefontsynonym [SansBoldCaps]	[Neutraface2Text-BoldSmallCaps]	[features=mysmcp] % Bold-SmallCaps
 \stoptypescript

% Define Typefaces
\starttypescript [neutraface2]
  \definetypeface [neutraface2] [ss] [sans] [neutraface2] [default]
\stoptypescript

[-- Attachment #3: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-11-29 14:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-28 23:29 Using Bold SmallCaps in LuaTeX - typescript ...
2010-11-29  8:17 ` Florian Wobbe
2010-11-29 11:40   ` Ch. B.
2010-11-29 11:50     ` Florian Wobbe
2010-11-29 12:27       ` Ch. B.
2010-11-29 12:41         ` Khaled Hosny
2010-11-29 13:38           ` Ch. B.
2010-11-29 13:42             ` Wolfgang Schuster
2010-11-29 14:20             ` Khaled Hosny
2010-11-29 14:36               ` Ch. B.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).