From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109383 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sylvain Hubert Newsgroups: gmane.comp.tex.context Subject: Re: temporarily move up a section title Date: Sun, 8 Nov 2020 13:13:40 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8091661575375013035==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9320"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 08 13:16:51 2020 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 1kbjcn-0002Lh-RS for gctc-ntg-context-518@m.gmane-mx.org; Sun, 08 Nov 2020 13:16:49 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D520F1AA2BC; Sun, 8 Nov 2020 13:13:54 +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 LDQ9qOavw6PP; Sun, 8 Nov 2020 13:13:54 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 05EF41AA38C; Sun, 8 Nov 2020 13:13:54 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 39FA51AA37C for ; Sun, 8 Nov 2020 13:13:53 +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 N_-9K3OWBG0u for ; Sun, 8 Nov 2020 13:13:52 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.170; helo=mail-il1-f170.google.com; envelope-from=champignoom@gmail.com; receiver= Original-Received: from mail-il1-f170.google.com (mail-il1-f170.google.com [209.85.166.170]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 826DB1AA2BC for ; Sun, 8 Nov 2020 13:13:52 +0100 (CET) Original-Received: by mail-il1-f170.google.com with SMTP id k1so5768885ilc.10 for ; Sun, 08 Nov 2020 04:13:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=D9B9jXqubcURvHiPeBEZePc4J43STe59wUo7J/U1Yhw=; b=jAA1QV+8rvCuuTJcf3ZZszgXEKozWFqsjd03X2CNH9FS3Xhp4YqyrQzOk6edgD98Iv M1+GVc/a3uIkHDQUw+QhL0MUyBL2GGJEBmMhJTyvfLmDUqK0wM04xqnqxXjP+gUlfC9l +yhxjZA80sOgRJIRTkrhU4am30+K9+YHIcFcoTyX5uZjcj8+myYIMLZu1Gt9Z3a8/+ws efK9lS/MFtNCOupl4tj4gjkak2N8BSFxVR+c+QoMfYQcBaPVW7ospNKbgl7RLm97h3+w M+5deJH1CXuaqS7vcMIz2FTF9+BNdEWa5ZH+kK5blX4lBtZ7vCSMtAYAJSjWa63u8gk0 ODDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=D9B9jXqubcURvHiPeBEZePc4J43STe59wUo7J/U1Yhw=; b=XBt35MaX1Utkkb8V7g8fmTb+1m7gcefTmInVWJvHm/6fnO7qzN0zVhnYRYKTTPAohq Ev582oMEmm11NHR+wnDe5nLCVHnrwa7pLpmQCYobU9F9lWgIpXswJhxmF0ZzrdgpOCLR Qr3ShCeJiYLBxtmOHpp0VPlYucuyjnbsWTV9gmQxK4oXwW8gHbL/JnP6cQ6su2xObB36 zRNeJKtZb5DWQ+z9mdTNanlJUsRnSVTVK85DCa4wLgP2oICptjQN6WGi94t81U1H1mEZ CG3apCNT7rtTbZHVBQJuiRlzFWi3orBrqioPao94qLl4aNdn+tRsferuEMBFyud+Dft0 Uevw== X-Gm-Message-State: AOAM532Px4NQIQu9vPP3uFNJjF7LQkuwL0HbGm9v2uyp2zMnL8RndJDJ C5XdeNMXzJoIFADx6bRh8ubvvYSAiJKWM3cURHvQQ6+GXXU= X-Google-Smtp-Source: ABdhPJy6jYWgy/u8TiqAeNVkGCt1C7PA2wgR8bnvLFVCn41NrH5HOKJR0OosyFJCnD1IvuyLP4KKf5/FSMRnZypLQrE= X-Received: by 2002:a05:6e02:105:: with SMTP id t5mr6172321ilm.174.1604837631494; Sun, 08 Nov 2020 04:13:51 -0800 (PST) In-Reply-To: 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:109383 Archived-At: --===============8091661575375013035== Content-Type: multipart/alternative; boundary="000000000000f28d5a05b397605c" --000000000000f28d5a05b397605c Content-Type: text/plain; charset="UTF-8" Hi Hraban, On Sun, 8 Nov 2020 at 07:57, Henning Hraban Ramm wrote: > > > > Am 08.11.2020 um 03:19 schrieb Sylvain Hubert : > > > > Dear List, > > > > I'm trying to move up a section title (section b) 2cm upward: > > > > \starttext > > \section{a} > > \blank[-2cm,force]\ > > \section{b} > > \section{c} > > \stoptext > > > > The empty space (\ ) after the \blank is necessary here, without which > the \blank does nothing. > > I would like to ask whether there is a less hacky way to let \blank work > than the hidden space. > > You could use the low level method of \vskip-2cm > Indeed this is a clearer hack. Thank you for the suggestion! Sylvain --000000000000f28d5a05b397605c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Hr= aban,

On Sun, 8 Nov 2020 at 07:57, Henning Hraban Ramm <texml@fiee.net> wrote:


> Am 08.11.2020 um 03:19 schrieb Sylvain Hubert <champignoom@gmail.com>:
>
> Dear List,
>
> I'm trying to move up a section title (section b) 2cm upward:
>
>=C2=A0 =C2=A0 =C2=A0\starttext
>=C2=A0 =C2=A0 =C2=A0\section{a}
>=C2=A0 =C2=A0 =C2=A0\blank[-2cm,force]\
>=C2=A0 =C2=A0 =C2=A0\section{b}
>=C2=A0 =C2=A0 =C2=A0\section{c}
>=C2=A0 =C2=A0 =C2=A0\stoptext
>
> The empty space (\ ) after the \blank is necessary here, without which= the \blank does nothing.
> I would like to ask whether there is a less hacky way to let \blank wo= rk than the hidden space.

You could use the low level method of \vskip-2cm

<= /div>
Indeed this is a clearer hack.
Thank you for the sugges= tion!

Sylvain
--000000000000f28d5a05b397605c-- --===============8091661575375013035== 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== --===============8091661575375013035==--