ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Willi Egger <w.egger@boede.nl>
Subject: Re: \raggedright?
Date: Sun, 13 Mar 2005 12:02:03 +0100	[thread overview]
Message-ID: <42341DAB.3010000@boede.nl> (raw)
In-Reply-To: <cb21f433962ccbda3d5b799cb606b97f@rna.nl>

[-- Attachment #1: Type: text/plain, Size: 587 bytes --]

Hi Gerben,

with \raggedright one needs to use {}. May be a better approach is to 
use \framedtext[align=left,width=xxcm,frame=off]{your text}
Pease refer to the attached file.

Kind regards

Willi

Gerben Wierda wrote:
> I tried to get one piece in a justified text to behave as follows: right 
> aligned and with a jagged left edge. But what I tried influenced my 
> entire document.
> 
> Can someone explain me how to do this?
> 
> G
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

[-- Attachment #2: ragged-Wierda.tex --]
[-- Type: text/plain, Size: 546 bytes --]

% Ragged right text
% Gerben Wierda
% Context file
% filename: ragged-Wierda.ex
% Willi Egger
% 13-03-2005

\setupoutput[pdftex]
\mainlanguage[en]
\setuptolerance[tolerant,stretch]
\startbuffer[Ward]
	\input ward
\stopbuffer

\startbuffer[Knuth]
	\input knuth
\stopbuffer

\startbuffer[Zapf]
	\input zapf
\stopbuffer

\starttext

{\raggedright{ \getbuffer[Knuth]}}
\blank[2*big]
{\raggedleft {\getbuffer[Ward]}}
\blank[2*big]
{\raggedright {\getbuffer[Zapf]}}

\framedtext[align=left,width=9cm,fram=on,offset=.5cm]{
	\getbuffer[Zapf]}

\stoptext

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

      parent reply	other threads:[~2005-03-13 11:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-12 23:42 \raggedright? Gerben Wierda
2005-03-13  0:27 ` \raggedright? Nikolai Weibull
2005-03-13 11:24   ` \raggedright? Taco Hoekwater
2005-03-13 11:02 ` Willi Egger [this message]

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=42341DAB.3010000@boede.nl \
    --to=w.egger@boede.nl \
    --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).