ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Jeong Dal <haksan@me.com>
Subject: Re: write a subtitle under the title of a chapter using outlined font
Date: Thu, 19 Mar 2020 15:26:44 +0100	[thread overview]
Message-ID: <e2536400-f99d-733b-46df-ce1c73e3f1a8@xs4all.nl> (raw)
In-Reply-To: <7A916C6A-2FA3-45F4-A69D-ABB0EE7988B5@me.com>

On 3/19/2020 2:26 PM, Jeong Dal wrote:
> Hi,
> 
> long time ago, I can use outlined fonts for the title of a chapter by 
> the help of the experts in this list.
> Now, I’d like to write a subtitle under the title, but \crlf is not working.
> I tried in several ways, but I couldn’t make it.
> 
> How to write them in two lines?

     draw outlinetext.b ("\framed[align=normal]{" & ditto & \MPvar{tt} & 
ditto & "}")


> Thanks.
> 
> Best regards,
> 
> Dalyoung
> 
> **************
> \startuseMPgraphic{outlineT}
>    draw outlinetext.b (\MPvar{tt})
>    (withcolor .75white)
>    (withcolor .725blue withpen pencircle scaled .75pt);
> \stopuseMPgraphic
> 
> \define[1]\outlineFill{\useMPgraphic{outlineT}{tt="#1"}}%
> 
> \setuphead[chapter,title]
>   [textcommand=\outlineFill,
>    color=.625Blue,
>    numbercommand=\outlineFill,
>    number=yes]
> 
> \setupbodyfont[rm, 12pt]
> 
> \starttext
> 
> \startchapter[title={First Title\crlf{\tfa Sub Title}}]
> \input knuth
> \stopchapter
> 
> \stoptext
> 
> 
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
> 


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2020-03-19 14:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1.1584615601.9798.ntg-context@ntg.nl>
2020-03-19 13:26 ` Jeong Dal
2020-03-19 14:26   ` Hans Hagen [this message]
2020-03-19 18:58     ` Jeong Dal
     [not found]       ` <d691fc8a-3e35-8735-7ec5-38313b44a1e3@xs4all.nl>
     [not found]         ` <22BDCD75-B8FF-4669-8B98-0F476C27A881@me.com>
     [not found]           ` <89e54b20-700e-1a4a-ad2d-bbb63a78a357@xs4all.nl>
2020-03-21 13:18             ` Jeong Dal
2020-03-19 19:06     ` Jeong Dal

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=e2536400-f99d-733b-46df-ce1c73e3f1a8@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=haksan@me.com \
    --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).