[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
a bit counterintuitive? For
instance, take the exampl efrom MAPS:
\starttabulate[|l|k2c|r|]
\NC this and that \NC left and right \NC here and there \NC \NR
Why 4(!) \NC's here? There are only 3 columns...
to keep it kind of code-compatible with the starttable mechanism where each
column
The best I can get is
\starttext
\useexternalfigure[myfigure][filename][width=1in]
\placetable[here][tab:2figures]{none}
\starttable[|c|c|]
\NC
\placefigure[here]{My Caption 1}{\externalfigure[myfigure]}
\NC
\placefigure[here]{My Caption 1}{\externalfigure[myfigure]}
\NC
\FR
\stoptable
\stoptext
parts and the behaviour is also not
always friendly (e.g. the \NC needed after a new row in \starttable) or
intuitive or the same across diffferent parts of ConTeXt (\startitemize
versus \startwhatever). And it sometimes very difficult to find
documentation (directory structure, \starttable).
G
\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
are very
small.
G
PS. 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
Indeed, there is no \starttable info in the manuals. You might have a
look into the sources:core-tab.tex. But what I can see, is, that you do
not use vertical lines. If all tables are such, then I would suggest to
use \starttabulate instead.
KR
Willi
Gerben Wierda wrote:
Here is the example
column now but not inside the \framed), but it seems that ConTeXt
does not wrap the first column at all. As a result, the other two are
very small.
G
PS. The ConTeXT manual does not have \starttable documentation, not
does the wiki (how does 'p' work etc).
% Try with 'p' columns
\usemodule[bib
makes all tables
the same in column width. I used to be able to have one command \xttable
where the result depended on what I had in the main text.
What about extend your definition with another parameter?
\newcommand{\xttable}[8]{\starttable[|p(#8)|p(#8)|p(#8)|] ...
KR
Willi
So, yes, I can use p
, the other two are very
small.
G
PS. The ConTeXT manual does not have \starttable documentation, not
does the wiki (how does 'p' work etc).
Have you read the documents .../general/uptodate/up-004 and up-008? I
found them very helpful in learning how to control tables and
tabulations
Thanks, good example indeed ..
Just few questions :
1. What is \starttable for ? I had to take it off to make the example work
..
2. The first page i get is empty .. Is it normal ?
3. The first page of columns i get is setup with the right columns settings
(which is red, yellow, magenta
(This is gonna be very helpful to all
Contexters).
very undocumented indeed; i made this module for a project long ago but never
came to documenting it;
\starttable
\setuplinetable[n=6,lines=40]
\setuplinetable[c][1] [width=2cm,background=color,backgroundcolor=red]
\setuplinetable[c][4] [width=3cm
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
: if there is no table, then the figure placement is ok.
\starttable[|c|]
\NC bla\NC\AR
\stoptable
bla
\placefigure{bla}{\framed[height=10cm]{bla}}
\dorecurse{30}{\dorecurse{30}{bla }\par}
\stoptext
TIA for any hint, Peter
--
http://pmrb.free.fr/contact/
_
FilmSearch engine
\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
Peter Münster wrote:
Hello,
for some reasons I need something like this:
\mathpunctuationtrue
\def\MyMacro#1{\stoptable\par#1}
\starttext
\starttable[|c|]
\NC1\NC\AR
\MyMacro{Peter, Olivier} % problem with comma
\stoptext
But with the latest beta version, this works no more. Could you help please
is it possible anything like the following ?
\def\MySomeTable#1%
{
\startbuffer
#1
\stopbuffer
}
\MySomeTable{
\starttable
blah blah blah...
\stoptable
}
I find it difficult...
Jose
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl
\textbraceleft}
Anyway, thanks for the suggestions,
nikolai
P.S.
Here's a small testfile:
\starttext
\starttable[|c|]
\NC \type-{- \NC\AR
\stoptable
\stoptext
D.S.
--
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden
How do I get underscores (_) into a table? I'm producing an ASCII
chart, and as character 95 is _ I would like it to show up as such.
Right now I get a high dot. I'm using \starttable.
nikolai
--
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL
* Nikolai Weibull [EMAIL PROTECTED] [May 28, 2004 00:24]:
How do I get underscores (_) into a table? I'm producing an ASCII
chart, and as character 95 is _ I would like it to show up as such.
Right now I get a high dot. I'm using \starttable.
So sorry...Why do I always forget the wonders
of the other
problems.
The last six pages consist of an order form, a page of text,
and another order form, all backed up by blank pages for
six pages total. The order form is created with some
\framedtext and \starttable trickery. It compiles fine by
itself but gives errors in the \starttable
/additional.html#tablemacro
\starttable[|l|lp(120pt)|]
\NC Something \NC Long description ... \input tufte \NC\AR
\stoptable
Great. One problem however, what if you wan't all space not consumed by
the previous columns? Too much to ask?
Too much to ask me.
--
George N. White III [EMAIL
missing something, for
\starttable[|l|l|]
\NC Something \NC Long description ... \NC\AR
\stoptable
makes for a very wide table (that goes off the paper).
nikolai
--
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden
in a column, but that
doesn't seem to exist/work. In tabulate you can use 'p' in the
template, and table doesn't complain when you use it but doesn't obide
by it either. Am I missing something, for
\starttable[|l|l|]
\NC Something \NC Long description ... \NC\AR
\stoptable
makes for a very wide table
* George N. White III [EMAIL PROTECTED] [Mar 01, 2004 18:30]:
You need the printed manual for the TaBlE package, which will
suggest something alone the lines:
Hm, and this manual has to be ordered? No downloads?
\starttable[|l|lp(120pt)|]
\NC Something \NC Long description ... \input tufte
\complexstartbnfgrammar[#1]#2\stopbnfgrammar
{\bgroup%
\global\firstruletrue%
\global\newruletrue%
\global\donerulefalse%
\setupbnfgrammar[#1]%
\setcatcodes%
\starttable[|r|c|l|]\scantokens{#2}\LR\stoptable
\egroup}
beware, use
\def\BNFsomecommand
to avoid future nameclashes; also
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
Bernd wrote:
Hi,
is there a function like cline{1-2} in LaTeX
to produce a frame around a special cell?
thanks
This environment has colorsupport. I doubt that the line thickness can be
influenced for indidual cells.
I suggest that you have a look into the bTABLE -- eTABLE environment,
, 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
601 - 631 of 631 matches
Mail list logo