From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/99919 Path: news.gmane.org!.POSTED!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: chapter setup with subtitle in margin Date: Wed, 24 Jan 2018 13:25:49 -0500 (EST) Message-ID: References: <16EAA1B3-1838-4A0C-A403-0DD73363360B@fiee.net> <6F7462FD-8631-4FB3-8BFF-6E97CF6490C9@fiee.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="8323328-46422947-1516818350=:1672" X-Trace: blaine.gmane.org 1516818384 514 195.159.176.226 (24 Jan 2018 18:26:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 24 Jan 2018 18:26:24 +0000 (UTC) User-Agent: Alpine 2.20 (LNX 67 2015-01-07) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 24 19:26:20 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eePk1-0006Fv-QQ for gctc-ntg-context-518@m.gmane.org; Wed, 24 Jan 2018 19:25:46 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 77F75422785; Wed, 24 Jan 2018 19:26:19 +0100 (CET) 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 y-2UPgcTektA; Wed, 24 Jan 2018 19:26:18 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 866334227EB; Wed, 24 Jan 2018 19:26:18 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D779E4227EB for ; Wed, 24 Jan 2018 19:26:16 +0100 (CET) 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 NXpn-q2-cjKS for ; Wed, 24 Jan 2018 19:26:15 +0100 (CET) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.12.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 9612C422785 for ; Wed, 24 Jan 2018 19:26:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2016-05-12; t=1516818364; bh=WnSfnvv0yDe/mnAExe+x66KWkS+392dVfSv2C7GMyy8=; h=Date:From:To:Subject:In-Reply-To:References; b=QWG9LIl2O/43vyL92ijSyn3/wEza8A+Oqkl/CSS0GeLx1WbaCMXWsEhgFhTgIbobc lXPeSBmB2OSMYD3ka0C0D6PgDr8fSOtYFJNbLfxZwYaCzxyZg/ot6ersxoYEPJel/V xSmTxOmOqoC5eebr4DmUtOB3p+pofKCxJ/sBeZXjNOhA7LwKrzPTr/TnDurGewYjPu 62WCNmD1YOaGmT2MEJ6stusuYiioIzcW5f51s/gpXqkwBPRffZq3s9WAXo3UI/6t+c hqYKnf3hL1pfeNHPMOahf1nLo9EFEa/YrEJEls3S4hKuD1W8dsTA14EiOE9U5WJLip 2qBNdEPLLrfoQ== Authentication-Results: tombraider.mr.itd.umich.edu; iprev=pass policy.iprev=132.206.69.142 (decentralized.ece.mcgill.ca); auth=pass smtp.auth=adityam Original-Received: FROM decentralized.ece.mcgill.ca (decentralized.ece.mcgill.ca [132.206.69.142]) By tombraider.mr.itd.umich.edu ID 5A68CFAE.C40CC.27936; Authuser adityam; Wed, 24 Jan 2018 13:25:50 -0500 In-Reply-To: <6F7462FD-8631-4FB3-8BFF-6E97CF6490C9@fiee.net> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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.org gmane.comp.tex.context:99919 Archived-At: --8323328-46422947-1516818350=:1672 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Wed, 24 Jan 2018, Henning Hraban Ramm wrote: > Am 2018-01-23 um 22:31 schrieb Henning Hraban Ramm : > >> I have this nice/complicated chapter setup (see attachments): >> Three problems I cannot get rid of: >> >> - There=92s always an indent in front of the title (red box); it should = not. >> - The subtitle should start on the same line as the main title. >> - The subtitle should have an appropriate line spacing. > > I could solve the subtitle placement with layers. > > But the chapter title still has this indent. :-( Untested, but you have two spurious spaces in your code \define[2]\ChapterCmd{% \inouter{\framed[frame=3Doff,align=3Dflushleft]{% %\startlinecorrection \switchtobodyfont[rm,12pt] % <-- Here. Remove space before % \structureuservariable{subtitle}}% %\stoplinecorrection }% << HERE: % was missing \framed[width=3D\textwidth,frame=3Doff,align=3Dflushleft]{\ChapterTitleF= ont=20 #2} } Aditya --8323328-46422947-1516818350=:1672 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --8323328-46422947-1516818350=:1672--