ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* temporarily move up a section title
@ 2020-11-08  2:19 Sylvain Hubert
  2020-11-08  6:56 ` Henning Hraban Ramm
  2020-11-08  9:12 ` Wolfgang Schuster
  0 siblings, 2 replies; 5+ messages in thread
From: Sylvain Hubert @ 2020-11-08  2:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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.

Thanks in advance.

Best,
Sylvain

[-- Attachment #1.2: Type: text/html, Size: 617 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: temporarily move up a section title
  2020-11-08  2:19 temporarily move up a section title Sylvain Hubert
@ 2020-11-08  6:56 ` Henning Hraban Ramm
  2020-11-08 12:13   ` Sylvain Hubert
  2020-11-08  9:12 ` Wolfgang Schuster
  1 sibling, 1 reply; 5+ messages in thread
From: Henning Hraban Ramm @ 2020-11-08  6:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users



> 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:
> 
>     \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

Hraban
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: temporarily move up a section title
  2020-11-08  2:19 temporarily move up a section title Sylvain Hubert
  2020-11-08  6:56 ` Henning Hraban Ramm
@ 2020-11-08  9:12 ` Wolfgang Schuster
  2020-11-08 12:14   ` Sylvain Hubert
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2020-11-08  9:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Sylvain Hubert schrieb am 08.11.2020 um 03:19:
> Dear List,
> 
> I'm trying to move up a section title (section b) 2cm upward:
> 
>      \starttext
>      \section{a}
>      \blank[-2cm,force]\

\blank[back,disable]

Wolfgang

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: temporarily move up a section title
  2020-11-08  6:56 ` Henning Hraban Ramm
@ 2020-11-08 12:13   ` Sylvain Hubert
  0 siblings, 0 replies; 5+ messages in thread
From: Sylvain Hubert @ 2020-11-08 12:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi Hraban,

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:
> >
> >     \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

[-- Attachment #1.2: Type: text/html, Size: 1342 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: temporarily move up a section title
  2020-11-08  9:12 ` Wolfgang Schuster
@ 2020-11-08 12:14   ` Sylvain Hubert
  0 siblings, 0 replies; 5+ messages in thread
From: Sylvain Hubert @ 2020-11-08 12:14 UTC (permalink / raw)
  To: Wolfgang Schuster, mailing list for ConTeXt users


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

On Sun, 8 Nov 2020 at 10:12, Wolfgang Schuster <
wolfgang.schuster.lists@gmail.com> wrote:

> Sylvain Hubert schrieb am 08.11.2020 um 03:19:
> > Dear List,
> >
> > I'm trying to move up a section title (section b) 2cm upward:
> >
> >      \starttext
> >      \section{a}
> >      \blank[-2cm,force]\
>
> \blank[back,disable]
>
> Wolfgang
>

Works as a charm! Thanks!

Sylvain

[-- Attachment #1.2: Type: text/html, Size: 788 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-11-08 12:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-08  2:19 temporarily move up a section title Sylvain Hubert
2020-11-08  6:56 ` Henning Hraban Ramm
2020-11-08 12:13   ` Sylvain Hubert
2020-11-08  9:12 ` Wolfgang Schuster
2020-11-08 12:14   ` Sylvain Hubert

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).