ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* times bolditalic in chapter
@ 2006-08-06  8:51 Steffen Wolfrum
  2006-08-06  9:24 ` Taco Hoekwater
  0 siblings, 1 reply; 2+ messages in thread
From: Steffen Wolfrum @ 2006-08-06  8:51 UTC (permalink / raw)


Hi,

probably very basic question.
I need the chapter set in bold (and if necessary - see below - in  
bolditalic).

How can this be done when using Times via \usetypescript[postscript] 
[\defaultencoding] ?


\starttext

\usetypescript[postscript][\defaultencoding]
\setupbodyfont[postscript,10pt]

\def\Textit{\groupedcommand\it\/}

   \def\ChapterStyle{%
      \switchtobodyfont[rm,20pt]
      \setupinterlinespace[line=30pt]
    }

\setuphead[chapter]
[alternative=paragraph,style=\ChapterStyle]

text

\chapter{bold heading \Textit{bold italic} bold heading}

text

\stoptext

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

* Re: times bolditalic in chapter
  2006-08-06  8:51 times bolditalic in chapter Steffen Wolfrum
@ 2006-08-06  9:24 ` Taco Hoekwater
  0 siblings, 0 replies; 2+ messages in thread
From: Taco Hoekwater @ 2006-08-06  9:24 UTC (permalink / raw)


Steffen Wolfrum wrote:
> Hi,
> 
> probably very basic question.
> I need the chapter set in bold (and if necessary - see below - in  
> bolditalic).
> 
> How can this be done when using Times via \usetypescript[postscript] 
> [\defaultencoding] ?

    \def\Textit{\groupedcommand\em\/}
    %                           ^^

    \def\ChapterStyle{%
       \switchtobodyfont[rm,20pt]
       \setupinterlinespace[line=30pt]
       \bf
    %   ^^
    }

Cheers, Taco

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

end of thread, other threads:[~2006-08-06  9:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-06  8:51 times bolditalic in chapter Steffen Wolfrum
2006-08-06  9:24 ` Taco Hoekwater

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).