ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: the dash from ||
@ 2000-02-08 22:04 pragma
  0 siblings, 0 replies; 4+ messages in thread
From: pragma @ 2000-02-08 22:04 UTC (permalink / raw)
  Cc: ntg-context

>Hi Ed,=20
>
>> I sometimes wonder why the dash produced by "||" is so big:
>>       la-la la--la la$-$la la||la
>>=20
>> The last one is pretty dark and long.  I like the ability to
have
>> optional breaks, but I'd expect the last one ("la||la") to
look like
>> the first ("la-la").  Sometimes the darker dash looks out of
place in
>> documents.
>>=20
>> Is there a grammatical reason for the darker dash, or some
other
>> reason perhaps?
>
>It think Hans wanted to have a alternative to the hyphen which
appears on=
> the
>end of the line.
>(How to type ``Haber-Bosch process=B4=B4 here some prefer `--'
because Fr=
>itz Haber
>and Carl Bosch are two persons, a || might look nicer since a 
`-' is usu=
>ally
>bigger than a `--' and || is longer than `-'. In my opinion ||
is not the=
> best
>for words like `so-called' etc.)
>
>It is defined in supp-lan.tex

Sorry for the ugly reply, since I can only use webmail from the
USA. Don't expect too much answers from me these weeks -) 

Tobias is right. 

You can also say: 

by|-|pass 

and get a normal hyphen. If you put ( or ) or _ or - or ~ or <
or > etc between them the appropriate hyphenation measures are
taken. 

Hans 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: the dash from "||"
  2000-02-08 21:13 ` Tobias Burnus
@ 2000-02-08 22:12   ` Barry Schwartz
  0 siblings, 0 replies; 4+ messages in thread
From: Barry Schwartz @ 2000-02-08 22:12 UTC (permalink / raw)


Tobias Burnus <burnus@gmx.de> wrote:
> > I sometimes wonder why the dash produced by "||" is so big:
> >       la-la la--la la$-$la la||la

I have used "|-|" to get a hyphen of the first kind.

> \def\compoundhyphen     {{-}\kern-.25ex{-}}

This assumes a horizontal hyphen.  I just tried "||" with Adobe
Garamond, which has a non-horizontal hyphen, and the result was
amusing: it looked a bit like a broken stick.  :)

-- 
Barry Schwartz
CrossWorks, Inc.
work:  schwartz@cross-works.com
home:  Barry.Schwartz@acm.org


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: the dash from "||"
  2000-02-08 20:34 the dash from "||" Ed L. Cashin
@ 2000-02-08 21:13 ` Tobias Burnus
  2000-02-08 22:12   ` Barry Schwartz
  0 siblings, 1 reply; 4+ messages in thread
From: Tobias Burnus @ 2000-02-08 21:13 UTC (permalink / raw)
  Cc: NTG-ConTeXt mailing list

Hi Ed, 

> I sometimes wonder why the dash produced by "||" is so big:
>       la-la la--la la$-$la la||la
> 
> The last one is pretty dark and long.  I like the ability to have
> optional breaks, but I'd expect the last one ("la||la") to look like
> the first ("la-la").  Sometimes the darker dash looks out of place in
> documents.
> 
> Is there a grammatical reason for the darker dash, or some other
> reason perhaps?

It think Hans wanted to have a alternative to the hyphen which appears on the
end of the line.
(How to type ``Haber-Bosch process´´ here some prefer `--' because Fritz Haber
and Carl Bosch are two persons, a || might look nicer since a  `-' is usually
bigger than a `--' and || is longer than `-'. In my opinion || is not the best
for words like `so-called' etc.)

It is defined in supp-lan.tex
%D The sequence \type{||} simply leads to two words connected by
%D a hyphen. Because we want to distinguish such a hyphen from
%D the one inserted when \TEX\ hyphenates a word, we use a bit
%D longer one.
\def\compoundhyphen     {{-}\kern-.25ex{-}}

I'm sure you can setup the behaviour (maybe it is in the big manual), but I
cannot find it yet.
(It may work if you use \def\compoundhyphen{{-}}, but I'm to tied and have to
few time to think and test it.)

Tobias


^ permalink raw reply	[flat|nested] 4+ messages in thread

* the dash from "||"
@ 2000-02-08 20:34 Ed L. Cashin
  2000-02-08 21:13 ` Tobias Burnus
  0 siblings, 1 reply; 4+ messages in thread
From: Ed L. Cashin @ 2000-02-08 20:34 UTC (permalink / raw)


I sometimes wonder why the dash produced by "||" is so big:

      la-la la--la la$-$la la||la

The last one is pretty dark and long.  I like the ability to have
optional breaks, but I'd expect the last one ("la||la") to look like
the first ("la-la").  Sometimes the darker dash looks out of place in
documents.  

Is there a grammatical reason for the darker dash, or some other
reason perhaps?

-- 
--Ed Cashin                     PGP public key:
  ecashin@coe.uga.edu           http://www.coe.uga.edu/~ecashin/pgp/


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-02-08 22:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-08 22:04 the dash from || pragma
  -- strict thread matches above, loose matches on Subject: below --
2000-02-08 20:34 the dash from "||" Ed L. Cashin
2000-02-08 21:13 ` Tobias Burnus
2000-02-08 22:12   ` Barry Schwartz

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).