ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Table problem
@ 2003-03-10  7:50 Willi Egger
  2003-03-10  8:21 ` Patrick Gundlach
  2003-03-10 21:56 ` Hans Hagen
  0 siblings, 2 replies; 16+ messages in thread
From: Willi Egger @ 2003-03-10  7:50 UTC (permalink / raw)


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

Hi Hans,


I need to make a set of tables, which are quite simple. I wanted to use the
\starttable..\stoptable environment.

However I get very strange results in the last column (p-column)

Please have a look at the test.tex file.

Do I something in a wrong way or is there something broken?

Thanks for your support.

Willi

p.s. I am using the beta of 04.03.2003 with a format of 09-03-2003.

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

\starttext

\section{Doel}

%\starttable[|rw(.05\textwidth)|lw(.3\textwidth)|pw(.65\textwidth)|]
\starttable[|rw(1cm)|lw(3cm)|pw(8cm)|]
\HL
%\VL\use2 Stap / Functie \VL Omschrijving activiteiten \VL\SR
%\HL
\VL 1
    \VL directeur
    \VL In de jaarlijkse management review (directiebeoordeling) het beleid
aangaande arbeidsomstandigheden toetsen aan: wetgeving, normen en
regelgeving externe (maatschappelijke) ontwikkelingen
\par
In de jaarlijkse management review (directiebeoordeling) het beleid
aangaande arbeidsomstandigheden toetsen aan: wetgeving, normen en
regelgeving externe (maatschappelijke) ontwikkelingen
\par
Deelnemers managementreview: \VL\FR
\HL
%\VL\use3 Opmerkingen \VL\LR
%\HL
\stoptable

\stoptext

^ permalink raw reply	[flat|nested] 16+ messages in thread
* TaBlE problem
@ 2004-09-06 11:59 Nikolai Weibull
  0 siblings, 0 replies; 16+ messages in thread
From: Nikolai Weibull @ 2004-09-06 11:59 UTC (permalink / raw)


This table is a bit messed up:

\starttext
\starttable[|r|c|c|]
\HL
\NC \bf State \VL\TWO{\bf Input Symbol}  \NC\AR
\DC           \DL[2]                     \DR
\NC           \VL 0     \VL 1            \NC\AR
\HL
\NC $s_0$     \VL $s_1$ \VL $s_0$        \NC\AR
\NC $s_1$     \VL $s_0$ \VL $s_1$        \NC\AR
\HL
\stoptable
\stoptext

Why aren't the columns for 0 and 1 of equal width?
Is there a better way than to set the template to [|r|c(3em)|c(3em)|]?
	nikolai

--
::: name: Nikolai Weibull    :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA    :: loc atm: Gothenburg, Sweden    :::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}

^ permalink raw reply	[flat|nested] 16+ messages in thread
* table problem
@ 2002-05-23  5:32 Denis B. Roegel
  2002-05-23  7:01 ` Taco
  0 siblings, 1 reply; 16+ messages in thread
From: Denis B. Roegel @ 2002-05-23  5:32 UTC (permalink / raw)
  Cc: roegel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1350 bytes --]

The following file produces an error on \NC and \SR. Did I forget something?

Thanks,

Denis

\enableregime[il1]
\useencoding[ffr]
\mainlanguage[fr]
\starttext

\starttable[lll]

\NC 00000         \NC {\tt O\_RDONLY}         \NC ouverture en lecture seule \NC\SR
\NC 00001         \NC {\tt O\_WRONLY}         \NC ouverture en écriture seule \NC\SR 
\NC 00002         \NC {\tt O\_RDWR}         \NC ouverture en lecture et écriture \NC\SR
\NC 00010         \NC {\tt O\_APPEND}         \NC ouverture en écriture à la fin du
fichier \NC\SR  
\NC 00400         \NC {\tt O\_CREAT}        \NC création du fichier s'il 
n'existe pas (seul cas d'utilisation de l'argument {\tt perm}) \NC\SR 
\NC 01000         \NC {\tt O\_TRUNC}        \NC troncature à la longueur zéro, si le
fichier existe \NC\SR  
\NC 02000         \NC {\tt O\_EXCL}         \NC provoque un échec si le fichier
existe déjà et si {\tt O\_CREAT} est positionné,
\stoptable
\stoptext

 ....

(/usr/local/tex/texmflocal/tex/context/base/enco-ffr.tex
system         : macros of module tryout loaded
(/usr/local/tex/texmflocal/tex/context/base/m-tryout.tex)
language       : language specific options [default-fr] seamless appended
)
systems        : begin file tab at line 4
! Undefined control sequence.
l.8 \NC
        00000         \NC {\tt O\_RDONLY}         \NC ouverture en lecture s...


^ permalink raw reply	[flat|nested] 16+ messages in thread
* Table problem
@ 2001-07-07 15:53 Tarik Kara
  2001-07-07 19:01 ` Eckhart Guthöhrlein
  2001-07-07 19:01 ` Eckhart Guthöhrlein
  0 siblings, 2 replies; 16+ messages in thread
From: Tarik Kara @ 2001-07-07 15:53 UTC (permalink / raw)


[-- Attachment #1: Type: TEXT/PLAIN, Size: 900 bytes --]

It's me again. As you might have guessed I am trying to switch to ConTeXt.
To start with I want to convert one of my old (LaTeX) document into
ConTeXt. Although the documentation is extensive I can't seem to find what
I need.  By new guestion is:

A have tables (a game matrix) like the one given in the attachment. What
is the best way to construct a table like the one in the attachment: The
label "Player 2" should be centered among the last 2 columns (the
\TWO\JustCenter{Player 2} did not do a good job), The label "Player 1"
should be centered among the last two rows (using the command \LOW{Player
1} in the first row seems to be working ok). The dimension of the
table does not have to be 2x2, but if you can show how to do it for 2x2 I
believe I can extended to nxm.

Also is there a way to get the number pairs alined by the comman.

Thanks for your patience and help.

Have fun,

Tar{\i}k

[-- Attachment #2: Type: APPLICATION/PDF, Size: 9875 bytes --]

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

end of thread, other threads:[~2004-09-06 11:59 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-10  7:50 Table problem Willi Egger
2003-03-10  8:21 ` Patrick Gundlach
2003-03-10 18:38   ` Willi Egger
2003-03-11  8:27     ` Hans Hagen
2003-03-10 21:56 ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2004-09-06 11:59 TaBlE problem Nikolai Weibull
2002-05-23  5:32 table problem Denis B. Roegel
2002-05-23  7:01 ` Taco
2001-07-07 15:53 Table problem Tarik Kara
2001-07-07 19:01 ` Eckhart Guthöhrlein
2001-07-08 19:23   ` Tarik Kara
2001-07-08 22:00     ` Eckhart Guthöhrlein
2001-07-09  8:12       ` Tarik Kara
2001-07-08 23:00     ` Hans Hagen
2001-07-08 23:05   ` Hans Hagen
2001-07-07 19:01 ` Eckhart Guthöhrlein

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