ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* align=nothyphenated in \defineparagraphs
@ 2022-07-30 14:36 Marcin Ciura via ntg-context
  2022-07-30 15:11 ` Henning Hraban Ramm via ntg-context
  0 siblings, 1 reply; 2+ messages in thread
From: Marcin Ciura via ntg-context @ 2022-07-30 14:36 UTC (permalink / raw)
  To: ntg-context; +Cc: Marcin Ciura

Dear list,
I would like to typeset two columns with different widths and no hyphenation.
The columns in the output PDF overlap:
https://live.contextgarden.net/cgi-bin/result.cgi?id=JnPVEM
How to make the columns non-overlapping? My attempt is below.
I do not see a solution at
https://wiki.contextgarden.net/Command/setupparagraphs
Best regards,
Marcin Ciura

\mainlanguage[pl]
\defineparagraphs[proposition][n=2,align=nothyphenated]
\setupparagraphs[proposition][1][width=0.56\textwidth]
\setupparagraphs[proposition][2][width=0.41\textwidth]

\starttext
\startproposition

Jeśli w trójkącie $ABC$
pole kwadratu skonstruowanego na jednym boku
jest równe sumie pól kwadratów skonstruowanych
na dwóch innych bokach:
$BC^2 = AC^2 + AB^2$,
to kąt $BAC$
między tymi dwoma bokami jest prosty.

\proposition

Jeśli odcinek stykający się z innym odcinkiem
tworzy z~nim dwa równe kąty przyległe,
to oba kąty przyległe nazywamy {\bf kątami prostymi},
a~o~obu odcinkach mówimy, że są {\bf prostopadłe}.

\stopproposition
\stoptext
___________________________________________________________________________________
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] 2+ messages in thread

* Re: align=nothyphenated in \defineparagraphs
  2022-07-30 14:36 align=nothyphenated in \defineparagraphs Marcin Ciura via ntg-context
@ 2022-07-30 15:11 ` Henning Hraban Ramm via ntg-context
  0 siblings, 0 replies; 2+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2022-07-30 15:11 UTC (permalink / raw)
  To: Marcin Ciura via ntg-context; +Cc: Henning Hraban Ramm

Am 30.07.22 um 16:36 schrieb Marcin Ciura via ntg-context:
> Dear list,
> I would like to typeset two columns with different widths and no hyphenation.
> The columns in the output PDF overlap:
> https://live.contextgarden.net/cgi-bin/result.cgi?id=JnPVEM
> How to make the columns non-overlapping? My attempt is below.

align={nothyphenated,flushleft}

Hraban

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

end of thread, other threads:[~2022-07-30 15:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-30 14:36 align=nothyphenated in \defineparagraphs Marcin Ciura via ntg-context
2022-07-30 15:11 ` Henning Hraban Ramm 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).