From: "..." <metan0r@gmx.de>
To: ntg-context@ntg.nl
Subject: Using Bold SmallCaps in LuaTeX - typescript
Date: Mon, 29 Nov 2010 00:29:06 +0100 [thread overview]
Message-ID: <201011290029.07188.metan0r@gmx.de> (raw)
[-- 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
___________________________________________________________________________________
next reply other threads:[~2010-11-28 23:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-28 23:29 ... [this message]
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201011290029.07188.metan0r@gmx.de \
--to=metan0r@gmx.de \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).