ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
Subject: Re: rotated accented character
Date: Sun, 21 Aug 2005 15:34:45 +0200	[thread overview]
Message-ID: <6faad9f005082106343dfed53e@mail.gmail.com> (raw)
In-Reply-To: <4304D012.8050700@wxs.nl>

Hans Hagen wrote:
> Mojca Miklavec wrote:
> 
> > Hello,
> >
> > I would like to define an accented rotated character e,
> > "schwagrave". The following definition fails because of two reasons:
> > - rotate rotates around the middle of the baseline (I would like to
> > place the rotated e at the same place where it was before)
> > - buildtextaccent doesn't like the box produced by rotation
> 
> there are many ways to rotate ...

Thank you, Hans. It was actually \hbox in the examples which solved
the first part of my problem. I already tried different location=*
out, but I was confused by the fact that some of them behaved pretty
strange without \hbox. An example:

% location = depth, fit, broad, normal, high
a\rotate[rotation=180,location=broad]{e}i\par
a\rotate[rotation=180,location=broad]{\hbox{e}}i

(I can well imagine that this is the intended behaviour when mixing
writing directions. I was just a bit confused and thought that I was
missing some other parameter which wouldn't need an additional hbox.)


So now that I have the properly rotated letter, is it possible to do
the following:

% U0259 LATIN SMALL LETTER SCHWA
\definecharacter schwa {\rotate[rotation=180,location=high]{\hbox{e}}}
\definecharacter schwagrave {\buildtextaccent\textgrave{\schwa}}
\schwagrave

Thank you,
    Mojca

  reply	other threads:[~2005-08-21 13:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-18 13:49 Mojca Miklavec
2005-08-18 18:14 ` Hans Hagen
2005-08-21 13:34   ` Mojca Miklavec [this message]
2005-08-21 18:31     ` Hans Hagen
2005-08-21 18:33     ` Hans Hagen
2005-08-21 18:32 Hans Hagen
2005-08-22  0:25 ` Mojca Miklavec
2005-08-22 16:08   ` Hans Hagen Outside

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=6faad9f005082106343dfed53e@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --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).