ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Peter Münster" <pmlists@free.fr>
Subject: Re: \definestartstop and \starttabulate
Date: Fri, 7 May 2004 22:12:40 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.58.0405072204560.16598@gaston.free.fr> (raw)
In-Reply-To: <6.0.1.1.2.20040507185337.01d4fec0@server-1>

On Fri, 7 May 2004, Hans Hagen wrote:

> \definetabulate[test][|l|p|l|]

Thank you, Hans!

Here you see, how I use it:

\define[3]\FLine{\NC#1\NC#2\NC#3\NC\AR}% First line
\define[2]\Line{\NC\NC#1\NC#2\NC\AR}   % normal line
\define[3]\SLine{\Line{\hbox{\hbox to 0pt{\hskip-3em #1}#2}}{#3}}% special line
\definetabulate[Loesung][%
  |p(0.3\makeupwidth)|p(0.2\makeupwidth)|p(0.3\makeupwidth)|]
\starttext
\startLoesung
\FLine{2YT-Medium}{5\,g}{NaCl}
\Line{10\,g}{Hefe-Extrakt}
\SLine{(AK:}{0,1\,mg/ml}{Ampicillin}
\Line{0,05\,mg/ml}{Kanamycin)}
\stopLoesung
\stoptext

Would it be easy to make it with key=value mechanism? Is there some
documentation on how to do it?
Something like
\startLoesung[name=2YT-Medium]
...
\stopLoesung
would be great.

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
________________________________________________________________
FilmSearch engine with a lot of new features: http://f-s.sf.net/

      reply	other threads:[~2004-05-07 20:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-06 19:31 Peter Münster
2004-05-07 16:55 ` Hans Hagen
2004-05-07 20:12   ` Peter Münster [this message]

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=Pine.LNX.4.58.0405072204560.16598@gaston.free.fr \
    --to=pmlists@free.fr \
    --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).