: pdfeTeX, 3.141592-1.21a-2.2 (Web2C 7.5.4)
context : ver: 2005.01.31
cont-en : ver: 2005.01.31 fmt: 2005.4.30 mes: english
Here is a sample:
\starttext
\startcolumns[n=2]
\starttable[|l|l|]
\HL
\NC \bf a \NC \bf b \NC\SR
\HL
\NC a \NC b \NC\FR
\dorecurse{100}{\NC \recurselevel \NC b \NC\MR}
\NC a \NC b
}}
{\starttablehead
\HL
\NC \bf Column 1\NC \bf Column2 \NC\AR
\HL
\stoptablehead
\starttabletail
\HL
\stoptabletail
\starttables[|l|lp(25em)|]
\NC \dots \NC \dots \NC\AR
\dots
\stoptables}
Enjoy,
nikolai
on this list I hoped the following
would work for natural tables as well. It does not, the table
ends up unsplit. What am I doing wrong?
I'm not sure you can use natural tables for this. This works:
\splitfloat
{\placetable{Title}}
{\starttablehead
\HL
\NC \bf Column 1
Peter Münster wrote:
Do you know, if this is possible with TABLE:
\starttext
\SetTableToWidth{10cm}
\starttable[|c|c|c|]
\HL
\VL xxx \VL xxx \VL x \VL\AR
\HL
\stoptable
\stoptext
Cheers, Peter
Hmm, I change a little your code to better understand it
\starttext
\SetTableToWidth
:
\setupTABLE[x][1][width=0.2\textwidth]
\setupTABLE[x][2][width=0.25\textwidth]
\setupTABLE[x][3][width=0.25\textwidth]
\setupTABLE[x][4][width=0.3\textwidth]
Do you know, if this is possible with TABLE:
\starttext
\SetTableToWidth{10cm}
\starttable[|c|c|c|]
\HL
\VL xxx \VL xxx
of People without health
insurance in US}{\start
\starttablehead
\HL
\VL State \VL 3-year average(2001-2003) \VL 2-year average(2001-2002)
\VL\SR
\stoptablehead
\starttabletail
\HL[4]
\stoptabletail
\starttables[|l w(30mm)|l|l|]
\VL Alabama \VL 13.3 \VL 13.5
at the bottom of
a cell, \DC to not draw a line, and \DL to end the row? This means
one can draw lines just for the cells one wants in any manner.
See this table. The middle rule is too wide for me. It needs left and
right timming.
\starttable[]
\HL[2]
\NC test \NC test \NC test \NC \FR
\DC \DL
|]
\HL
\VL State \VL 3-year average(2001-2003) \VL 2-year
average(2001-2002) \VL\SR
\HL[4]
\VL Alabama \VL 13.3 \VL 13.5
\VL\FR
\DL \DC \DL \DR
The \DL has an explicit \DC in it, so the line should be:
\DL \DL \DR
Steve
Is there a way to put space between cells in a tabluate table?
\starttabulate[|p(6cm) |p(6cm)|]
\NC American Community Survey \NC Current Population Survey \NC\NR
\HL
\NC
All dollar values for income are adjusted to latest calendar year of estimates
using the Consumer Price Index for the date
Good to know about the optional parameter of \HL.
I still miss the same things as Patrick:
- rules of arbitrary thickness (not only multiples of something)
- fine-tuning of vertical spacing, especially around thicker rules
- left/right trimming of horizontal lines
Patrick, please let me know
Hello Hans,
\starttable[|||]
\HL[2]
\NC test \NC test \NC \FR
\HL[5]
\NC test \NC test \NC \MR
\HL[8]
\NC test \NC test \NC \LR
\HL[2]
\stoptable
These [n] are multiplies of a default dimension? I'd like to say \TR
for a default (predefined, thicker) top rule or \TR[30pt] for a very
Patrick Gundlach wrote:
There are commands like \toprule, \midrule, \bottomrule that insert
horizontal rules with different thickness (default values, optional
ones can be added with [..] right after the command). Eckhart has sent
an example in his first post.
\starttable[|||]
\HL[2]
\NC test \NC
interface=en
\starttext
\setupinterlinespace
\setupfloats[location=center]
\placetable
[here][tab:test]{Test.}
\starttable{|c|c|}
\HL
\VL macron ({\=a}) \VL accents ({\=a}) \VL\FR
\HL
\VL do not ({\=a}) \VL work({\=a})\VL\NR
\HL
\VL in ({\=a}) \VL tables ({\=a}) \VL\LR
\HL
\stoptable
[here][tab:test]{Test.}
\starttable{|c|c|}
\HL
\VL macron ({\=a}) \VL accents ({\=a}) \VL\FR
\HL
\VL do not ({\=a}) \VL work({\=a})\VL\NR
\HL
\VL in ({\=a}) \VL tables ({\=a}) \VL\LR
\HL
\stoptable
\stoptext
===
log:
===
systems
\newcommand{\operand}[1]{{\sc #1}}
\newcommand{\ttvalue}[1]{{\sc #1}}
\newcommand{\xttable}[7]{\starttable[|c|c|c|]\HL %
#1 \NC #2 \NC #1 \operand{#3} #2 \SR\HL
\ttvalue{false} \NC \ttvalue{false} \NC \ttvalue{#4} \FR %
\ttvalue{false} \NC \ttvalue{true} \NC \ttvalue{#5} \MR %
\ttvalue{true} \NC \ttvalue
Hi Gerben
The problem is, that \starttable[|c|c|c|] is for oneliners only.
Replace the statement with
\newcommand{\xttable}[7]{\starttable[|p|p|p|]\HL %
Kind regards
Willi
Gerben Wierda wrote:
I am trying to convert to ConTeXt and I have a text with a lot of truth
tables using a \ttable
. The ConTeXT manual does not have \starttable documentation, not
does the wiki (how does 'p' work etc).
% Try with 'p' columns
\usemodule[bib] % defines \newcommand
\newcommand{\operand}[1]{{\sc #1}}
\newcommand{\ttvalue}[1]{{\sc #1}}
\newcommand{\xttable}[7]{\starttable[|p|p|p|]\HL %
#1 \NC #2 \NC #1
|p|p|]\HL %
#1 \NC #2 \NC #1 \operand{#3} #2 \SR\HL
\ttvalue{false} \NC \ttvalue{false} \NC \ttvalue{#4} \FR %
\ttvalue{false} \NC \ttvalue{true} \NC \ttvalue{#5} \MR %
\ttvalue{true} \NC \ttvalue{false} \NC \ttvalue{#6} \MR %
\ttvalue{true} \NC \ttvalue{true} \NC \ttvalue{#7} \LR\HL %
\stoptable
not have \starttable documentation, not does
the wiki (how does 'p' work etc).
% Try with 'p' columns
\usemodule[bib] % defines \newcommand
\newcommand{\operand}[1]{{\sc #1}}
\newcommand{\ttvalue}[1]{{\sc #1}}
\newcommand{\xttable}[7]{\starttable[|p|p|p|]\HL %
#1 \NC #2 \NC #1 \operand{#3} #2 \SR\HL
] % defines \newcommand
\newcommand{\operand}[1]{{\sc #1}}
\newcommand{\ttvalue}[1]{{\sc #1}}
\newcommand{\xttable}[7]{\starttable[|p|p|p|]\HL %
#1 \NC #2 \NC #1 \operand{#3} #2 \SR\HL
\ttvalue{false} \NC \ttvalue{false} \NC \ttvalue{#4} \FR %
\ttvalue{false} \NC \ttvalue{true} \NC \ttvalue{#5} \MR
' columns
\usemodule[bib] % defines \newcommand
\newcommand{\operand}[1]{{\sc #1}}
\newcommand{\ttvalue}[1]{{\sc #1}}
\newcommand{\xttable}[7]{\starttable[|p|p|p|]\HL %
#1 \NC #2 \NC #1 \operand{#3} #2 \SR\HL
\ttvalue{false} \NC \ttvalue{false} \NC \ttvalue{#4} \FR %
\ttvalue{false} \NC \ttvalue{true} \NC
Hello,
here the next problem:
\starttext
\starttablehead
\HL
\stoptablehead
\starttables[|l|l|]
\dorecurse{50}{\VL SomeText \VL SomeText \VL \AR}
\stoptables
Problem: top margin on first page is bigger.
\stoptext
Greetings, Peter
--
http://pmrb.free.fr/contact
\HL
\NC command \NC meaning \NC\SR
\HL
\stoptablehead
\starttabletail
\HL
\stoptabletail
\starttables[|l|l|]
\NC \tex{NC}\NC next column\footnote{first footnote}\NC\FR
\dorecurse{10}{\NC \tex{MR} \NC middle row \NC\MR}
\NC \tex{LR}\NC last row\footnote{last footnote}\NC\LR
Hello,
could someone help me with placing a footnote in a multipage-table?
Here an example, where the table overwrite the footnote:
\starttext
\starttablehead
\HL
\NC command \NC meaning \NC\SR
\HL
\stoptablehead
\starttabletail
\HL
\stoptabletail
\starttables[|l|l|]
\NC \tex{NC}\NC
\starttext
\placetable
[][]
{Operators}
{\start
\starttablehead
\HL
\NC \bf Operator \NC \bf Matches \NC\SR
\HL
\stoptablehead
\starttabletail
\HL
\stoptabletail
\starttables[|l|lp(25em)|]
\dorecurse{50}{\NC . \NC anything \NC\AR}
\stoptables\stop}
\stoptext
This doesn't split
Hello,
is there a possibility to use footnotes in tables?
Unfortunately, the table gets printed over the footnote in the following
example:
\def\Line{\NC \tex{HL} \NC horizontal line \NC\AR}
\starttext
\starttablehead
\HL
\NC command \NC meaning \NC\SR
\HL
\stoptablehead
\starttabletail
\HL
Hello Peter,
may be the following is suiting your needs:
\def\Line{\NC \tex{HL} \NC horizontal line \NC\AR}
\starttext
Here is some other text followed by a table.
\blank
\startlocalfootnotes[n=0]
\starttablehead
\HL
\NC command \NC meaning \NC\SR
\HL
\stoptablehead
\starttabletail
\HL
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
\global\advance\RevC by 1 \VL \the\RevC \VL \CHDate \VL \CHModif \VL
XXX%\In[\CHLabels,\relax] % does not work, but not so important for now
\VL \CHAuteur \VL\AR\HL}
And later on, the usage of the macro:
\Changes[Date=1/2/2004,Modif=First version,Auteur=Peter]
\Changes[Date=3/4/2004,Modif=Some
\startChanges{\hbox to \hsize\bgroup\hss\SetTableToWidth{\BigWidth}%
\starttable[s1 | c | c | p(95mm) | p(17mm) | p(37mm) |]
\HL\BL[5]\AR\VL Rév.\VL Date\VL Origine de la mise à jour\VL§ modifié\VL
Auteur\VL\AR\HL}
\def\stopChanges{\stoptable\hss\egroup}\newcount\RevC
\def\Changes#1[#2
Am Do, 2004-07-29 um 12.35 schrieb Hans Hagen:
which table mechanism do you use?
like this:
{\start
%
\starttablehead
\HL
\NC Haus\crlf \tx Pos.~Nr.\NC Bewohner und Bemerkungen\crlf{\bf von
\dots\ nach \dots\ }%
\NC Natio\-nalität \NC\FR%\AR
\HL
\stoptablehead
%
\starttabletail
\HL
Hi all,
for a very long dokumentation I use tables like
{\start
%
\starttablehead
\HL
\NC Haus\crlf \tx Pos.~Nr.\NC Bewohner und Bemerkungen\crlf{\bf von
\dots\ nach \dots\ }%
\NC Natio\-nalität \NC\FR%\AR
\HL
\stoptablehead
%
\starttabletail
\HL
\stoptabletail
%
\starttables[|lp(0.11\textwidth
...HL \NC \bf en\NC \ShwChrWd 0en
\NC \ShwChrWd 1en\NC
\ShwC...
\fulltabulatecontent ...dcontent \tabulatecontent
\tabulatetailcontent
\remo...
\processtabulate ...sa \crcr \fulltabulatecontent
)
\tabulatecontent ...HL \NC \bf en\NC \ShwChrWd 0en
\NC \ShwChrWd 1en\NC
\ShwC...
\fulltabulatecontent ...dcontent \tabulatecontent
\tabulatetailcontent
\remo...
\processtabulate ...sa \crcr
beta, unpacked the zip and rebuild the
formats. When compiling the module lang-frq I get the following error:
! Undefined control sequence.
\ShwChrWd ...2#3]\the \dimexpr (\averagecharwidth
)
\tabulatecontent ...HL \NC \bf en\NC \ShwChrWd 0en
Is there a way to create tables with double horizontal lines in ConTexXt?
Using:
\HL
\HL
Just causes ConTeXt to ignore one of them.
William D. Neumann
---
Well I could be a genius, if I just put my mind to it.
And I...I could do anything, if only I could get 'round to it.
Oh we were brought up
An \DL has an explicit DC in it, so you have to leave out the next \DC as in:
\starttext
\starttable[|c|c|c|c|c|c|]
%\starttables[|c|c|c|c|c|c|]
%
\HL
\NC one \NC two \NC three \NC four \NC five \NC six \NC\AR
%
\DL[2]\DC \DC \DC\DR
\VL \TWO{one + two
Patrick Gundlach [EMAIL PROTECTED] writes:
Hi,
Ed L Cashin [EMAIL PROTECTED] writes:
Hi. I have two questions, really. I know that I can get a horizontal
line with \ML in a tabulate table. \HL doesn't seem to work for me,
though.
your ConTeXt version is either too old or too new
Hi,
Ed L Cashin [EMAIL PROTECTED] writes:
Hi. I have two questions, really. I know that I can get a horizontal
line with \ML in a tabulate table. \HL doesn't seem to work for me,
though.
your ConTeXt version is either too old or too new. Depends on how you
look at it. \HL was deactivated
Hans Hagen [EMAIL PROTECTED] writes:
Hi,
\starttabulate[|l|p|]
\HL
\NC small \NC They say, small is beautiful. \NC \NR
\HL
\NC medium \NC It seems that the medium is the message. \NC \NR
\HL
\NC large \NC Large T||shirts are always sold out. \NC \NR
\HL
\stoptabulate
\stoptext
Hi Patrick,
Hi,
\starttabulate[|l|p|]
\HL
\NC small \NC They say, small is beautiful. \NC \NR
\HL
\NC medium \NC It seems that the medium is the message. \NC \NR
\HL
\NC large \NC Large T||shirts are always sold out. \NC \NR
\HL
\stoptabulate
\stoptext
At 20:26 22/09/2003 +0200, you wrote:
\starttabulate[|l|p|]
\HL
\NC small \NC They say, small is beautiful. \NC \NR
\HL
\NC medium \NC It seems that the medium is the message. \NC \NR
\HL
\NC large \NC Large T||shirts are always sold out. \NC \NR
\HL
\stoptabulate
\stoptext
Hi Patrick
The first tabulate gives me rules, the second does not. Which would
not harm if this is documented. But in the MAPS article mentioned
recently and in the up-to-date the examples clearly show that \HL
should give me a horizontal line. What is going
, but this does not seem to work.
what kind of nesting?
\starttabulate
\NC test \NC \starttable[|||] \HL \VL test \VL test \VL \NR \HL
\stoptable \NC \NR
\stoptabulate
nesting tabulates is not (yet) possible, i played a bit with it but it
will cost me more time to handle it (due to soem global aspects
501 - 544 of 544 matches
Mail list logo