I am using Bitstream Charter following the directions on Bill McClain's page for typescripts. Now I want to use \sc in both regular and expanded form. What is the best way to add a \sc typeface to my file? -- John Culleton Able Indexers and Typesetters http://wexfordpress.com
On Tuesday 02 September 2003 16:06, John Culleton wrote:
I am using Bitstream Charter following the directions on Bill McClain's page for typescripts. Now I want to use \sc in both regular and expanded form. What is the best way to add a \sc typeface to my file?
Bill McC suggested that Texfont could be used to create a small caps version but I haven't figured it out yet. If I don't find any other answer I will either use a small caps font from another typeface or else do a kludge like \fonta H\fontb ELLO ---to get "Hello" in caps and small caps, \fonta being Charter at 11pts and \fontb being Charter at perhaps 6pts. Surely there is a better way?? -- John Culleton Able Indexers and Typesetters http://wexfordpress.com
John, First off, make sure you don't already have the font buried somewhere. I found Charter SC (faked) in my TeXLive 7 installation: \showfont[bchrc8t] Ah, but there's a typo/omission in type-enc.tex. That particular line should be: \definefontsynonym [ec-bchr8a-capitalized-800] [bchrc8t] [encoding=ec] If you put that single line in your input file, and then call the default charter face with: \usetypescript[berry][ec] % or [8r] \definetypeface[charter][rm][serif][charter][default][encoding=ec] \setupbodyfont[charter] ...you should be set. If the font isn't there, or you prefer to use something other than ec-encoding, then read on. As for texfont, I have only done this particular one using texfont in a batch mode, but it should be at least close to the mark. Make sure the directory tree where you find your fonts is writeable. Make sure that $texmf/fonts/afm/bit is correctly named 'bitstrea'. (ah, another bug, this time in TeXLive...) texfont /path/to/context/data/type-tmf.dat --en=8r --inst -make \ --fontroot=/path/to/texmf-fonts --co=charter --ve=bitstrea This should (I'm a little rusty) run texfont on Hans's built-in batchfile, selecting only charter. With that done, I think this ought to work: \definetypeface[charter][rm][serif][charter][default][encoding=8r] \setupbodyfont[charter] If you want to run texfont only to make smallcaps, I think the command you want is: sudo texfont --en=ec --fontroot=/path/to/texmf-local --inst --make \ --ve=bitstrea --co=charter --source=auto --ca=0.8 bchr8a I'll leave it to you to integrate that one into your typescript. I was going to ask about the \kap series of commands, but none seem to give a mix of (faked) caps and small caps. Hope that helps a bit, adam John Culleton said this at Wed, 3 Sep 2003 17:34:04 -0400:
On Tuesday 02 September 2003 16:06, John Culleton wrote:
I am using Bitstream Charter following the directions on Bill McClain's page for typescripts. Now I want to use \sc in both regular and expanded form. What is the best way to add a \sc typeface to my file?
Bill McC suggested that Texfont could be used to create a small caps version but I haven't figured it out yet. If I don't find any other answer I will either use a small caps font from another typeface or else do a kludge like \fonta H\fontb ELLO ---to get "Hello" in caps and small caps, \fonta being Charter at 11pts and \fontb being Charter at perhaps 6pts. Surely there is a better way??
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay atl@comp.lancs.ac.uk Computing Dept, Lancaster University +44(0)1524/594.537 Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
participants (2)
-
Adam Lindsay
-
John Culleton