ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vyatcheslav Yatskovsky <yatskovsky@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: Putting chord names above the lyrics
Date: Wed, 13 Jan 2010 00:51:35 +0200	[thread overview]
Message-ID: <4B4CFCF7.80604@gmail.com> (raw)
In-Reply-To: <mailman.251.1263333743.4207.ntg-context@ntg.nl>

Thanks, Wolfgang!

Good toy )

\usemodule[ruby]

\define[1]\chord{\dontleavehmode\ruby[position=before,align=left,inbetween={\blank[big]}]{}{#1}}

\starttext

\setupinterlinespace[big]

\startlines

\chord{E}Cvet dišeč z \chord{H7}jutrom se od\chord{cis}pre,

\chord{A}sonce od\chord{E}pira o\chord{H}či.

\chord{E}Polje z vetrom v \chord{H7}plesu ziblje \chord{cis}se.

Gos\chord{E}pod, pov\chord{H}sod vidim \chord{E}Te.

\stoplines

\stoptext


However, it was tricky to find out that "inbetween={\blank[big]}"key 
controls the distance between chords and lyrics. Can this distance be 
set more precisely?

And "position=before" or "after" would better be "above" and "below", 
respectively. Don't you dare to change this? )

Regards,
Vyatcheslav

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

       reply	other threads:[~2010-01-12 22:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.251.1263333743.4207.ntg-context@ntg.nl>
2010-01-12 22:51 ` Vyatcheslav Yatskovsky [this message]
2010-01-12 23:09   ` Wolfgang Schuster
     [not found] <mailman.0.1263207601.24456.ntg-context@ntg.nl>
2010-01-12  2:48 ` Vyatcheslav Yatskovsky
2010-01-12  8:24   ` Wolfgang Schuster
2010-01-12  9:08   ` Mojca Miklavec
2010-01-12  9:25     ` Wolfgang Schuster

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=4B4CFCF7.80604@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).