ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jeong Dal <haksan@me.com>
To: "list ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl
	ntg-context@ntg.nl" <ntg-context@ntg.nl>
Subject: write a subtitle under the title of a chapter using outlined font
Date: Thu, 19 Mar 2020 22:26:46 +0900	[thread overview]
Message-ID: <7A916C6A-2FA3-45F4-A69D-ABB0EE7988B5@me.com> (raw)
In-Reply-To: <mailman.1.1584615601.9798.ntg-context@ntg.nl>


[-- Attachment #1.1: Type: text/plain, Size: 837 bytes --]

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?

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

 

[-- Attachment #1.2: Type: text/html, Size: 4297 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

       reply	other threads:[~2020-03-19 13: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 [this message]
2020-03-19 14:26   ` Hans Hagen
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=7A916C6A-2FA3-45F4-A69D-ABB0EE7988B5@me.com \
    --to=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).