Hi there,
I have s simple table like this:
\starttext
\starttable[|l|l|]
\NC \bf Colheader 1 \NC \bf Colheader 2 \NC \SR \HL
\NC cell 11 \NC cell 12 \NC \FR
\NC cell 11 \NC cell 12 \NC \LR
\stoptable
\stoptext
and like to have a light gray background for the heading row.
I found
Am 11.11.2010 um 19:44 schrieb Manfred Lotz:
Hi there,
I have s simple table like this:
\starttext
\starttable[|l|l|]
\NC \bf Colheader 1 \NC \bf Colheader 2 \NC \SR \HL
\NC cell 11 \NC cell 12 \NC \FR
\NC cell 11 \NC cell 12 \NC \LR
\stoptable
\stoptext
and like
Hi Wolfgang,
On Thu, 11 Nov 2010 20:13:22 +0100
Wolfgang Schuster schuster.wolfg...@googlemail.com wrote:
Am 11.11.2010 um 19:44 schrieb Manfred Lotz:
Hi there,
I have s simple table like this:
\starttext
\starttable[|l|l|]
\NC \bf Colheader 1 \NC \bf Colheader 2 \NC \SR
[background=color,backgroundcolor=gray]
\bTH Colheader 1 \eTH
\bTH Colheader 2 \eTH
\eTR
\bTR
\bTD cell 11 \eTD
\bTD cell 11 \eTD
\eTR
\bTR
\bTD cell 11 \eTD
\bTD cell 11 \eTD
\eTR
\eTABLE
3. How does this \bTABLE stuff compare to the \starttable stuff
Colheader 1 \eTH
\bTH Colheader 2 \eTH
\eTR
\bTR
\bTD cell 11 \eTD
\bTD cell 11 \eTD
\eTR
\bTR
\bTD cell 11 \eTD
\bTD cell 11 \eTD
\eTR
\eTABLE
Great, good to know.
3. How does this \bTABLE stuff compare to the \starttable stuff? Are
these just different
This is mainly for completeness:
On Thu, 11 Nov 2010, Manfred Lotz wrote:
and like to have a light gray background for the heading row.
\starttext
\starttable[|l|l|]
\BL[2] \SR
% or
% \CL[gray] \SR
\NC \bf Colheader 1 \NC \bf Colheader 2 \NC \SR \HL
\NC cell 11 \NC cell 12 \NC \FR
\NC
Hello,
just to confirm -
- is it possible to span several columns (rows) in tables created by
\starttable ... \stoptable?
I cannot find such an example, so I guess it's not possible.
- I mean something like what is done by \bTD[nc = 3] ... \eTD in \bTABLE ...
\eTABLE.
Best regards,
Lukas
2010/11/3 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz:
Hello,
just to confirm -
- is it possible to span several columns (rows) in tables created by
\starttable ... \stoptable?
I cannot find such an example, so I guess it's not possible.
- I mean something like what is done
On Nov 3, 2010, at 4:54 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
Hello,
just to confirm -
- is it possible to span several columns (rows) in tables created by
\starttable ... \stoptable?
I cannot find such an example, so I guess it's not possible.
- I mean something like
Am 2010-11-03 um 16:54 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:
- is it possible to span several columns (rows) in tables created by
\starttable ... \stoptable?
I cannot find such an example, so I guess it's not possible.
What's wrong with
http://wiki.contextgarden.net/Table
Thanks,
I've been searching in \starttable and \bTABLE command reference and also in
contextref.pdf.
I didn't notice the http://wiki.contextgarden.net/Table#Column_Spans.
I've also experimented with \TWO and similar, but I thought they were to be
used like \TWO{some text}.
I didn't know
On Mon, 6 Sep 2010, Cecil Westerhof wrote:
The following code does what I want:
\blank
\SetTableToWidth{\textwidth}
\starttable[|lp(0.90\textwidth)|]
Some text \SR
\SR
\HL
\SR
\HL
\SR
\HL
\SR
\HL
\stoptable
\blank
The correct syntax is \NC ... \NC \SR
Op maandag 6 sep 2010 23:18 CEST schreef Aditya Mahajan:
The following code does what I want:
\blank
\SetTableToWidth{\textwidth}
\starttable[|lp(0.90\textwidth)|]
Some text \SR
\SR
\HL
\SR
\HL
\SR
\HL
\SR
\HL
\stoptable
\blank
[CUT]
Table and expansion are tricky. The error
El 26/08/2010, a las 20:29, Jerónimo Alaminos Prats escribió:
Hi all,
I've been following the examples in the garden to write the following table
\chardef\characteralignmentmode=1
\startTABLE
\setupTABLE[column][alignmentcharacter={,},aligncharacter=yes,align=middle]
\setupTABLE
Hi all,
I've been following the examples in the garden to write the following table
\chardef\characteralignmentmode=1
\startTABLE
\setupTABLE[column][alignmentcharacter={,},aligncharacter=yes,align=middle]
\setupTABLE[frame=off]
\setupTABLE[row][first][bottomframe=on]
\NC \alpha \NC \beta \NC
\setuppapersize[A4,landscape][A4]
\def\TagBreite{4cm}
\starttext
\placetable{Stundenplan}
\starttable[|r w(1cm) |p(\TagBreite) c|p(\TagBreite) c|p(\TagBreite)
c|p(\TagBreite) c|p(\TagBreite) c|]
\HL
\VL Std \VL Montag \VL Dienstag \VL Mittwoch \VL Donnerstag \VL Freitag \VL\FR
\HL
% Row Span
I am trying to typeset a simple table with very tight spacing. The first
column of the table is wider than the others with a mysterious amount of
extra space added on the left. You can reproduce this with a simple example:
\starttext
\starttable[|s1l|l|l|l|l|l|l|l|l|]
\HL
\VL4\NC 1\NC 7\VL\AR
at the macro definitions and you will agree :)
anyhow, i expect much better functionality (e.g. clever spanning
alternatives) with a lua based table implementation. we have to wait for
that.
Also remember that the starttable macros are just a wrapper around TaBlE
macros written by Michael
Hi Aditya,
On Thu, 15 Jul 2010 11:37:32 -0600, Aditya Mahajan adit...@umich.edu
wrote:
Have you tried using natural tables. Now you can use them with almost
the same amount of typing as the old table macros.
\startTABLE
\NC text 1 \NC text 2 \NC\NR
\NC text 3 \NC text 4 \NC\NR
\stopTABLE
2010/7/15 Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu
Hi Aditya,
On Thu, 15 Jul 2010 11:37:32 -0600, Aditya Mahajan adit...@umich.edu
wrote:
Have you tried using natural tables. Now you can use them with almost the
same amount of typing as the old table macros.
\startTABLE
On 15-7-2010 7:45, Idris Samawi Hamid ادريس سماوي حامد wrote:
Hi Aditya,
On Thu, 15 Jul 2010 11:37:32 -0600, Aditya Mahajan adit...@umich.edu
wrote:
Have you tried using natural tables. Now you can use them with almost
the same amount of typing as the old table macros.
\startTABLE
\NC text
On 15-7-2010 7:37, Aditya Mahajan wrote:
Also remember that the starttable macros are just a wrapper around TaBlE
macros written by Michael Wichura. I don't know if those have enough
hooks to support a high level interface.
indeed .. I actually should merge all the patches on TaBLe
On Thu, 15 Jul 2010 12:43:44 -0600, Hans Hagen pra...@wxs.nl wrote:
I must admit that I haven't used starttable for ages
Well then, that settles it; the current project is my last start/stoptable
:-)
Best wishes
Idris
--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal
on the way how the command was defined, for
\starttable you can search 'starttable' because this is the internal
command name and the dutch interface defines \starttabel as
\def\starttabel{\starttable} but \starttabelkop is generated with the
format generation. When you take a look into the code you can
\startletter
As promised, here is the financial report of our Fellowship group's Document Freedom Day event. We spent 116.50 € and below you see a small analysis of what these expenses were.
\starttable[|r|l|rT|]
\HL
\NC receipt no. \NC contents \NC amount \SR
\HL
\NC 02300 \NC posters
\starttable[s(0pt)|lw(\TitlePageVar)|cw(\SubtitleWidth)|]
\NC\NC{\scd #1}\AR
\NC\NC{\scc #2}
\stoptable
\page
}
\showgrid
\startfrontmatter
\TitlePage{Title}{Longer Subtitle}
\stopfrontmatter
Thanks,
Scott
-
This is a work of fiction. Names, characters, places, and incidents either
Wolfgang Schuster wrote:
Hi,
in the last current the table environment is broken.
\starttext
\starttable[|l|]
\NC text \NC\NR
\stoptable
\stoptext
That should have been the beta, because the problem is the
result of some extra \unexpanded prefixes Hans added in the
beta. I removed a few
On 23-5-2010 12:30, Taco Hoekwater wrote:
Wolfgang Schuster wrote:
Hi,
in the last current the table environment is broken.
\starttext
\starttable[|l|]
\NC text \NC\NR
\stoptable
\stoptext
That should have been the beta, because the problem is the
result of some extra \unexpanded prefixes
Hi,
in the last current the table environment is broken.
\starttext
\starttable[|l|]
\NC text \NC\NR
\stoptable
\stoptext
! Misplaced \noalign.
\TABLEnoalign -\noalign
\bgroup \let \noalign \relax \let \next =
\insertTABLEtail -\TABLEnoalign
environment is broken.
\starttext
\starttable[|l|]
\NC text \NC\NR
\stoptable
\stoptext
! Misplaced \noalign.
\TABLEnoalign -\noalign
\bgroup \let \noalign \relax \let \next =
\insertTABLEtail -\TABLEnoalign
{\global \settrue
a
random equation out of a document since it looked nicer).
6.) I know that \NR is not the most appropriate way to go into next
row, but the following gives considerably different results in MKII
and MKIV:
\starttable[|l|]
\NC \type{a} \NC\NR
\NC \type{a} \NC\NR
\NC \type{a} \NC\NR
\stoptable
\oklepaj{\exp\oklepaj{-\frac{t-t_0}{τ_{\text{eksp.-\exp\oklepaj{-\frac{t-t_0}{τ_{\text{slow}
\stopformula
\stoptext
6.) I know that \NR is not the most appropriate way to go into next
row, but the following gives considerably different results in MKII
and MKIV:
\starttable[|l|]
\NC \type{a} \NC
6.) I know that \NR is not the most appropriate way to go into next
row, but the following gives considerably different results in MKII
and MKIV:
\starttable[|l|]
\NC \type{a} \NC\NR
\NC \type{a} \NC\NR
\NC \type{a} \NC\NR
\stoptable
probably because \type has no strut in mkiv ... maybe
[slashy][Slashy][factor=7,type=pdf]
\def\Slashy{\hbox{\externalfigure[slashy]}}
I'm currently working on the Table of Contents formatting. I'm trying to
format it as follows:
\starttable[|r|c|l|]
subjectName · pageNumber\MR
subjectName · pageNumber\MR
...etc...
\stoptable % Of course, where I
want that
\def\Lines#1{\dorecurse{#1}{\dorecurse{17}{text }}\par}
\def\Table#1{\starttable[|l|]\dorecurse{#1}{\NC bla \NC\AR}\stoptable}
\showframe
\starttext
\completecontent
\section{bla}
\Lines{10}
\Lines3
\section{bla}
\Table9
\section{bla}
\subsection{bla}
\Lines2
\placetable[force][bla1]{bla
flushbottom and I don't always want that
\def\Lines#1{\dorecurse{#1}{\dorecurse{17}{text }}\par}
\def\Table#1{\starttable[|l|]\dorecurse{#1}{\NC bla \NC\AR}\stoptable}
\showframe
\starttext
\completecontent
\section{bla}
\Lines{10}
\Lines3
\section{bla}
\Table9
\section{bla}
\subsection{bla
\setuptable[rulethickness=0.04em] % =
\starttable[|r|r|r|l|r|r|r|r|r|r|r|r|]
\HL
\NC n \NC \bf temps \NC \bf min:sec \NC \bf genre \NC 1 \NC \NC 2 \NC \NC 3
\NC \NC 4 \NC \SR % ==
\HL
\NC 0\NC 0\NC 0: 0\NC venter1 \NC 1\NC 9 \NC 1 \NC 9 \NC 1 \NC 9
\NC
1\NC 9 \FR
{Sequences}
{\setupinterlinespace[line=3ex]\midaligned
\midaligned
{...
\starttable
...
\stoptable}
or
\placetable[force,none]{}
{...
\starttable
...
\stoptable}
Wolfgang
___
If your question
I would like to put several tables side-by-side one another. Nesting
\placesidebyside commands seems a bit inconvenient. Suggestions on
how to make \starttable ... \stoptable not create a newline (without
the \placesidebyside command) would be greatly appreciated.
--
Troy Henderson
Am 05.04.10 15:48, schrieb Troy Henderson:
I would like to put several tables side-by-side one another. Nesting
\placesidebyside commands seems a bit inconvenient. Suggestions on
how to make \starttable ... \stoptable not create a newline (without
the \placesidebyside command) would be greatly
Hallo,
can someone explain how to write a table column in color, please?
The following example worked in 2006 but is not working anymore:
\starttext
\starttable[o1|\{C{red}|]
\VL red \VL\SR
\stoptable
\stoptext
Wolfgang Schuster posted last year the following example:
\NewFormatKey W#1
Am 13.03.10 18:51, schrieb Wolfgang Werners-Lucchini:
So, how can I do the job?
Natural tables?
\setupTABLE[offset=0pt,loffset=0.25ex,roffset=0.25ex] % l|roffset
requires MKIV
\setupTABLE[frame=off,leftframe=on,rightframe=on]
\starttext
\startTABLE[color=red]
\NC red \NC\NR
\stopTABLE
(copy/paste from the .pdf)
This works (copy pasted from the source and remove the \ in the caption)
\starttext
\startbuffer
\placetable
[here,force]
[tab:setuptable]
{Use of \type{setuptables}.}
{\startcombination[1*3]
{\setuptables[bodyfont=10pt]
\starttable[|c|c|c|c|c|c|]
\HL
\VL \use6
Thank you Aditya and Wolfgang,
I will try it both:
No page breaks possible:
\defineframedtext[tablebox][frame=off,width=\hsize,offset=0pt,before
=,after=]
\starttext
vorher
\startnarrower
text
\starttablebox
\starttable[s0|l|]
\NC table entry \NC\AR
\stoptable
\starttablebox
\starttable[s0|l|]
\NC table entry \NC\AR
\stoptable
\stoptablebox
\stopnarrower
text
\startnarrower
text
\startlinecorrection \dontleavehmode
\startTABLE[frame=off,offset=0pt,loffset=0.25ex,roffset=0.25ex]
\NC table entry \NC\NR
\stopTABLE
\stoplinecorrection
\stopnarrower
text
\stoptext
Hallo,
But how can I get my 3cm?
If you do not use horizontal lines
\starttable[o(3cm)|l|]
Aditya
Not horizontal lines, but a gray header:
\starttable[o(3cm)|l|]
\RL\SR
\NC hmm \NC\AR
\stoptable
Thank you Aditya for this workaround.
If there is really no solution, I will make
On Sat, 27 Feb 2010, Wolfgang Werners-Lucchini wrote:
Hallo,
But how can I get my 3cm?
If you do not use horizontal lines
\starttable[o(3cm)|l|]
Aditya
Not horizontal lines, but a gray header:
\starttable[o(3cm)|l|]
\RL\SR
\NC hmm \NC\AR
\stoptable
Thank you Aditya
is that little space from? How can I get a left space of,
say 3cm?
\starttables[s0|l|]
I see. So, there is no space anymore.
But how can I get my 3cm?
If you do not use horizontal lines
\starttable[o(3cm)|l|]
Aditya
On Fri, 29 Jan 2010, R. Bastian wrote:
Hello,
I wish to align horizontally a table at the middle of \textwidth.
without Table xx.y.
\placetable[here,none]{}{\starttable ... \stoptable}
or
\midaligned{\starttable ... \stoptable}
My environment:
Debian/Gnome
Context mkii
Snow : 11cm
Hallo,
I need a little help for this simple layout. I am looking for a
solution for hours now, but I can not get it work:
\setupcolors[state=start]
\starttext
\framed[background=color, backgroundcolor=gray]{%
\starttable[|lp(.1
\framed[background=color, backgroundcolor=gray]{%
\starttable[|lp(.1\textwidth)|lp(.9\textwidth)|]
\NC \placefigure[left,high]{none}{\framed[height=1cm]{graphic}}
\NC \tbox{\externalfigure[...]} \NC ... \NC\AR
You can find more box type in supp-box.tex
Kind regards,
Wolfgang
]
\initializeboxstack{table}
\savebox{table}{footer}{\starttable[s0|l|l|l|l|l|l|]
\NC Accept \NC \THREE No detectable indications at the time of inspection
\NC Reject \NC See remarks for explanation\NC\NR
\NC BT \NC Burn-through \NC IP \NC Incomplete
\next
\else
\expandafter\setbox\expandafter\nextbox\expandafter\vbox
\fi}
\futurelet\next\checknextbox\bgroup text\egroup \box\nextbox
\futurelet\next\checknextbox{text} \box\nextbox
\futurelet\next\checknextbox\starttable[|l|l|]\HL\NC text \NC text
\NC\SR\HL\stoptable \box\nextbox
{Excel Time and Date}
When using Time and Date calculations with Excel important functions are
\XLF{DATUM} and {\XLF ZEIT}.
\starttable[|l|l|]
\NC text \NC more text \NC\AR
\NC other text \NC fill the rest \NC\AR
\stoptable
\stoptext
Wolfgang
A} \NC \REF[c]{Column B} \NC\SR
\HL
\stoptablehead
\starttable[|p(11.5pc)|p(11.5pc)|]
\NC \REF[c]{1[4].341||345 [= F21.82||86]} \NC\REF[c]{6.29.3||4} \NC\SR
\NC Text A\note[a]\NC Text B\note[b]\NC\SR
\NC \input knuth\NC \NC
]
\starttablehead
\HL[3]
\NC \REF[c]{Column A} \NC \REF[c]{Column B} \NC\SR
\HL
\stoptablehead
\starttable[|p(11.5pc)|p(11.5pc)|]
\NC \REF[c]{1[4].341||345 [= F21.82||86]} \NC\REF[c]{6.29.3||4} \NC\SR
\NC Text A\note[a]\NC Text B\note[b]\NC\SR
Alan
I believe that you need to use \starttables\stoptables
rather than \starttable\stoptable.
See:
http://wiki.contextgarden.net/Tables_Overview
Alan
On Wednesday 18 November 2009 20:20:06 Bowen Alan C. wrote:
Wolfgang—
I adapted the file that you sent me so that the table extends
Thanks, Alan.
I tried that---it is what I ordinarily use---and am sad to report that it makes
no difference: the problem persists.
Alan
On Nov 18, 2009, at 15;19,00 , Alan BRASLAU wrote:
Alan
I believe that you need to use \starttables\stoptables
rather than \starttable\stoptable.
See
Am 18.11.2009 um 21:19 schrieb Alan BRASLAU:
Alan
I believe that you need to use \starttables\stoptables
rather than \starttable\stoptable.
No, what you need is \placetable[split,...]{...}{...}.
You don't need starttables/stoptables because the table environment goes
into the split mode
\stoptables
rather than \starttable\stoptable.
No, what you need is \placetable[split,...]{...}{...}.
You don't need starttables/stoptables because the table environment goes
into the split mode itself when you set either \setuptable[split=yes] or
\placetable[split].
Wolfgang
\stoptablehead
\starttable[|p(11.5pc)|p(11.5pc)|]
\NC \REF[c]{1[4].341||345 [= F21.82||86]} \NC\REF[c]{6.29.3||4} \NC\SR
\NC Text A\note[a]\NC Text B\note[b]\NC\SR
\stoptable
\stopframedtext}
{\footnotetext[a]{A local footnote
]{\switchtobodyfont[11pt]Column B} \NC\SR
\HL
\stoptablehead
\starttable[|p(11.5pc)|p(11.5pc)|]
\NC \REF[c]{1[4].341||345 [= F21.82||86]} \NC\REF[c]{6.29.3||4} \NC\SR
\NC Text A\note[a]\NC Text B\note[b]\NC\SR
\stoptable
\stopframedtext
Hello,
how can I add a label and a caption to a table?
I guess that the label is
\starttable[|l|l|l|l|l|l|l|l|][MyLabel]
But what about the caption?
I have been looking in http://wiki.contextgarden.net/Table
Thanks a lot for the help...
Cheers,
Pau
, però només uns
quants representen el 98\% de l'escorça terrestre.
\placetable[here,none][fig:1]{Geoelements}{\starttable[|c|c|c|c|]
Element \VL \% mineral \VL Element \VL \% mineral \FR
\HL
Oxigen \VL 46 \VL Calci \VL 4 \MR
\HL
Silici \VL 27 \VL Sodi \VL 2,8 \MR
\HL
Alumini \VL 8 \VL Potasi \VL
Hello,
I have problems with the following minimal example (I only want to
typeset white labels inside the table), but maybe I'm the only one
again:
\setupcolors[state=start]
\starttext
\startcolor[white]
\placetable[force]{none}{\starttable[|r|]
\NC \color[red]{me} \AR
\stoptable
}{\starttable[|r|]
\NC \color[red]{me} \AR
\stoptable}
\placetable[force]{none}{\def\a#1{\color[white]{#1}}\starttable[|r|l|]
\NC \a{one} \NC \a{one} \AR
\NC \a{two} \NC \a{two} \AR
\stoptable}
\placetable[force]{none}{\starttable[|r|]
\NC \color[white]{me} \AR
Mojca Miklavec wrote:
Hello,
I have problems with the following minimal example (I only want to
typeset white labels inside the table), but maybe I'm the only one
again:
\setupcolors[state=start]
\starttext
\startcolor[white]
\placetable[force]{none}{\starttable[|r|]
\NC \color[red
is essentially a table with some predefined defaults. You can
try something like (untested)
\starttable[|rs(0.2em)|cs(0.2em)|l|]
\NC foo \NC = \NC bar \NC \AR
\NC \NC | \NC baz \NC \AR
\stoptable
Aditya
___
If your
Dear All,
I have fixed this by using:
label.rt(textext(\framed[frame=off,align=right]{One\\Two}),origin);
And what about proper tables there?
Replacing One\\Two in the above code with
$ \startmathmatrix \NC 1 \NC 1 \NR \NC 1 \NC 1 \NR \stopmathmatrix $
or
\starttable{|cm|cm|} \NC 1 \NC 1
} {a}
{\startcombination[1*1]
{\externalfigure[lb1]} {b1}
\stopcombination} {b}
\stopcombination}
I get all _left_ aligned (see attached file) and I want normal
center aligned.
How can I get this?
\placefigure
{Combination}
{\startTABLE[frame=off,align=middle]
\NC \externalfigure[lb1
]} {a2}
\stopcombination} {a}
{\startcombination[1*1]
{\externalfigure[lb1]} {b1}
\stopcombination} {b}
\stopcombination}
I get all _left_ aligned (see attached file) and I want normal center
aligned.
How can I get this?
\placefigure
{Combination}
{\startTABLE[frame=off,align
}]
\starttable[s1|Br|o4l|Br|l|]
\NC Name:\NC \getvariable{Book:Demos}{name}
\NC Nickname: \NC \getvariable{Book:Demos}{nickname} \NC\AR
\NC DOB: \NC \getvariable{Book:Demos}{dob}
\NC Height: \NC \getvariable{Book:Demos}{height} \NC\AR
\NC Weight: \NC \getvariable
,
framecorner=round,
frameradius=.0625 in,
background=shadow, %substitute screen for shadow and get clean box BUT no
shadow
backgroundscreen=0.9,
backgroundcorner=round,
backgroundradius=.0625 in,
bodyfont=9pt,
offset=0.05 in
]
\setuptables[distance=small,bodyfont={9pt,sansserif}]
\starttable[s1
=""
%substitute screen for
shadow and get clean box BUT no shadow
backgroundscreen=0.9,
backgroundcorner=round,
backgroundradius=.0625 in,
bodyfont=9pt,
offset=0.05 in
]
\setuptables[distance=small,bodyfont={9pt,sansserif}]
\starttable[s1|Br|o4l|Br|l|]
\NC Name:
\NC
\g
}
\stop
\stoptext
Everything works fine except that empty lines that were present in the
file homework.cpp do not appear in the listing.
I have tried to replace \starttabulate ... \stoptabulate with
\starttable ... \stoptable - in that case empty lines are shown, but
splitting no longer works
Hi,
the following code, coming straight from
http://wiki.contextgarden.net/Table#Background_Colors , doesn't
compile with mkiv.
Cheers,
Nicolas
\setupcolors[state=start]
\starttable[|l|l|]
\HL
\BL[1]\SR
\NC Command \NC Meaning \NC\SR
\HL
\NC \tex{NC}\NC next column \NC\FR
\NC \tex{NR
=inner]
Here is a test case:
=
\definefloat[widetable][widetables][table]
\setupfloat[widetable]
[location=inner]
\starttext
\completelistoftables
\page[yes]
\placewidetable[here,force][tab:foo]{Bar}
{\starttable
[s1
|lp(.25\textwidth)
|rp(.25\textwidth)
|rp(.25\textwidth
}
{\starttable
[s1
|lp(.25\textwidth)
|rp(.25\textwidth)
|rp(.25\textwidth)
|rp(.25\textwidth)
|rp(.25\textwidth)|]
\HL[5]
\NC Foo \NC \Use4[c]{Bar} \AR
\NC
\NC Baz
\NC Boo
\NC Blah
\NC Flub \NC \AR
\HL[5]
\NC Bop \NC 3 \NC 1 \NC 0 \NC 2 \NC \AR
\NC Bap \NC 3 \NC 2
1212
123 123 123 123
1 1 1 1
Table: Demonstration of simple table syntax.
\starttext
\placetable[here]{Demonstration of simple table syntax.}
\starttable[|rp(0.15\textwidth)|lp(0.09\textwidth)|cp(0.16\textwidth
...\footnote {Test footnote.}}\nextbox
\else \docompletefloat {ta...
...
l.12 {\placelocalfootnotes}
Example:
\starttext
\startlocalfootnotes
\placetable{Test table\footnote{Test footnote.}}
\placelegend{
\starttable[|l|l
\startlocalfootnotes
\placetable{Test table\footnote{Test footnote.}}
\placelegend{
\starttable[|l|l|]
\HL
\NC East \NC North \NC \FR
\NC West \NC South \NC \LR
\HL
\stoptable}
{\placelocalfootnotes}
\stoplocalfootnotes
\stoptext
2. And another
this?
\starttext
\placetable
{Foo. \nolist{Bar, Baz}}
{\starttable
[s1|l|r|r|r|r|]
\HL[5]
\NC A \NC \Use4[c]{B} \AR
\NC \NC C \NC D \NC E \NC F \NC \AR
\HL[5]
\NC G \NC 3 \NC 1 \NC 0 \NC 2 \NC \AR
\NC H \NC 3 \NC 2 \NC 0.5 \NC 0.5 \NC \AR
\NC I \NC 1 \NC 2 \NC 3 \NC 0 \NC \AR
\NC J
of Yanrui Li's tutorial.}
is painful.
\input knuth
\section{Second}
But \ConTeXt is amazing.\footnote{Yanrui Li's tutorial too.}
\input knuth
\startlocalfootnotes
\placetable{Complex Table\footnote{An test table.}}
\placelegend{
\starttable[|l|n3.1 |n3.1 |n3.1 |n3.1 |]
\HL
\NC\NC \Use
Wei-Wei Guo wrote:
1 Should have a caption title here Should have dots here 13
Example:
\starttext
\completelistoftables
\placetable[here][example-table]{\LaTeX}
\starttable[|l|l|]
\NC longtable \NC LONG TABLE \NC
Hans Hagen 写道:
Wei-Wei Guo wrote:
1 Should have a caption title here Should have dots here 13
Example:
\starttext
\completelistoftables
\placetable[here][example-table]{\LaTeX}
\starttable[|l|l|]
\NC longtable \NC
{Complex Table\footnote{An test table.}}
{\startlocalfootnotes
\placelegend
{\starttable[|l|n3.1 |n3.1 |n3.1 |n3.1 |]
\HL
\NC\NC \Use{2}[c]{First Half} \NC \Use{2}[c]{Second
Half} \NC \FR
\DC\DL[4] \DR
\NC\NC 1st Qtr \NC 2nd
\completelistoftables
\placetable[here][example-table]{\LaTeX}
\starttable[|l|l|]
\NC longtable \NC LONG TABLE \NC \AR
\NC booktabs \NC BOOKTABS \NC \AR
\stoptable
\stoptext
2. \writebetweenlist has no effect
:
\starttext
\completelistoftables
\placetable[here][example-table]{\LaTeX}
\starttable[|l|l|]
\NC longtable \NC LONG TABLE \NC \AR
\NC booktabs \NC BOOKTABS \NC \AR
\stoptable
\stoptext
2
.} is
painful.
\input knuth
\section{Second}
But \ConTeXt is amazing.\footnote{Yanrui Li's tutorial too.}
\input knuth
\startlocalfootnotes
\placetable{Complex Table\footnote{An test table.}}
\placelegend{
\starttable[|l|n3.1 |n3.1 |n3.1 |n3.1 |]
\HL
\NC\NC \Use{2}[c]{First Half} \NC
comprehensive.
Did you read Adityas table article?
\starttable[|cm|n5.4 |]
\NC \REF[c]{Pi expression} \NC \REF[c]{Value}\NC\AR
\NC \pi\NC 3.1416\NC\AR
\NC \pi^{\pi} \NC 36.46 \NC\AR
\NC (\pi^{\pi})^{\pi} \NC 80,662.7 \NC\AR
\starttabulate, \starttable, \setupTABLE, and \definedescription
with \underline{} and \startunderline.
- Tabulate will get error.
- Table do not show underline.
- Natural table displays the underline with only half length as the text
line's. And the vertical positions are also not right
---
I tried \starttabulate, \starttable, \setupTABLE, and
\definedescription
with \underline{} and \startunderline.
- Tabulate will get error.
- Table do not show underline.
- Natural table displays the underline with only half length as the
text
line's
knuth
\placefigure
{none}
{\setupcombinations[distance=2em]
\startfloatcombination[2*1]
\placefigure{A dutch cow}{\externalfigure[cow]}
\placetable {Cow data}{\starttable[|l|l|]\NC Age \NC Weight \NC
\AR 1 \NC 100 \NC\AR\stoptable}
\stopfloatcombination}
\stoptext
Wolfgang
{Cow data}{\starttable[|l|l|]\NC Age \NC Weight \NC\AR 1 \NC
100 \NC\AR\stoptable}
\stopfloatcombination}
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an entry
help with this issue?
\starttext
Sample Text\high{TEST}
\placetable[here]
{none}
{\setuptables[bodyfont=xx]
\starttable{|c|f{\ss}c|}
\HL
\NC test \NC test \NC\AR
\NC test \NC test \NC\AR
\HL
\stoptable}
{\txx Sample Text\high{TEST}}
Sample Text\high{TEST}
\stoptext
}
\tfxx
\placetable[here]{}
\starttable{|c|c|}
\HL
\NC test \NC test \NC\FR
\NC test \NC test \NC\LR
\HL
\stoptable
\par
Sample Text\high{TEST}
\restoreglobalbodyfont \par
Sample Text\high{TEST}
\stoptext
Am 26.03.2009 um 18:51 schrieb Bowen Alan C.:
This sample will show the crowding within a cell and between rows.
Alan
\starttext
\setuptables[bodyfont=9pt]
\starttables[|l|p(15pc)|]
You could use this for the time being but I hope myself Hans
can fix the spacing.
\starttable[|l|b
function commands.wiki_to_table(str) -- wrong namespace
str = string.gsub(str,%^ *[\n\r],\\NC\\NR\n)
str = string.gsub(str,%^,\\NC )
str = string.gsub(str,| *[\n\r],\\NC\\NR\n)
str = string.gsub(str,|,\\NC )
tex.sprint(tex.ctxcatcodes,\\startTABLE)
tex.sprint(tex.ctxcatcodes,str
%D \bTD Text 2 \eTD
%D \eTR
%D \bTR
%D \bTD Text 3 \eTD
%D \bTD Text 4 \eTD
%D \eTR
%D \eTABLE
%D \stoptyping
%D
%D and now with my new macros:
%D
%D \starttyping
%D \startTABLE
%D \NC Text 1 \NC Text 2 \NC\NR
%D \NC Text 3 \NC Text 4 \NC\NR
%D \stopTABLE
%D \stoptyping
\def
and now with my new macros:
%D
%D \starttyping
%D \startTABLE
%D \NC Text 1 \NC Text 2 \NC\NR
%D \NC Text 3 \NC Text 4 \NC\NR
%D \stopTABLE
%D \stoptyping
\def\startTABLE
{\dosingleempty\dostartTABLE}
\def\dostartTABLE[#1]%
{\bgroup
\def\NC{\parseNC}
\bTABLE[#1]}
\def\stopTABLE
{\eTABLE
\egroup
301 - 400 of 631 matches
Mail list logo