From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/14970 Path: main.gmane.org!not-for-mail From: "Adam Lindsay" Newsgroups: gmane.comp.tex.context Subject: Re: Re: How to rotate a single character on a line? Date: Fri, 2 Apr 2004 13:53:32 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <20040402125332.3723@mail.comp.lancs.ac.uk> References: Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1080910591 7428 80.91.224.253 (2 Apr 2004 12:56:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Apr 2004 12:56:31 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Fri Apr 02 14:56:21 2004 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B9ODc-0008Fk-00 for ; Fri, 02 Apr 2004 14:56:20 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 8D13310AFA; Fri, 2 Apr 2004 14:53:12 +0200 (MEST) Original-Received: from mail.comp.lancs.ac.uk (mail.comp.lancs.ac.uk [148.88.3.45]) by ref.ntg.nl (Postfix) with ESMTP id A3C7410ABB for ; Fri, 2 Apr 2004 14:51:10 +0200 (MEST) Original-Received: from [148.88.168.192] (gfb008000005.lancs.ac.uk [148.88.168.192]) by mail.comp.lancs.ac.uk (8.12.10/8.12.10) with ESMTP id i32CsCJC005968; Fri, 2 Apr 2004 13:54:13 +0100 (BST) Original-To: , "Stefan Wachter" In-Reply-To: X-Mailer: CTM PowerMail 4.2.1 us Carbon Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:14970 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:14970 Hello again, Stefan. I'm not exactly sure why I'm doing this, but I'm learning a lot in the process... Stefan Wachter said this at Thu, 1 Apr 2004 11:50:31 +0200: >> >> \definesymbol[whatever][\dontleaveh >mode\rotate[rotation=3D180]{\getglyph{ZapfDingbats}{234}] >> >> >> \symbol[whatever] >Hi Hans, > >thanks for the help. I had to enclose the symbol definition part in >curly brackets: > >\definesymbol[whatever][{\dontleavehm >ode\rotate[rotation=3D180]{\getglyph{ZapfDingbats}{234}}}] > >Now the symbol is rotated without causing a new line. Yet, the rotated >symbol appears below the current line: > >text text -> text > <- > >Is there a possibility to specifiy the center of rotation=3F I'm not sure about that, but a bit of trial-and-error gives (building upon yesterday's posts and my little symb-uzd package): \usesymbols[uzd] \setupsymbolset[Unicode Shadowed Arrows] \definesymbol[left][{% = \raisebox{0.05em}\normalhbox{\rotate[location=3D{high},rotation=3D180] {\symbol[LeftShadedWhiteRightwardsArrow]}}}] \definesymbol[right][{\symbol[RightShadedWhiteRightwardsArrow]}] \starttext test \symbol[left] \symbol[right] test \crlf \tfb test \symbol[left] \symbol[right] test \crlf \tfd test \symbol[left] \symbol[right] test \crlf \stoptext You can replace the symbol names with your \getglyph{ZapfDingbats}{234}, = etc. =46rom testing (Apple's PDF vs Adobe Viewer), it looks like precise placement will be difficult, given your other concerns: different viewers are going to have differently-drawn Dingbat fonts, and alignment, here, is going to depend a fair bit on the internal structure of these fonts. (Heh, I just thought of this:) \definesymbol[left][{% \mirror{\symbol[LeftShadedWhiteRightwardsArrow]}}] The mirrored version works fine, and is what you probably want. That's ConTeXt for you... sometimes you have to take a step back and realise that it can be done more simply! adam -- =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D Adam T. Lindsay atl@comp.lancs.ac.uk Computing Dept, Lancaster University +44(0)1524/594.537 Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-