From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72903 Path: news.gmane.org!not-for-mail From: Pavneet Arora Newsgroups: gmane.comp.tex.context Subject: Re: Word-wrap/hyphenation with very large font size not working consistently Date: Sat, 03 Dec 2011 11:55:15 -0500 Organization: Waroc Message-ID: <4EDA5473.30605@waroc.com> References: <4EDA40B9.1060706@waroc.com> <2E995FF5-E2B3-49E4-AD2D-0EF50F5C89BD@googlemail.com> Reply-To: pavneet_arora@waroc.com, mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1322931368 13743 80.91.229.12 (3 Dec 2011 16:56:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 3 Dec 2011 16:56:08 +0000 (UTC) Cc: mailing list for ConTeXt users To: Wolfgang Schuster Original-X-From: ntg-context-bounces@ntg.nl Sat Dec 03 17:56:03 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RWssd-0004YJ-BR for gctc-ntg-context-518@m.gmane.org; Sat, 03 Dec 2011 17:56:03 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 642E3CB12A; Sat, 3 Dec 2011 17:56:00 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id v+ixhpm10LCH; Sat, 3 Dec 2011 17:56:00 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3C95CCB144; Sat, 3 Dec 2011 17:55:44 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B9E9CCB133 for ; Sat, 3 Dec 2011 17:55:33 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id P4H4O-EIO89I for ; Sat, 3 Dec 2011 17:55:22 +0100 (CET) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id 82EF5CB12A for ; Sat, 3 Dec 2011 17:55:22 +0100 (CET) Original-Received: from mail-qw0-f41.google.com (mail-qw0-f41.google.com [209.85.216.41]) by filter2-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pB3GtK74022766 for ; Sat, 3 Dec 2011 17:55:21 +0100 Original-Received: by qabg14 with SMTP id g14so1196973qab.14 for ; Sat, 03 Dec 2011 08:55:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:reply-to:organization:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=W9tAQjpGLlAqa4Tca5XkAR1owjEGWDay+EH/LjzGQSU=; b=qxYINNCpo3NNf/cH7+2cgo7HvcTiRuTrc55q0WJIdWK0n6+rda4UgRxit0G+mJD+qf LcfT8eNF20h4327Slq3QizVmiKkis5SRBnTr4yEJsUVYC4tsg8oIPfHcH3RhdML5BgS3 tjFPi35tBS9dwjkX7UjRqKeOQsVYZg5cN3P+4= Original-Received: by 10.224.185.205 with SMTP id cp13mr2532665qab.34.1322931319939; Sat, 03 Dec 2011 08:55:19 -0800 (PST) Original-Received: from [192.168.0.67] (bas2-toronto12-1128737910.dsl.bell.ca. [67.71.44.118]) by mx.google.com with ESMTPS id fm5sm13139244qab.20.2011.12.03.08.55.16 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 03 Dec 2011 08:55:18 -0800 (PST) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110921 Thunderbird/3.1.15 In-Reply-To: <2E995FF5-E2B3-49E4-AD2D-0EF50F5C89BD@googlemail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0aG4ETlJa - 5994f47cce33 - 20111203 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:72903 Archived-At: Thanks Wolfgang, I see that the main change was align=broad as an option to \framed. Could you tell me what that does, or point me to where it is described? I see broad described in terms of width and height but not align under the description for framed. Thanks. On 11-12-03 10:43 AM, Wolfgang Schuster wrote: > > Am 03.12.2011 um 16:31 schrieb Pavneet Arora: > >> I am trying to typeset some signs for a construction site. I enclose a (somewhat contrived) for consideration. >> >> What I am having difficulty with is to get word wrap and interline spacing to work consistently. I am using \framed, but if there is a better way please let me know. The trouble I am having is getting lines to break consistently. Sometimes they do, but as in this case the second word `through' continues beyond the frame width. You may also try to substitute the text ``Enter this way today'', another contrived example to see the effect. The symbol font that I am using is Symbol-Signs from: >> >> http://www.fontsquirrel.com/fonts/Symbol-Signs >> >> but I shouldn't think that is pertinent to the problem. >> >> Any guidance on what is the issue here? Or if there is a better way to go about doing this type of signage. >> >> I am also interested in learning how to do vertical centering of blocks of text, i.e., in a formal letter or in this case of setting text for signs. I have read and tried to understand Wolfgang's response to Jaroslav's earlier enquiry: >> >> http://archive.contextgarden.net/message/20100702.112805.07aa71e2.en.html >> >> but I really don't understand it and how to make it work for my applications. Is there a simple template---say for a block of text---that someone might be able to offer for the ConTeXt challenged? > > \setuppapersize[legal,landscape] > > \setuplayout > [header=0in, > footer=0in, > topspace=0.75in, > bottomspace=0.75in, > backspace=1in, > width=12in] > > \setuppagenumbering > [location=] > > \usemodule[simplefonts] > > \setmainfont[TeX Gyre Schola] > > %\setupinterlinespace[line=1.2\bodyfontsize] > \setupinterlinespace[line=2.2ex] > > \starttext > \dontleavehmode > \framed > [width=7in,align={flushright,nothyphenated,broad},frame=on] > {\definedfont[Serif at 128pt]\setupinterlinespace Enter through here for parking\par}% > \framed > [width=5in,frame=off] > % {\definedfont[name:symbolsigns at 500pt]K} > {\definedfont[Sans at 500pt]K} > \stoptext > > Wolfgang -- ----- - Pavneet Arora Waroc Fine Audio + Custom Home Cinema www.waroc.com 416.937.WAROC (9276) ___________________________________________________________________________________ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________