Re: [NTG-context] How to rotate a single character on a line?

2004-03-24 Thread Hans Hagen
At 16:22 23/03/2004, you wrote:
Hi all.

I want to use some arrows of the ZapfDingbats fonts. Most of the arrows 
included in this font are directed from left to right. I tried to use 
\rotate to produce arrows directed to different directions. Yet, rotate 
produces new lines.

Example:

\definefontsynonym[ZapfDingbats][zd]
\definefont[Zapf][ZapfDingbats at 24pt]
\rotate[rotation=180]{\Zapf\char234} {\Zapf\char234}

The example is intended to produce an arrow directed to the left followed 
by an arrow directed to the right. The result however is an arrow directed 
to the left followed by a new line with an arrow directed to the right.

intended:
- -
result:
-
-
Does someone know how the new line can be suppressed?
(untested)

\definesymbol[whatever][\dontleavehmode\rotate[rotation=180]{\getglyph{ZapfDingbats}{234}]

\symbol[whatever]

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] How to rotate a single character on a line?

2004-03-23 Thread Stefan Wachter
Hi all.

I want to use some arrows of the ZapfDingbats fonts. Most of the arrows 
included in this font are directed from left to right. I tried to use 
\rotate to produce arrows directed to different directions. Yet, rotate 
produces new lines.

Example:

\definefontsynonym[ZapfDingbats][zd]
\definefont[Zapf][ZapfDingbats at 24pt]
\rotate[rotation=180]{\Zapf\char234} {\Zapf\char234}

The example is intended to produce an arrow directed to the left 
followed by an arrow directed to the right. The result however is an 
arrow directed to the left followed by a new line with an arrow directed 
to the right.

intended:
- -
result:
-
-
Does someone know how the new line can be suppressed?

Thanks,
--Stefan
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context