From: Vyatcheslav Yatskovsky <yatskovsky@gmail.com>
To: "ntg-context-request@ntg.nl" <ntg-context@ntg.nl>
Subject: Vertical alignment of framed text
Date: Tue, 17 Apr 2007 16:27:03 +0300 [thread overview]
Message-ID: <1843304103.20070417162703@gmail.com> (raw)
In-Reply-To: <mailman.5106.1176811855.17432.ntg-context@ntg.nl>
Hello,
I want to insert "hotkeys", surrounded by a round frame, into a paragraph text. I almost have achieve it, except of proper vertical alignment.
Now it is the frame that is aligned with the text bottom line. But, I want the text inside a frame to be aligned with the rest of line.
(I found that \vcenter solves the problem but I don't know how to merge it with \defineframed. Or, maybe there is better solution?)
\defineframed
[hotkey][height=\lineheight,offset=4pt,corner=00]
\starttext
Another way to start or stop the device is to use hotkey. If the application is active (that is, sits on the foreground of your desktop), the hotkey is {\hotkey{Space}}. If it is not active, then use global hotkey -- \hotkey{Alt}+\hotkey{Space}.
\stoptext
--
Best regards,
Vyatcheslav Yatskovsky
next parent reply other threads:[~2007-04-17 13:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.5106.1176811855.17432.ntg-context@ntg.nl>
2007-04-17 13:27 ` Vyatcheslav Yatskovsky [this message]
2007-04-17 19:49 ` Wolfgang Schuster
2007-04-17 22:46 ` Vyatcheslav Yatskovsky
2007-04-19 12:05 ` Peter Rolf
2007-04-18 17:29 ` Mojca Miklavec
[not found] ` <6faad9f00704190819t559de7afgce3ae41e8b5f9815@mail.gmail.com>
[not found] ` <6faad9f00704190838h1d11d3c3q1e29d10a46f859ed@mail.gmail.com>
2007-04-19 17:42 ` Vyatcheslav Yatskovsky
2007-04-19 18:23 ` Mojca Miklavec
2007-04-19 18:24 ` Aditya Mahajan
[not found] <mailman.5172.1176934612.17432.ntg-context@ntg.nl>
2007-04-19 12:46 ` Vyatcheslav Yatskovsky
2007-04-29 10:52 ` Peter Münster
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=1843304103.20070417162703@gmail.com \
--to=yatskovsky@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).