then one gets an error. Some how your new code breaks the calculation
for number of columns.
-Hamid
He forgot only to put a \NC before the \AR.
The correct code should be
\starttable[s0|l|l|l|]
\HL[3]
\NC Monat \NC 1965 \NC 1966 \NC\AR
\NC \CMID \NC \CMID \NC \CMID \DR
\NC
\fancyTABLEquote
\fi
\fi}
\def\fancyTABLEquote {\unskip\!ttRightGlue\omit\hskip2em} %
\protect
\setuptables[rulethickness=0.03em]
\starttable[s0|l|l|]
\HL[3]
\NC Monat \NC 1965 \NC 1966 \AR
\NC \CMID \NC \CMID \NC \CMID \DR
\NC September \NC 2000 \NC 1700
\relax
\normalTABLEquote
\else
\fancyTABLEquote
\fi
\fi}
\def\fancyTABLEquote {\unskip\!ttRightGlue\omit\hskip2em} %
\protect
\setuptables[rulethickness=0.03em]
\starttable[s0|l|l|]
\HL[3]
\NC Monat \NC 1965 \NC 1966 \AR
\NC \CMID \NC
|]
\HL[3]
\NC \Use2[c]{Item} \NC\NC \AR
\DL[2] \DC\DR
\NC Animal\NC Description \NC Price (\$) \NC \AR
\HL[2]
\NC Gnat \NC per gram \NC 13.65 \NC \AR
\NC \NC each \NC 0.01
Hi,
What is the correct way of using * key with TaBlE? The following does not work
\starttext
\starttable[|*{2}l|]
\HL
\NC A \NC B \NC \NR
\HL
\stoptable
\starttable[|l|l|]
\HL
\NC A \NC B \NC \NR
\HL
\stoptable
\stoptext
Thanks,
Aditya
Hans,
I'm revisiting the metafun manual and I am marveling at the format of
the source code. For example:
\starttabulate[|lT|l|]
\HL
\NC \METAPOST\ code \NC mathematical equivalent \NC \NR
\HL
\NC (x,y) shifted (a,b) \NC $(x+a,y+b)$ \NC \NR
\NC (x,y) scaled s \NC $(sx,sy
David Arnold wrote:
Hans,
I'm revisiting the metafun manual and I am marveling at the format of
the source code. For example:
\starttabulate[|lT|l|]
\HL
\NC \METAPOST\ code \NC mathematical equivalent \NC \NR
\HL
\NC (x,y) shifted (a,b) \NC $(x+a,y+b)$ \NC \NR
\NC (x,y) scaled
All -
I have created a table similar to the example in the wiki
\starttext
\setuptables[split=repeat]
\starttablehead
\HL \VL {\bf Head1} \VL {\bf Head2} \VL \AR \HL
\stoptablehead
\starttables[|l|l|]
\dorecurse{50}{%
\VL SomeText
\VL SomeText
\VL \AR \HL}
\stoptables
Problem: top
Hello folks,
I can't get repeated headers in a multipage table. I tried the following:
%
\starttext
\starttablehead
\HL
\VL Column 1 \VL Column 2 \VL\SR
\HL
\stoptablehead
\starttabletail
\HL
\VL Column 1 \VL Column 2 \VL\SR
\HL
.
%
\setuptables[split=repeat]
\starttext
\starttablehead
\HL
\VL Column 1 \VL Column 2 \VL\SR
\HL
\stoptablehead
\starttabletail
\HL
\VL Column 1 \VL Column 2 \VL\SR
\HL
\stoptabletail
\starttables[|l|l|]
\dorecurse{100}{\VL value \VL value \VL
how is it
called?
\frac {a}{b} is equivalent to plain tex's {a \over b}.
There is also a command similar to what you want to define in ConTeXt.
It is called vulgar fraction. From core-mis.tex
%D \starttabulate
%D \HL
%D \NC \bf method \NC \bf visualization \NC\NR
%D \HL
%D \NC 0 \NC \chardef
. I also can't seem to find
a way to draw a fine double line: \hline \hline \\[-8pt]
\HL \MR \HL skips a whole line and godown[] doesn't seem to work in table
context.
Thanks for any suggestions.
pgpEkcGavP9NR.pgp
Description: PGP signature
]
That, I don't really know.
\HL
\NC\vadjust{\kern-16pt}\NC\NR
\HL
seems to work, but is very ugly coding.
Best, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
all requirements with their priorities in a table
% I tried something like this but it didn't work
\reset[Requirement]
\setupblock[Requirement][before=\HL\VL,after=]
\setupblock[Priority][before=\VL,after=\VL\MR
\starttable[|l|c|]
\useblocks[Requirement,Priority]
\stoptable
\stoptext
Is it possible
\endRequirement
\beginPriority
C
\endPriority
Description of the requirement.
\chapter{Summary of requirements}
% Here I would like to list all requirements with their priorities in a table
% I tried something like this but it didn't work
\reset[Requirement]
\setupblock[Requirement][before=\HL\VL
\endRequirement
\beginPriority
C
\endPriority
Description of the requirement.
\chapter{Summary of requirements}
% Here I would like to list all requirements with their priorities in a table
% I tried something like this but it didn't work
\reset[Requirement]
\setupblock[Requirement][before=\HL\VL
to list all requirements with their priorities in a
table
% I tried something like this but it didn't work
\reset[Requirement]
\setupblock[Requirement][before=\HL\VL,after=]
\setupblock[Priority][before=\VL,after=\VL\MR
\starttable[|l|c|]
\useblocks[Requirement,Priority]
\stoptable
C
\endPriority
Description of the requirement.
\chapter{Summary of requirements}
% Here I would like to list all requirements with their priorities in a
table
% I tried something like this but it didn't work
\reset[Requirement]
\setupblock[Requirement][before=\HL\VL,after=]
\setupblock
Hi,
I get underfull \vbox badness 1 in start/stoptable. Is this a
false alarm, or am I doing something wrong?
\starttext
\starttable[|ls(1em)|l|p(5cm)|c|]
\HL[3]
\BL[4] \SR
\NC \ReFormat[cB] {Forward Channel}
\NC \ReFormat[cB] {Backward Channel
All -
I am creating simple tables like this
\starttable[|l|l|l|l|]
\HL
\VL \bf Time Frame \VL \bf SAN A \VL \bf SAN B \VL \bf SAN C \VL \AR \HL
\VL 10pm to 6am - Backup \VL 1500 MB/s \VL 1500 MB/s \VL 1500 MB/s \VL
\AR \HL
\VL 6am to 10pm – NBU Vaulting \VL \rightarrow \VL \rightarrow \VL
On Mon, 5 Feb 2007, The Wizard wrote:
All -
I am creating simple tables like this
\starttable[|l|l|l|l|]
\HL
\VL \bf Time Frame \VL \bf SAN A \VL \bf SAN B \VL \bf SAN C \VL \AR \HL
\VL 10pm to 6am - Backup \VL 1500 MB/s \VL 1500 MB/s \VL 1500 MB/s \VL
\AR \HL
\VL 6am to 10pm – NBU
Aditya Mahajan wrote:
On Mon, 5 Feb 2007, The Wizard wrote:
All -
I am creating simple tables like this
\starttable[|l|l|l|l|]
\HL
\VL \bf Time Frame \VL \bf SAN A \VL \bf SAN B \VL \bf SAN C \VL \AR \HL
\VL 10pm to 6am - Backup \VL 1500 MB/s \VL 1500 MB/s \VL 1500 MB/s \VL
\AR \HL
\hbox{\scriptsize #2}}
Such a macro is already present. The command's name is \vulgarfraction,
and even is configurable (3 is the default rendering);-)
Best, taco
% example taken from core-mis.tex
\starttext
\starttabulate
\HL
\NC \bf method \NC \bf visualization \NC\NR
\HL
\NC 0
is already present. The command's name is \vulgarfraction,
and even is configurable (3 is the default rendering);-)
Best, taco
% example taken from core-mis.tex
\starttext
\starttabulate
\HL
\NC \bf method \NC \bf visualization \NC\NR
\HL
\NC 0 \NC \chardef\vulgarfractionmethod0
Hello,
shouldn't there be a line on the top of each page:
\starttext
\starttablehead
\HL
\stoptablehead
\starttables[|l|]
\NC test \NC\FR
\dorecurse{100}{\NC test \NC\MR}
\NC test \NC\LR
\stoptables
\stoptext
?
Cheers, Peter
--
http://pmrb.free.fr/contact
Hi,
now I have changed to TABLE, and this is very powerful and well
functioning.
Gerhard
--
Gerhard Kugler
Psychotherapeut
Bensheim (Germany)
http://www.psychotherapie-kugler.de
___
ntg-context mailing list
ntg-context@ntg.nl
Hi,
now I have a new conTeXt, but tables remain tricky.
A slight variation of the wiki example with horizontal lines gives
unwanted vertical space:
\starttext
\placetable[here][tab:sample]{sample table}{\start
\starttablehead
\HL
\VL command \VL meaning \VL\SR
\HL
\stoptablehead
.
Gerhard
--
Gerhard Kugler
Psychotherapeut
Bensheim (Germany)
http://www.psychotherapie-kugler.de
\starttext
\placetable[here][tab:sample]{sample table}{\start
\starttablehead
\HL
\NC \TWO Obertext zum Ganzen \NC\SR
\HL
\stoptablehead
\starttabletail
\HL
\stoptabletail
\starttables[|p(0.2\textwidth
|]
\NC 2001 \NC Fall \NC\SR
\stoptable
Some text
\stoptext
===
\starttable[o(0pt)|l|l|]
\HL
\NC 2001 \NC Fall \NC\SR
\HL
\stoptable
The o(xxx) key is your friend.
BTW the wiki is a place to find such answers.
http://wiki.contextgarden.net/Table
On Fri, 06 Oct 2006 10:00:50 -0600, Wolfgang Schuster
[EMAIL PROTECTED] wrote:
\starttable[o(0pt)|l|l|]
\HL
\NC 2001 \NC Fall \NC\SR
\HL
\stoptable
The o(xxx) key is your friend.
Thank you for this, and for the wiki reference.
Best
Idris
--
Professor Idris Samawi Hamid
Department
choise here (I'm no table expert, but I think table is better here).
%\SetTableToWidth\hsize
\starttable[|l|r|l|r|]
\HL
\dorecurse{10}{%
\VL foo \NC 123 \VL[2] b \NC 12345 \VL\AR}
\HL
\stoptable
For more details about table see
http://wiki.contextgarden.net/Table
HTH, Peter
I
,bodyfont=9pt]
\starttablehead
\HL
%
\NC Datum\NC Text\NC\FR % \AR
\HL
\stoptablehead
\starttabletail
\HL
\stoptabletail
%
\starttables[|l|l|]
%
\dorecurse{50}{
\NC 2006-08-18 \NC TestTest 1\NC\AR
\NC 1771-12-05 \NC TestTest 2\NC\AR
}
\NC\NC\NC\LR % Last Row \AR
%
\stoptables
\stoptext
thanks
Bernd
]
\starttablehead
\HL
%
\NC\use{2}\ReFormat[lp(0.28\textwidth)]{Datum\hfill Ereignis} \NC Person
\NC PID \NC {\it PID} \NC\tfx Seite\NC\tfx Beleg\NC\FR % \AR
\HL
\stoptablehead
\starttabletail
\HL
\stoptabletail
%
\starttables[|lp(0.2\textwidth)|lp(0.04\textwidth)|lp(0.3\textwidth)|lp(0.05\textwidth)|lp(0.05
of single vertical
lines?
Why is there so little space between the two rows of the table
below?
\starttable[|l|p(.7\textwidth)|]
\HL
\NC bla1 \VL Eins \type{zwei} drei. Eins zwei drei. Eins zwei
drei
\type{vier}
oder \type{sechs}l. Das ist der Leerraum zwischen den Spalten
[|l|p(.7\textwidth)|]
\HL
\NC bla1 \VL Eins \type{zwei} drei. Eins zwei drei. Eins zwei drei
\type{vier}
oder \type{sechs}l. Das ist der Leerraum zwischen den Spalten
\type{n}. \FR
\NC bla2 \VL Eins, zwei \type{drei} \LR
\HL
\stoptable
\NC \FR and \NC \LR
you need to finish the column
work.
--
Why is there so little space between the two rows of the table below?
\starttable[|l|p(.7\textwidth)|]
\HL
\NC bla1 \VL Eins \type{zwei} drei. Eins zwei drei. Eins zwei drei
\type{vier}
oder \type{sechs}l. Das ist der Leerraum zwischen den Spalten
\type{n}. \FR
\NC
{67} alt.
\blank[big]
\doGetPID{8} heiratete am \getHEI{8} in Gera.\crlf
\getPID{8} starb im Alter von \getALT{8} am \getTOD{8} um 23.20\,Uhr
in M¸nchenbernsdorf.
%
\blank[2*big]
%
\starttable[|r|lp(0.4\textwidth)|lp(0.4\textwidth)|]
\NC PID \NC Person\NC Bemerkung\NC\AR
\HL
\NC 8\NC \doGetPID{8
Tobias Burnus wrote:
Hello,
I have a long tabulate which spans several pages.
I use:
\starttabulatehead
\HL
\NC Energy \NC Temp. \NC Magn. \NC Wavenumb. \NC Wavelength \NC Freq.
\NC Energy \NC Energy \NC\NR
\HL
\stoptabulatehead
\starttabulatetail
\HL
\stoptabulatetail
===
Header
% \HL of head
some lines
% some \HL
.
===page 2
..
===page 3
.
-- % \HL of tail
However, If I use repeat:
=page 1===
Header
Hello,
I have a long tabulate which spans several pages.
I use:
\starttabulatehead
\HL
\NC Energy \NC Temp. \NC Magn. \NC Wavenumb. \NC Wavelength \NC Freq.
\NC Energy \NC Energy \NC\NR
\HL
\stoptabulatehead
\starttabulatetail
\HL
\stoptabulatetail
but this only shows the head/tail
Hello,
how can I create lines with different widths using the \DL command as I
do with \HL[factor] oder \VL[factor]? With \DL the factor is
interpreted as a number of columns, not as a multiple of the default
linewidth. So how to make thick lines in that case?
Thanks and regards,
Robert
also clean but should be balanced
- all other pages are not ok...
TIA for any hints, Peter
\definecolumnset[example][n=3]
\starttext
\input tufte
\section{Try with columns and tables}
\startcolumns[n=3]
\starttablehead \HL \NC A \NC B \NC\SR \HL \stoptablehead
\starttabletail \HL \stoptabletail
Hello
I get the units always left aligned in my table while the rest gets the
correct alignement. What do I do wrong?
\starttable[|l|r|r|r|r|r|]
\HL
\NC sample \NC length \NC width \NC height \NC dry weight \NC density \FR
\NC \NC \Milli \Meter \NC \Milli \Meter \NC \Milli \Meter \NC \Gram \NC
Wolfgang wrote:
Hello
I get the units always left aligned in my table while the rest gets the
correct alignement. What do I do wrong?
\starttable[|l|r|r|r|r|r|]
\HL
\NC sample \NC length \NC width \NC height \NC dry weight \NC density \FR
\NC \NC \Milli \Meter \NC \Milli \Meter \NC
|r|]
\HL
\NC sample \NC length \NC width \NC height \NC dry weight \NC density \FR
\NC \NC \Milli \Meter \NC \Milli \Meter \NC \Milli \Meter \NC \Gram \NC
\Kilo \Gram \Per \Cubic \Meter \LR
\HL
\NC H905\_T1 \NC 99.9 \NC 97.2 \NC 11.3\NC 43.44 \NC 395.8 \AR
\NC H905\_T2 \NC 100.0 \NC 96.8 \NC
.
\startbuffer[teste]
\starttable[|c|c|c|]
\HL[2]
\NC test \NC test \NC test \NC \FR
\NC test \NC test \NC test \NC \MR
\NC test \NC test \NC test \NC \LR
\stoptable
\stopbuffer
\page
P�gina 2.
% It works if you place a comment \start \startlocal and \stoplocal and \stop
% It wont work without
\starttext
P�gina 1.
\startbuffer[teste]
\starttable[|c|c|c|]
\HL[2]
\NC test \NC test \NC test \NC \FR
\NC test \NC test \NC test \NC \MR
\NC test \NC test \NC test \NC \LR
\stoptable
\stopbuffer
\page
P�gina 2.
% It works if you place a comment \start \startlocal
:
1. How can create lines with different widths using the \DL command as
I do with \HL[factor] oder \VL[factor]? This would, in my
example, allow to align the dummyx text in the first table with the
numbers x in the second table.
2. How can I create a carriage return in the text of a table
\starttext
Página 1.
\startbuffer[teste]
\starttable[|c|c|c|]
\HL[2]
\NC test \NC test \NC test \NC \FR
\NC test \NC test \NC test \NC \MR
\NC test \NC test \NC test \NC \LR
\stoptable
\stopbuffer
\page
Página 2.
% It works if you place a comment \start \startlocal and \stoplocal and \stop
with different widths using the \DL command as
I do with \HL[factor] oder \VL[factor]? This would, in my
example, allow to align the dummyx text in the first table with the
numbers x in the second table.
2. How can I create a carriage return in the text of a table cell?
Neither \crlf nor \\ do work
]
\setupcaption[table]
[location=top]
\starttext
\section{Testing}
This is a silly table test.
\placetable[page][tbl:sample]
{Sample table caption goes here}
{\start
\switchtobodyfont[small]
\starttablehead
\HL
\VL command \NC meaning \NC $\lambda$ (deg.) \VL\SR
\HL
After Hans vdM's question I'm trying to enhance the table
documentation in the wiki.
I found the following a bit strange:
\starttable[|l|l|]
\HL
\NC Command \VL Meaning \SR % or \NC\AR
\HL
\NC \tex{NC}\VL next column \AR
\NC \tex{HL}\VL horizontal line \AR
\NC \tex{VL
Hello,
the problem with the following example is, that the last X touches the
line.
\starttext
\starttable[|p(2em)|]
\NC $X^X$ $X_X^-$ \NC\AR
\HL
\stoptable
\stoptext
TIA for any help!
Greetings, Peter
--
http://pmrb.free.fr/contact/
___
ntg-context
Radhelorn wrote:
Hello all!
I've tried to fit wide table (with paragraphs and vertical lines) into
page width. Following example don't work as expected:
\SetTableToWidth{\textwidth}
\starttable[|p|p|]
\HL
\VL foo foo foo foo foo foo \VL bar bar bar bar bar bar \VL\AR
\HL
\stoptable
Text
Hans Hagen wrote:
Radhelorn wrote:
\SetTableToWidth{\textwidth}
\starttable[|p(.45\textwidth)|p(.45\textwidth)|]
\HL
\VL foo foo foo foo foo foo \VL bar bar bar bar bar bar \VL\AR
\HL
\stoptable
Thanks. Now it works like expected.
BTW, how to fit text into a small box if I don't care
Hello!
Acording to WIKI this should work:
\starttable[*{3}{|c|}]
\HL
\NC column1 \NC column2 \NC column3 \NC\NR
\HL
\stoptable
\starttabulate[*{3}{|c|}]
\HL
\NC column1 \NC column2 \NC column3 \NC\NR
\HL
\stoptabulate
Tabulate works as expected, but table gives errors about missing
columns
[chapter][2]
\setuphead[section][number=no]
\starttext
\startuseMPgraphic{david}
draw unitsquare scaled 2cm withpen pencircle scaled 5mm withcolor red;
\stopuseMPgraphic
\startbuffer[table]
\starttable[|c|c|]
\HL
\VL This \VL is \VL\FR
\VL a\VL table \VL\LR
\HL
\stoptable
this
will work in the project-product-component structure?
% output=pdf
\environment bookenv
\setuphead[section]
[prefix=+]
\starttext
\startuseMPgraphic{david}
draw unitsquare scaled 2cm withpen pencircle scaled 5mm withcolor red;
\stopuseMPgraphic
\startbuffer[table]
\starttable[|c|c|]
\HL
\VL
pencircle scaled 5mm withcolor red;
\stopuseMPgraphic
\startbuffer[table]
\starttable[|c|c|]
\HL
\VL This \VL is \VL\FR
\VL a\VL table \VL\LR
\HL
\stoptable
\stopbuffer
\startbuffer[figure]
\startcombination[2*1]
{\useMPgraphic{david}}{First caption}
{\useMPgraphic{david}}{Second
Hello all!
I've tried to fit wide table (with paragraphs and vertical lines) into
page width. Following example don't work as expected:
\SetTableToWidth{\textwidth}
\starttable[|p|p|]
\HL
\VL foo foo foo foo foo foo \VL bar bar bar bar bar bar \VL\AR
\HL
\stoptable
Text in columns formatted
]
\starttable[|l|l|r|ra.o0|l|ra.o0|l|ra.o0|l|ra.o0|l|ra.o0|l|]
\HL
\NC\ReFormat[Bc]{Method}%
\NC\ReFormat[Bc]{Options}%
\NC\ReFormat[Bc]{Iterations}%
\NC\use4\ReFormat[Bc]{Lambdas}%
\NC\use2\ReFormat[Bc]{Error}%
\NC\use2\ReFormat[Bc]{Error\%}%
\NC\use2\ReFormat[Bc]{$L^2$}%
\SR
\HL
\CL[lightred]\MR
\NC
All -
Just downloaded and installed 2005.11.16, and now a document
which built fine under the 2005.10.27 version breaks. The code
which fails is a simple table
\starttext
\placetable[here]{none}
\starttable[|l|l|l|p(7.0cm)|]
\HL
\VL \bf Revision \VL \bf Date \VL \bf Author \VL \bf
The Wizard wrote:
All -
Just downloaded and installed 2005.11.16, and now a document
which built fine under the 2005.10.27 version breaks. The code
which fails is a simple table
\starttext
\placetable[here]{none}
\starttable[|l|l|l|p(7.0cm)|]
\HL
\VL \bf Revision \VL \bf Date \VL \bf
Taco Hoekwater wrote:
Tobias Wolf wrote:
There are loads of errors remaining (in the version from tug.org) like
the following, which is also present in the atpragma mode:
! Missing number, treated as zero.
to be read again
}
\tabulatecontent ...NR \HL \NC \type
; for the moment use
\setnormalcatcodes
\startsetups heading
\starttable[|w(.8\textwidth)l|w(.15\textwidth)l|]
\HL
\VL \VL page \pagenumber\ of \totalnumberofpages \VL\FR
\VL \VL \VL \LR
\HL
\stoptable
\stopsetups
\starttext
\setupheadertexts[\setnormalcatcodes\setups{heading}]
.
\stoptext
Hans
in the
header text, I do not get the error. So I should turn off the typing
environment temporarily to get the header text out. How should I do
that? \stoptyping ... \starttyping do not do it.
Thanks,
Marko
\startproduct test
\setupheadertexts[{\starttable[|w(.8\textwidth) l|w(.15\textwidth)l|]
\HL
\VL \VL
Hans Hagen wrote:
which tables allow using \noalign and in what places?
\NC one \NC two \NC three \NC\AR
\HL\noalign{\pause}%
\NC one \NC two \NC three \NC\AR
\noalign{\pause}\HL
it all depends on what you want to achieve
I want to place a \pdfspecial in front of the \HL. Peter Rolf pointed
Christopher Creutzig wrote:
Salvete,
which tables allow using \noalign and in what places?
E.g., the first of these works, but I'd also like to be allowed the
second one (ignore what \pause does for the moment ...):
\starttable[|c|c|c|]
\HL
\NC one \NC two \NC three \NC\AR
\HL
Christopher Creutzig wrote:
Salvete,
which tables allow using \noalign and in what places?
E.g., the first of these works, but I'd also like to be allowed the
second one (ignore what \pause does for the moment ...):
\starttable[|c|c|c|]
\HL
\NC one \NC two \NC three \NC\AR
\HL\noalign{\pause
Salvete,
which tables allow using \noalign and in what places?
E.g., the first of these works, but I'd also like to be allowed the
second one (ignore what \pause does for the moment ...):
\starttable[|c|c|c|]
\HL
\NC one \NC two \NC three \NC\AR
\HL\noalign{\pause}%
\NC one \NC two \NC three
[here]{none}
\starttable[|c w(3.0cm)|c|c w(2.75cm)|c w(7.0cm)|]
\HL
\CL[green]\AR
\VL \bf Name \VL \bf Location \VL \bf Date \VL \bf Signature \VL \AR
\HL
\VL
\VL
\VL
\VL
\VL
\AR
\HL
\stoptable
\stoptext
I have only just started using ConTeXT, never used TeX or LaTeX before,
so I'm still trying
All -
I have a simple table which looks like this:
\placetable[here]{none}
\starttable[|c w(3.0cm)|c|c w(2.75cm)|c w(7.0cm)|]
\HL
\VL \bf Name \VL \bf Location \VL \bf Date \VL \bf Signature \VL \AR
\HL
\VL
\VL
\VL
\VL
\VL
\AR
\HL
\stoptable
I would like to add a background color
}
\starttable[|c w(3.0cm)|c|c w(2.75cm)|c w(7.0cm)|]
\HL
\CL[green]\AR
\VL \bf Name \VL \bf Location \VL \bf Date \VL \bf Signature \VL \AR
\HL
\VL
\VL
\VL
\VL
\VL
\AR
\HL
\stoptable
\stoptext
I have only just started using ConTeXT, never used TeX or LaTeX before,
so I'm still trying to understand
):
\starttext
\setupcolors[state=start]
\placetable[here]{none}
\starttable[|c w(3.0cm)|c|c w(2.75cm)|c w(7.0cm)|]
\HL
\CL[green]\AR
\VL \bf Name \VL \bf Location \VL \bf Date \VL \bf Signature \VL \AR
\HL
\VL
\VL
\VL
\VL
\VL
\AR
\HL
\stoptable
\stoptext
I have only just started using
|]
\HL
\NC\ReFormat[Bc]{Method}%
\NC\ReFormat[Bc]{Options}%
\NC\ReFormat[Bc]{Iterations}%
\NC\use2\ReFormat[Bc]{Error}%
\NC\use2\ReFormat[Bc]{Error\%}%
\NC\use2\ReFormat[Bc]{$L^2$}%
\SR
\HL
\NC Kinch\NC \NC 0\NC 0\NC 01891\NC 16\NC 7785\NC 0\NC 00761\%\NC\AR
\NC Legendre\NC direct, 2 samples
|l|ra.o0|l|ra.o0|l|]
\HL
\NC\ReFormat[Bc]{Method}%
\NC\ReFormat[Bc]{Options}%
\NC\ReFormat[Bc]{Iterations}%
\NC\use2\ReFormat[Bc]{Error}%
\NC\use2\ReFormat[Bc]{Error\%}%
\NC\use2\ReFormat[Bc]{$L^2$}%
\SR
\HL
\NC Kinch\NC \NC 0\NC 0\NC 01891\NC 16\NC 7785\NC 0\NC 00761\%\NC\AR
\NC Legendre\NC direct
|] \HL \VL \VL Function\VL Name\VL Signature\VL Date\VL\SR\HL} \def\stopAuthors{\stoptable\hss\egroup} def\Author[#1]{% \getgparameters[Author][#1]%
\doifundefined{AuthorRole}{\gdef\AuthorRole{Prepared by:}}% \doifundefined{AuthorFunction}{\gdef\AuthorFunction{-}}% \doifundefined{AuthorName}{\gdef
\AuthorsTitle{\midaligned{\sc{Authors and Approvals}}}
\def\startAuthors{%
\blank[2*big]\AuthorsTitle\\\blank[2*big]%
\hbox to \hsize\bgroup\hss\SetTableToWidth{ 6.5in}%
\starttable[|c|c|c|c|c|]
\HL
\VL \VL Function\VL Name\VL Signature\VL Date\VL\SR\HL
%%% Authors and Approvals
\def\AuthorsTitle{\midaligned{\sc{Authors and Approvals}}}
\def\startAuthors{%
\blank[2*big]\AuthorsTitle\\\blank[2*big]%
\hbox to \hsize\bgroup\hss\SetTableToWidth{6.5in}%
\starttable[|c|c|c|c|c|]
\HL
\VL \VL Function\VL Name\VL Signature\VL Date\VL\SR\HL}
\def\stopAuthors
:``The command \background expects
%% an argument. Because a table is `grouped' it will generate
%% by itself and no extra braces are necessary.``
\background
\starttable[|c|c|c|]
\HL
\VL red\VL green\VL blue\VL \AR
\VL cyan \VL magenta \VL yellow \VL \AR
\HL
\stoptable
\stoptext
,background=color,backgroundcolor=red]
\starttable[|cw(5cm)|cTw(3cm)|]%'|' wird hier nicht gedruckt, dient
als column separator; mit w(...) width festsetzen
\HL%horizontal line
\VL \bf Year \DC \bf Number of ships \VL\SR%new colum bold font
seperate row
\HL
Hello!
i want to put some space between lines in a tabulate environment.
\starttext
\starttabulate[|l|p(1cm)|]
\NC Some Text \NC Other Text \NC\NR\HL
\NC Some Text \NC Other Text \crlf\NC\NR
\NC Some Text \NC Other Text \NC
\stoptabulate
\stoptext
i did it with \crlf, but this is too much
Christoph Czarnetzki wrote:
Hello!
i want to put some space between lines in a tabulate environment.
\starttext
\starttabulate[|l|p(1cm)|]
\NC Some Text \NC Other Text \NC\NR\HL
\NC Some Text \NC Other Text \crlf\NC\NR
\NC Some Text \NC Other Text \NC
\stoptabulate
\stoptext
i did
Hello Hans,
it's better, but not the space value i want. To see the difference:
\starttext
\starttabulate[|l|p|]
\NC Some Text \NC Other Text \NC\NR\HL
\NC Some Text \NC Other Text \NC\NR
\TB
\NC Some Text \NC Other Text \NC\NR
\NC Some Text \NC Other Text \NC\NR
\stoptabulate
\godown[3cm
Christoph Czarnetzki wrote:
Hello Hans,
it's better, but not the space value i want. To see the difference:
\starttext
\starttabulate[|l|p|]
\NC Some Text \NC Other Text \NC\NR\HL
\NC Some Text \NC Other Text \NC\NR
\TB
\NC Some Text \NC Other Text \NC\NR
\NC Some Text \NC Other Text \NC\NR
.
- Better support for horizontal rules, without affecting the actual
cells.
I would like to say e.g. \HL between rows to get a line. A command to
span just a selection of columns is also necessary.
Although I have tricked TABLE into doing what I want
\starttable}
\def\stopMyMidAlignedTable{\stoptable\egroup\hss\egroup}
\starttext
\input tufte
\startMyMidAlignedTable[|l|l|]
\HL
\NC this \NC is\NC\AR
\NC a\NC table \NC\AR
\HL
\stopMyMidAlignedTable
\input knuth
\stoptext
Cheers, Peter
--
http://pmrb.free.fr/contact
left aligned.
\starttabulate[|r|r|] and \starttable[|r|r|]
This aligns cell contents but not tables themselves.
Sorry, I didn't understand the question.
If you need the solution:
\rightaligned{\starttable[|l|l|]
\HL
\NC testxxx \NC test \NC\AR
\NC test \NC testxxx \NC\AR
\HL
\stoptable
... to no effect. Both tables
remain left aligned.
\starttabulate[|r|r|] and \starttable[|r|r|]
This aligns cell contents but not tables themselves.
Sorry, I didn't understand the question.
If you need the solution:
\rightaligned{\starttable[|l|l|]
\HL
\NC testxxx \NC test \NC\AR
\NC test \NC testxxx
Hello!
Maybe this is a stupid question, but according to manual this should
align tables right:
\starttext
\setuptabulate[align=right]
some text before
\starttabulate[|l|l|]
\HL
\NC test \NC test \NR
\NC test \NC test \NR
\HL
\stoptabulate
in the middle
\setuptables[align=right]
\starttable[|l
) The horizontal rules (\HL) are a bit longer than the the text in the
table. How does one adjust them such that they are flush on both sides?
I tried with \DL, but didn't get what I hoped for.
3) I am using uncaptioned figures in the margin. When they are too
close, they overlap. Is there a way
\setuppagenumbering[state=stop]
\starttext
\setupfloats[location=middle]
\placetable
[here][tab:sciences]{There is a spurious dot in the big box.}
\starttable{|c|c|c|}
\HL
\VL {test} \VL \TWO{} \VL\FR
\DL[1] \VL\VL\DR
\VL {test} \VL \TWO{} \VL\FR
\HL
\stoptable
\stoptext
i
]
\starttext
\setupfloats[location=middle]
\placetable
[here][tab:sciences]{There is a spurious dot in the big box.}
\starttable{|c|c|c|}
\HL
\VL {test} \VL \TWO{} \VL\FR
%\DL \DC\VL\DR
\DL \DC\DR
\VL {test} \VL \TWO{} \VL\FR
\HL
: 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
401 - 500 of 537 matches
Mail list logo