ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
Subject: Re: prevent hyphenation (flush left)
Date: Sun, 16 Jul 2006 01:42:21 -0400 (EDT)	[thread overview]
Message-ID: <Pine.WNT.4.63.0607160141320.1952@nqvgln> (raw)
In-Reply-To: <6faad9f00607151934x5982e757wb27bc3c2d0add3b8@mail.gmail.com>

On Sun, 16 Jul 2006, Mojca Miklavec wrote:

> Hello,
>
> I urgently need to have my \framed texts left-justified (no
> hyphenation and nothing may go over the right border)

Hi Mojca,

Does this do what you want?

\starttext
\framed[width=5cm,align={leftflushed,stretch,tolerant,nothyphenated}]
   {\input knuth \endgraf}
\stoptext

Aditya


> I know that it must be trivial, but I assume that explicit
>    \exhyphenpenalty=10000
>    \hyphenpenalty=10000
> are replaced inside \framed anyway.
>
> Thank you,
>    Mojca
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
>

-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008

  reply	other threads:[~2006-07-16  5:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-16  2:34 Mojca Miklavec
2006-07-16  5:42 ` Aditya Mahajan [this message]
2006-07-16 23:23   ` Mojca Miklavec
2006-07-17  9:50 ` Hans Hagen
2006-07-18 15:27   ` Mojca Miklavec
2006-07-18 15:38     ` Otared Kavian
2006-07-18 18:17       ` Mojca Miklavec
2006-07-18 21:55         ` control the number of items in the startitemize environment batela
2006-07-18 23:38           ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.WNT.4.63.0607160141320.1952@nqvgln \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).