ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problem with \startlegend ... \stoplegend
@ 2002-09-25 20:20 Willi Egger
  2002-09-27  9:10 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Willi Egger @ 2002-09-25 20:20 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 670 bytes --]

Hi,

I need to typeset a legend belonging to a formula.

Using the following code:

\setupoutput[pdftex]

\setupbodyfont[ss,12pt]

\starttext

\startlegend
   \leg 5  \\ gewenste hoeveelheid vet in het leer \\
   \leg X  \\ gewicht monster \\
   \leg Y  \\ vetgehalte monster: 1.5\% vet  \\
   \leg Z  \\ vetgehalte emulsie of dressing. \\
\stoplegend
\stoptext

I get indeed something typeset but it is not really what I thought to get...
See attachment.

I am using:

 pdfeTeX, Version 3.14159-1.00b-pretest-20020211-2.1 (Web2c 7.3.7x)
(format=cont-en 2002.9.2)  25 SEP 2002 22:14
ConTeXt  ver: 2002.8.23  fmt: 2002.9.2  int: english  mes: english

Kind regards Willi

[-- Attachment #2: test.tex --]
[-- Type: application/octet-stream, Size: 278 bytes --]

\setupoutput[pdftex]

\setupbodyfont[ss,12pt]

\starttext

\startlegend
   \leg 5  \\ gewenste hoeveelheid vet in het leer \\
   \leg X  \\ gewicht monster \\
   \leg Y  \\ vetgehalte monster: 1.5\% vet  \\
   \leg Z  \\ vetgehalte emulsie of dressing. \\
\stoplegend
\stoptext

[-- Attachment #3: test.pdf --]
[-- Type: application/pdf, Size: 17861 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem with \startlegend ... \stoplegend
  2002-09-25 20:20 Problem with \startlegend ... \stoplegend Willi Egger
@ 2002-09-27  9:10 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2002-09-27  9:10 UTC (permalink / raw)
  Cc: ntg_context

At 10:20 PM 9/25/2002 +0200, Willi Egger wrote:
>Hi,
>
>I need to typeset a legend belonging to a formula.
>
>Using the following code:
>
>\setupoutput[pdftex]
>
>\setupbodyfont[ss,12pt]
>
>\starttext
>
>\startlegend
>    \leg 5  \\ gewenste hoeveelheid vet in het leer \\
>    \leg X  \\ gewicht monster \\
>    \leg Y  \\ vetgehalte monster: 1.5\% vet  \\
>    \leg Z  \\ vetgehalte emulsie of dressing. \\
>\stoplegend
>\stoptext
>
>I get indeed something typeset but it is not really what I thought to get...
>See attachment.

 From the definitions of legends you may deduce that you miss a column -)

\definetabulate
   [\e!legenda]
   [|emj1|i1|mR|]

\setuptabulate
   [\e!legenda]
   [\c!eenheid=.75em,\c!binnen=\setquicktabulate\leg,EQ={=}]

\definetabulate
   [\e!legenda][\v!twee]
   [|emj1|emk1|i1|mR|]

\definetabulate
   [\e!gegeven]
   [|R|ecmj1|i1mR|]

\setuptabulate
   [\e!gegeven]
   [\c!eenheid=.75em,\c!binnen=\setquicktabulate\geg,EQ={=}]

So, you can define your own kind of tabulations!

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-27  9:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-25 20:20 Problem with \startlegend ... \stoplegend Willi Egger
2002-09-27  9:10 ` Hans Hagen

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).