ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] new align option
@ 2023-08-15 20:31 Hans Hagen via ntg-context
  2023-08-16  9:54 ` [NTG-context] " Hraban Ramm
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen via ntg-context @ 2023-08-15 20:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

Hi,

Especially for long verbatim lines we now can do this:

\starttext

\setupalign[hangright]

\starttyping
test test test test test test test test test test test test test test 
test test test test test test test test test test test test test
test test test test test test test test test test test test test test 
test test test test
test test test test test test test test test test test test test test 
test test test test test test test test test test test test test
\stoptyping

\stoptext

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* [NTG-context] Re: new align option
  2023-08-15 20:31 [NTG-context] new align option Hans Hagen via ntg-context
@ 2023-08-16  9:54 ` Hraban Ramm
  2023-08-16 15:52   ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Hraban Ramm @ 2023-08-16  9:54 UTC (permalink / raw)
  To: Hans Hagen via ntg-context

Hi, I don’t really understand this option.

With paragraphs, it’s like flushright, but the last line is right-indented.

Within typing, in your eaxmple it’s flushright except the first line; 
with my code examples with long lines it looks just flushleft without 
line breaking?

Would you please explain?

Hraban

Am 15.08.23 um 22:31 schrieb Hans Hagen via ntg-context:
> Hi,
>
> Especially for long verbatim lines we now can do this:
>
> \starttext
>
> \setupalign[hangright]
>
> \starttyping
> test test test test test test test test test test test test test test 
> test test test test test test test test test test test test test
> test test test test test test test test test test test test test test 
> test test test test
> test test test test test test test test test test test test test test 
> test test test test test test test test test test test test test
> \stoptyping
>
> \stoptext
>
> Hans
>
> -----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------
> ___________________________________________________________________________________ 
>
> If your question is of interest to others as well, please add an entry 
> to the Wiki!
>
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : https://contextgarden.net
> ___________________________________________________________________________________ 
>
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* [NTG-context] Re: new align option
  2023-08-16  9:54 ` [NTG-context] " Hraban Ramm
@ 2023-08-16 15:52   ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen via ntg-context @ 2023-08-16 15:52 UTC (permalink / raw)
  To: ntg-context; +Cc: Hans Hagen

On 8/16/2023 11:54 AM, Hraban Ramm wrote:
> Hi, I don’t really understand this option.
> 
> With paragraphs, it’s like flushright, but the last line is right-indented.
> 
> Within typing, in your eaxmple it’s flushright except the first line; 
> with my code examples with long lines it looks just flushleft without 
> line breaking?
\setuptyping[align=hangright]


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2023-08-16 15:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-15 20:31 [NTG-context] new align option Hans Hagen via ntg-context
2023-08-16  9:54 ` [NTG-context] " Hraban Ramm
2023-08-16 15:52   ` Hans Hagen 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).