ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Remove vertical space around typing
@ 2021-09-07  9:49 Sylvain Hubert via ntg-context
  2021-09-07 11:17 ` Wolfgang Schuster via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Sylvain Hubert via ntg-context @ 2021-09-07  9:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Sylvain Hubert

Dear List,

How should we remove the vertical space above and below the following typing?

\starttext
Remove space below
\starttyping
some
code
\stoptyping
\stoptext

Thanks!

Best,
Sylvain
___________________________________________________________________________________
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] 3+ messages in thread

* Re: Remove vertical space around typing
  2021-09-07  9:49 Remove vertical space around typing Sylvain Hubert via ntg-context
@ 2021-09-07 11:17 ` Wolfgang Schuster via ntg-context
       [not found]   ` <CACNy3NCOz8JQ0gGYRO+6Zb5hcJMHd6swiQHVmYvywur4rVsmsA@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster via ntg-context @ 2021-09-07 11:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Sylvain Hubert via ntg-context
  Cc: Wolfgang Schuster

Sylvain Hubert via ntg-context schrieb am 07.09.2021 um 11:49:
> Dear List,
>
> How should we remove the vertical space above and below the following typing?
>
> \starttext
> Remove space below
> \starttyping
> some
> code
> \stoptyping
> \stoptext

\setuptyping [before=,after=]

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] 3+ messages in thread

* Re: Remove vertical space around typing
       [not found]   ` <CACNy3NCOz8JQ0gGYRO+6Zb5hcJMHd6swiQHVmYvywur4rVsmsA@mail.gmail.com>
@ 2021-09-07 11:41     ` Wolfgang Schuster via ntg-context
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Schuster via ntg-context @ 2021-09-07 11:41 UTC (permalink / raw)
  To: Sylvain Hubert; +Cc: Wolfgang Schuster, mailing list for ConTeXt users

Sylvain Hubert schrieb am 07.09.2021 um 13:38:
> Thanks Wolfgang, this solves my problem.
> 
> But now I'm wondering why \starttyping[before=,after=] cannot do the same job?

Works here.

\starttext
Remove space below
\starttyping[before=,after=]
some
code
\stoptyping
\stoptext

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] 3+ messages in thread

end of thread, other threads:[~2021-09-07 11:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-07  9:49 Remove vertical space around typing Sylvain Hubert via ntg-context
2021-09-07 11:17 ` Wolfgang Schuster via ntg-context
     [not found]   ` <CACNy3NCOz8JQ0gGYRO+6Zb5hcJMHd6swiQHVmYvywur4rVsmsA@mail.gmail.com>
2021-09-07 11:41     ` Wolfgang Schuster via ntg-context

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