From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/115737 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jeong Dal via ntg-context Newsgroups: gmane.comp.tex.context Subject: Write a long chapter title in two lines Date: Fri, 19 Aug 2022 10:03:59 +0900 Message-ID: <26B18FF2-F67F-4A02-AA8E-843974C1313A@me.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: multipart/mixed; boundary="===============2744999371153574777==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3233"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Jeong Dal To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 19 03:04:54 2022 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oOqRS-0000c1-I0 for gctc-ntg-context-518@m.gmane-mx.org; Fri, 19 Aug 2022 03:04:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id F0E7F2A3EF9; Fri, 19 Aug 2022 03:04:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ezhTezFdnQif; Fri, 19 Aug 2022 03:04:16 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id F0BFA2A3F21; Fri, 19 Aug 2022 03:04:15 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 096EB2A3EBF for ; Fri, 19 Aug 2022 03:04:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EGYG2faIUVjm for ; Fri, 19 Aug 2022 03:04:13 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=17.58.6.44; helo=pv50p00im-ztdg10021101.me.com; envelope-from=haksan@me.com; receiver= Original-Received: from pv50p00im-ztdg10021101.me.com (pv50p00im-ztdg10021101.me.com [17.58.6.44]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id BF1D42A3E7D for ; Fri, 19 Aug 2022 03:04:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1660871043; bh=Tr84ZCRf/705bNNGObansgQ5h9iyBflCIfLAENOKywE=; h=From:Content-Type:Mime-Version:Subject:Message-Id:Date:To; b=K6iiStc1IGnsUNAfyYRgA5iXLb5Q96HX9IVb45V9l6Rk8xUX9Aun4tvyv+QenHDE9 k9c8MvKm29Ml9EsKbZnhVJ19eSWzLAPhffZEso/ZNXUlMn/+AqyudewB3EAfrUa2w6 cSrMFO0b5CnMzWDBIXrwOQNqk9d/vIlWoTgNGWKM94F7E4PyKE5voM0nLVNUB60rUi szvNRwuW9LTXGziJHESuXN++TZRq5iGKT/u7A1mK84aTfcWi2kYx+peK5+LTIWKi/H CoWmrjm1u323XXwBDuwnPqujv9CODw7GgndX6Ldz6MBQSfbiNXV3TxLaH8jQzzxh4i sTHatrxhzcFGg== Original-Received: from smtpclient.apple (pv50p00im-dlb-asmtp-mailmevip.me.com [17.56.9.10]) by pv50p00im-ztdg10021101.me.com (Postfix) with ESMTPSA id E4BD7D001B3; Fri, 19 Aug 2022 01:04:01 +0000 (UTC) X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Proofpoint-GUID: 2fnFHojMQ5dKq_LozR-L1ngiau8IuBRk X-Proofpoint-ORIG-GUID: 2fnFHojMQ5dKq_LozR-L1ngiau8IuBRk X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.517,18.0.572,17.11.64.514.0000000_definitions?= =?UTF-8?Q?=3D2022-06-21=5F01:2022-06-21=5F01,2020-02-14=5F11,2022-02-23?= =?UTF-8?Q?=5F01_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 mlxscore=0 mlxlogscore=912 bulkscore=0 clxscore=1015 phishscore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2206140000 definitions=main-2208190002 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:115737 Archived-At: --===============2744999371153574777== Content-Type: multipart/alternative; boundary="Apple-Mail=_21AA535D-D080-4396-AD1C-ACB636AA02A5" --Apple-Mail=_21AA535D-D080-4396-AD1C-ACB636AA02A5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Dear all, A few days ago, I sent an email as follows. But it is linked to another = subject because I choose reply of another subject. So, I send the same mail again. Thank you for reading. Best regards, Dalyoung ********** I=E2=80=99d like to write a long chapter title in two lines if it is = longer than the textwidth. It is OK when I use just bigger fonts. But it writes the long title in one line if I use outlined font for = title as in MWE. Is there a way to write it in two lines using the outlined font? Thanks, Best regards, Dalyoung \startuseMPgraphic{outlineT} draw outlinetext.b (\MPvar{tt}) (withcolor .75white) (withcolor .725blue withpen pencircle scaled = .75pt);%\MPvar{thick}); \stopuseMPgraphic \definefont[BigFontOne][NotoSansCJKkr-Bold sa 4] \define[1]\outlineTitle{\useMPgraphic{outlineT}{tt=3D"#1"}} \setuphead[chapter] [textcommand=3D\outlineTitle, style=3D\BigFontOne, numbercommand=3D\outlineTitle, % align =3D middle, number=3Dyes] \setupexternalfigures[location=3D{default,local,global}] %\definefont[fancy][Zapfino at 24pt] \starttext \startchapter[title=3D{Very Long Long Long Title}] \startcombination[3*1] {\externalfigure[cow] [combination]}{cow} {\externalfigure[mill] [combination]}{mill} {\externalfigure[hacker][combination]}{hacker} \stopcombination \stopchapter \stoptext= --Apple-Mail=_21AA535D-D080-4396-AD1C-ACB636AA02A5 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Dear all,

A few days ago, I sent an email = as follows. But it is linked to another subject because I choose reply = of another subject.
So, I send the = same mail again.

Thank you for reading.

Best regards,
Dalyoung

**********
I=E2=80=99d like = to write a long chapter title in two lines if it is longer than the = textwidth.
It is OK when I use just bigger = fonts.

But it writes the long title in one line if I use = outlined font for title as in MWE.

Is there a way to = write it in two lines using the outlined font?

Thanks,

Best regards,

Dalyoung

\startuseMPgraphic{outlineT}
draw outlinetext.b (\MPvar{tt})
(withcolor .75white)
= (withcolor .725blue withpen pencircle = scaled .75pt);%\MPvar{thick});
\stopuseMPgraphic
\definefont[BigFontOne][NotoSansCJKkr-Bold sa 4]
\define[1]\outlineTitle{\useMPgraphic{outlineT}{tt=3D"#1"}}

\setuphead[chapter]
[textcommand=3D\outlineTitle,
style=3D\BigFontOne,
= numbercommand=3D\outlineTitle,
% align =3D middle,
number=3Dyes]

\setupexternalfigures[location=3D{default,local,global}]
%\definefont[fancy][Zapfino at 24pt]

\starttext
\startchapter[title=3D{Very Long Long Long Title}]
\startcombination[3*1]
{\externalfigure[cow] [combination]}{cow}
{\externalfigure[mill] [combination]}{mill}
{\externalfigure[hacker][combination]}{hacker}
\stopcombination
\stopchapter
\stoptext
= --Apple-Mail=_21AA535D-D080-4396-AD1C-ACB636AA02A5-- --===============2744999371153574777== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cHM6Ly93d3cubnRnLm5sL21haWxtYW4v bGlzdGluZm8vbnRnLWNvbnRleHQKd2VicGFnZSAgOiBodHRwczovL3d3dy5wcmFnbWEtYWRlLm5s IC8gaHR0cDovL2NvbnRleHQuYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHBzOi8vYml0YnVja2V0 Lm9yZy9waGcvY29udGV4dC1taXJyb3IvY29tbWl0cy8Kd2lraSAgICAgOiBodHRwczovL2NvbnRl eHRnYXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============2744999371153574777==--