From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/113566 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Denis Maier via ntg-context Newsgroups: gmane.comp.tex.context Subject: Title for tabulate Date: Sun, 28 Nov 2021 08:15:37 +0000 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5363980486522643163==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31183"; mail-complaints-to="usenet@ciao.gmane.io" Cc: denis.maier@unibe.ch To: Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 28 09:16:12 2021 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 1mrFM4-0007pM-2S for gctc-ntg-context-518@m.gmane-mx.org; Sun, 28 Nov 2021 09:16:12 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4B79028588C; Sun, 28 Nov 2021 09:15:44 +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 iQCCrM1t0qNe; Sun, 28 Nov 2021 09:15:42 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6F0D3288DCE; Sun, 28 Nov 2021 09:15:42 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 20B4B285899 for ; Sun, 28 Nov 2021 09:15:41 +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 SQhJskh46sox for ; Sun, 28 Nov 2021 09:15:39 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=130.92.0.82; helo=mailhub-lb1.unibe.ch; envelope-from=denis.maier@unibe.ch; receiver= Original-Received: from mailhub-lb1.unibe.ch (mailhub-lb1.unibe.ch [130.92.0.82]) (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 9F65B28588C for ; Sun, 28 Nov 2021 09:15:39 +0100 (CET) X-Virus-Scanned: By University of Bern - MGW Original-Received: from mail.campus.unibe.ch (aai-edge-04.campus.unibe.ch [130.92.13.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhub-lb1.unibe.ch (Postfix) with ESMTPS id 0DAE950008C for ; Sun, 28 Nov 2021 09:15:38 +0100 (CET) Thread-Topic: Title for tabulate Thread-Index: AdfkLm91HMG+2eG9S6Kd5NGpVA5gXA== Accept-Language: de-CH, en-US Content-Language: de-DE x-originating-ip: [130.92.13.161] 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:113566 Archived-At: --===============5363980486522643163== Content-Language: de-DE Content-Type: multipart/alternative; boundary="_000_d6a23b0edc4c4b408cffe28d6069df56unibech_" --_000_d6a23b0edc4c4b408cffe28d6069df56unibech_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, when trying out different options for my last question regarding column spa= ns I've tried out the the option regarding titles for the tabulate environm= ent. Consider this example (adapted from the wiki): %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \setuppapersize[A6] \starttext \setuptabulate [ header=3Dtext, split=3Dyes, title=3D{Fenchurch St. Paul}, ] \starttabulate[|p|p|] \dorecurse{6}{ \NC Bells: \NC Tin tan din dan bim bam bom bo \NC\NR \HL \NC Name: \NC Tailor Paul \NC \NR \HL } \stoptabulate \stoptext %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% A couple of questions : - Is it possible to have the title be typeset only once? I.e., it should no= t repeat on each page. - How do you change the alignment of the title? (There's an align key, but = that does change the alignment of the entries. Not of the title. There are = headstyle and headcolor, but nothing about alignment. (\setupalign[middle] = in headstyle doesn't do anything.) - How can you add bit more space after the title? Best, Denis --_000_d6a23b0edc4c4b408cffe28d6069df56unibech_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

when trying out different optio= ns for my last question regarding column spans I’ve tried out the the= option regarding titles for the tabulate environment. Consider this exampl= e (adapted from the wiki):

 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%= %%%%%%%

\setuppapersize[A6]<= /span>

 

\starttext

\setuptabulate

   [

    header=3Dtex= t,

     &= nbsp;          split=3Dyes,

    title=3D{Fen= church St. Paul},

     &= nbsp;          ]

 

\starttabulate[|p|p|]

\dorecurse{6}{

  \NC  Bells:  \NC  Tin tan din = dan bim bam bom bo \NC\NR

  \HL

  \NC  Name:  \N= C  Tailor Paul \NC \NR        =             &nb= sp;            =             

  \HL

}

\stoptabulate=

 

\stoptext

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%= %%%%%%%

 

A couple of questions :

- Is it possible to have the ti= tle be typeset only once? I.e., it should not repeat on each page.

- How do you change the alignment of the title? (The= re’s an align key, but that does change the alignment of the entries.= Not of the title. There are headstyle and headcolor, but nothing about a= lignment. (\setupalign[middle] in headstyle doesn’t do anything.)

- How can you add bit more spac= e after the title?

 

Best,

Denis

--_000_d6a23b0edc4c4b408cffe28d6069df56unibech_-- --===============5363980486522643163== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============5363980486522643163==--