From: Andreas Harder <aharder@uni-koblenz.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: change interwordspace twice
Date: Sat, 12 Mar 2011 13:04:26 +0100 [thread overview]
Message-ID: <CBD32FC4-AB81-4DFF-80C4-CF6E0292E024@uni-koblenz.de> (raw)
In-Reply-To: <6B8EDFDF-A3B3-46CC-94FB-B3D477F8AE14@st.estfiles.de>
Am 12.03.2011 um 10:01 schrieb Steffen Wolfrum:
>
> Am 11.03.2011 um 19:56 schrieb Wolfgang Schuster:
>
>>
>> Am 11.03.2011 um 12:36 schrieb Steffen Wolfrum:
>>
>>> Hi,
>>>
>>> one time it works, the second it doesn't:
>>>
>>> \starttext
>>>
>>> \interwordspace 20.7pt Big Space
>>>
>>> \par
>>>
>>> \interwordspace 2.7pt Big Space
>>>
>>> \par
>>>
>>> \interwordspace 20.7pt Big Space
>>>
>>> \stoptext
>>>
>>> Does someone can explain how and when interwordspace is successfully set?
>>
>> That’s the only context way to change it:
>>
>> \starttext
>>
>> text text text
>>
>> \setuptolerance[space]
>>
>> text text text text
>>
>> \stoptext
>
>
> Is there only one "space" or s is possible to set more fine-tuned values?
You can define your own space.
\definetolerancemethod
[horizontal]
[smallspace]
{\spaceskip.2em plus.1em minus.05em\relax}
\definetolerancemethod
[horizontal]
[mediumspace]
{\spaceskip.33em plus.25em minus.1em\relax}
\definetolerancemethod
[horizontal]
[bigspace]
{\spaceskip.5em plus.25em minus.25em\relax}
\starttext \showframe[text]
\start \setuptolerance[smallspace] \input tufte \par \stop \blank
\start \setuptolerance[mediumspace] \input tufte \par \stop \blank
\start \setuptolerance[bigspace] \input tufte \par \stop \blank
% default:
\input tufte
\stoptext
Greeting
Andreas
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2011-03-12 12:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-11 11:36 Steffen Wolfrum
2011-03-11 11:55 ` Steffen Wolfrum
2011-03-11 18:45 ` Steffen Wolfrum
2011-03-11 18:56 ` Wolfgang Schuster
2011-03-12 9:01 ` Steffen Wolfrum
2011-03-12 12:04 ` Andreas Harder [this message]
2011-03-12 16:00 ` Wolfgang Schuster
2011-03-12 16:04 ` Andreas Harder
2011-03-12 18:15 ` Steffen Wolfrum
2011-03-13 16:01 ` Steffen Wolfrum
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=CBD32FC4-AB81-4DFF-80C4-CF6E0292E024@uni-koblenz.de \
--to=aharder@uni-koblenz.de \
--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).