On 2016-05-30 16:45:37 +, Wolfgang Schuster said:
Nicola 30. Mai 2016 um 17:45
I'd like to set a default background color for all the tables in my document.
This is what I have tried (using the latest beta):
\setuptables[background=color,backgroundcolor=red]
\starttext
\starttable[|cm
Nicola <mailto:nvitacolo...@gmail.com>
30. Mai 2016 um 17:45
I'd like to set a default background color for all the tables in my
document.
This is what I have tried (using the latest beta):
\setuptables[background=color,backgroundcolor=red]
\starttext
\starttable[|cm|]
I'd like to set a default background color for all the tables in my document.
This is what I have tried (using the latest beta):
\setuptables[background=color,backgroundcolor=red]
\starttext
\starttable[|cm|]
\HL
\NC \bf R \NC \AR
\NC A \NC \AR
\HL
Schuster napsal(a):
Jaroslav Hajtmar <mailto:hajt...@gyza.cz>
1. Mai 2016 um 07:52
Thanx Wolfgang for reply.
I looked for possible mistakes in my library, and finally I find out
that described error that bug is reflecting when I use \starttable
--- \stoptable environment. I am sending now an m
Jaroslav Hajtmar <mailto:hajt...@gyza.cz>
1. Mai 2016 um 07:52
Thanx Wolfgang for reply.
I looked for possible mistakes in my library, and finally I find out
that described error that bug is reflecting when I use \starttable ---
\stoptable environment. I am sending now an minimal e
Thanx Wolfgang for reply.
I looked for possible mistakes in my library, and finally I find out
that described error that bug is reflecting when I use \starttable ---
\stoptable environment. I am sending now an minimal example that
illustrates the problem. I am aware that work with tables
On 3/2/2016 4:52 PM, Nicola wrote:
I read in the wiki that my beloved \starttable...\stoptable is
deprecated. Tabulate seems their next of kin, but... does it
support cells spanning more than one row?
\starttable will always stay around (after all, it had been partially
mkiv'd); it's just
I read in the wiki that my beloved \starttable...\stoptable is
deprecated. Tabulate seems their next of kin, but... does it
support cells spanning more than one row?
Nicola
___
If your question is of interest
,
footer=1cm, %bottomspace=1cm,
width=fit, height=fit]
\setupbodyfont[palatino,10pt]
\definetabletemplate[fosa][s0|xp(3.5cm)|lw(0.7cm)m|xp(5cm)s2|lw(2.5cm)m|]
\starttext
\starttable[fosa]
\NC Kräftegleichgewicht \NC\Use3[p(8cm)]{Ein Körper ist im
Kräftegleichgewicht, wenn die
with footnotes.}
{\starttable[|l|r|]
\HL
\VL One\footnote{First} \VL Two\footnote{Second} \VL\FR
\VL Three\footnote{Third} \VL Four\footnote{Fourth} \VL\LR
\HL
\stoptable}
{\placelocalfootnotes}
\stoplocalfootnotes
\stoptext
Best regards: OK
Hi Christoph,
There exists a local footnotes environment in floats, as in the following
example: I don’t know if it solves the problem you mention…
\starttext
\startlocalfootnotes
\placetable[align=middle]{A table with footnotes.}
{\starttable[|l|r|]
\HL
\VL One
, and Total) have a gray background.
I would appreciate any help in attaining this wish list.
Thanks in advance,
Troy
—— Code Starts Here ——
\setupcolors[state=start]
\starttext
\null\vskip15ex
\hskip1em\framed[orientation=90,frame=off]{\bf
Region}\blank\vskip-25.5ex
\starttable[|c|l|r|r|r|r
a
glyph.
What is the best way to code this in ConText? (preferred is to use the
symbol left brace.)
Greetings,
Rob
---
context code now used:
\starttable[s0|cp(.2\textwidth)|cp(.2\textwidth)|cp(.2\textwidth)|cp(.25\textwidth)|]
\NC \NC \VL Variabel\\ kapitaal\\ 10 \VL Arbeidsloon v/d\\
productie
\righttoleft \ }
\define\NCL{\NC \lefttoright \ }
\setupTABLE[c][each][width=1in]
\starttext
\ALM
\placetable[right,none]{}
{\startTABLE
\NC Text 1 \NC \righttoleft النص 1 \NC\NR
\stopTABLE}
\placetable[right,none]{}
{\startTABLE
\NC Text 2 \NCR النص 2 \NC\NR
\stopTABLE}
\stopalignment
On Sun, 16 Nov 2014 06:18:02 -0700, Hans Hagen pra...@wxs.nl wrote:
don't confuse starttable and startTABLE (used \bTR etc)
Ah.. looking at the code here:
http://wiki.contextgarden.net/TABLE#TABLEs_with_old_table_syntax
I guess it's not worth investing in the low-level trickery to force
][width=1in]
\starttext
\ALM
\placetable[right,none]{}
{\startTABLE
\NC Text 1 \NC \righttoleft النص 1 \NC\NR
\stopTABLE}
\placetable[right,none]{}
{\startTABLE
\NC Text 2 \NCR النص 2 \NC\NR
\stopTABLE}
\stopalignment
=
gives
I've run across a `}' that doesn't seem to match
,
alignmentcharacter=.,
align=middle]
\subject{Reference}
\startTABLE
\NC Foo\crlf bar\NC \NR
\NC 1.1 \NC \NR
\NC 11.1\NC \NR
\stopTABLE
\subject{Double backslash issue}
\startTABLE
\NC Foo\\bar\NC \NR
\NC 1.1 \NC \NR
]
\subject{Reference}
\startTABLE
\NC Foo\crlf bar\NC \NR
\NC 1.1 \NC \NR
\NC 11.1\NC \NR
\stopTABLE
\subject{Double backslash issue}
\startTABLE
\NC Foo\\bar\NC \NR
\NC 1.1 \NC \NR
\NC 11.1\NC \NR
\stopTABLE
\subject
={Not a figure}]
Word
\stopplacefigure
\startplacetable[title={A table}]
\starttable[||]
\NC Table\NC\NR
\stoptable
\stopplacetable
\startplacefigure[title={A bovine figure}]
\externalfigure[cow][width=5cm]
\stopplacefigure
\startplaceintermezzo[title
I have finally found a not perfect solution: setting manually the height of
the bar cell shrinks the foo cell (setting height=fit for the foo cell does
not work).
\starttext
\startTABLE
\NC foo \NC[nr=2] \input knuth \NC \NR
\NC[height=28ex] bar\NC
On 7/15/2014 1:59 PM, Maggyero wrote:
I have finally found a not perfect solution: setting manually the height
of the bar cell shrinks the foo cell (setting height=fit for the foo
cell does not work).
\starttext
\startTABLE
\NC foo \NC[nr=2] \input knuth \NC \NR
\NC
How can I stretch the height of the foo cell to fit its content?
\starttext
\startTABLE
\NC foo \NC[nr=2]\input knuth \NC \NR
\NC bar \NC \NR
\stopTABLE
\stoptext
___
If your
\stopxcell
\startxcell x \stopxcell
\stopxrow
\startxrow
\startxcell y \stopxcell
\stopxrow
\stopxtable
With natural tables (no fit):\crlf
\startTABLE
\NC[nr=2]\input knuth \NC x \NC \NR
\NC y \NC \NR
How can one use character alignment in math mode? (I am using the last
stable ConTeXt version — 2014.05.21.)
\starttext
\setupTABLE[column][first][alignmentcharacter={,}, aligncharacter=yes,
align=middle]
Figures in text mode get aligned:
\startTABLE
\NC 0,0 \NC \NR
\NC 0,00\NC
On 6/24/2014 4:35 PM, Maggyero wrote:
How can one use character alignment in math mode? (I am using the last
stable ConTeXt version — 2014.05.21.)
\starttext
\setupTABLE[column][first][alignmentcharacter={,}, aligncharacter=yes,
align=middle]
Figures in text mode get aligned:
\startTABLE
]
\startTABLE
\NC Text 1 \NC Text 2 \NC\NR
\NC Text 3 \NC Text 4 \NC\NR
\stopTABLE
}
\stoptext
---end of test source---
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg
Dear All,
using the documentation, I tried to use CL as in the following example but
I did not get any color. Is there a trick?
Best regards,
Flavien.
\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
with \getbuffer and \putbuffer.
Of course one could argue that it is actually like an LaTeX environment that
has
a side effect of setting a variable for later use.
On the other side you have \starttable \stoptable which one would put in the
realm of
LaTeX-environments.
One can practically, use
. Variable). This would be simailar
to command as you can access the buffer with \getbuffer and \putbuffer.
Of course one could argue that it is actually like an LaTeX environment that has
a side effect of setting a variable for later use.
On the other side you have \starttable \stoptable which one
\starttable \stoptable which one would put in the
realm of
LaTeX-environments.
One can practically, use the start/stop mechanism almost anything you define.
Depending on the paradigm that you use structure (and/or) element would be
appropriate!
That is is a program source the definition
{leftmargin=20%, …] % see
comment #5
% text
\stopparagraph
\starttable…
\stoptable
…
\stopebook
\stoptext
OK
\starttext
\startebook
\chapter… %see comment #4
\startparagraph{leftmargin=20%, …] % see
comment #5
% text
\stopparagraph
\starttable
Hello everyone.
I like to compose tables using the method Natural Tables recommended
Contextgarden but do not know how I have to configure to display only
horizontal lines (not vertical). I send a minimal example:
\starttext
\starttable[|c|c|]
\HL
\NC Letters \NC Numbers \SR % or \NC\AR
example:
\starttext
\starttable[|c|c|]
\HL
\NC Letters \NC Numbers \SR % or \NC\AR
\HL
\NC A \NC 1 \AR
\NC B \NC 2 \AR
\NC C \NC 3 \AR
\HL
\stoptable
\stoptext
How I could translate to a natural table this code?
\startsetups[table:rules]
\setupTABLE [start] [frame=off,align
horizontal lines
(not vertical). I send a minimal example:
\starttext
\starttable[|c|c|]
\HL
\NC Letters \NC Numbers \SR % or \NC\AR
\HL
\NC A \NC 1 \AR
\NC B \NC 2 \AR
\NC C \NC 3 \AR
\HL
\stoptable
\stoptext
How I could translate to a natural table this code?
\startsetups[table:rules
horizontal lines (not vertical). I send a minimal example:
\starttext
\starttable[|c|c|]
\HL
\NC Letters \NC Numbers \SR % or \NC\AR
\HL
\NC A \NC 1 \AR
\NC B \NC 2 \AR
\NC C \NC 3 \AR
\HL
\stoptable
\stoptext
How I could translate to a natural table this code?
\startsetups
.
BUT, the last row is not misaligned by about 1 character position.
How could I get Example #2 below to align properly and why is \DL not working
in example #1?
Regards
---
\starttext
\starttable[|r|]
\NC Table Header Here\AR
\DL[1] \DR
\NC misc item 1
\DL[1] to work by added a \NC to th
last row.
BUT, the last row is not misaligned by about 1 character position.
How could I get Example #2 below to align properly and why is \DL not working
in example #1?
You missed the \NC before \AR.
\starttext
\starttable[|r|]
\NC Table
On 9/19/2013 1:27 AM, Marco Patzer wrote:
Hi,
The following example results in the error “You can't assign a
glue_spec node to a prev field”
\starttext
\startcombination [2*1]
{\starttable [|c|]
\NC \math{1} \VL\NR\HL
\stoptable}{}
{\starttable [|c|]
\NC \math{2
Hi,
The following example results in the error “You can't assign a
glue_spec node to a prev field”
\starttext
\startcombination [2*1]
{\starttable [|c|]
\NC \math{1} \VL\NR\HL
\stoptable}{}
{\starttable [|c|]
\NC \math{2} \VL\NR
\stoptable}{}
\stopcombination
Is it possible to have different colored table cell border frames?
I tried using the \setuptables[rulecolor=...] but it didn't work.
Here is a minimal example:
%
\setuptables[rulecolor=red]
\starttext
\starttable[|l|c|]
\NC Column \#1 \VL Column \#2 \SR
\DL
der Wagenmasse $m$:
\blank
$M=$ \hl[5] \unit{kg}
\blank
\starttabletext[left,high,none]{}{
%\placetable[left,high,none]{}{
\starttable[|l|l|]
\HL
\VL $m$ in kg \VL $a$ in \unit{m isquare s} \VL\NR
\HL
\VL \qquad \VL \qquad \VL\AR
\VL \VL \VL\AR
\HL
\VL \VL \VL\AR
\VL \VL \VL\AR
\HL
\VL \VL \VL\AR
=)]
\item Abhängigkeit der Beschleunigung von der Wagenmasse $m$:
\blank
$M=$ \hl[5] \unit{kg}
\blank
\starttabletext[left,high,none]{}{
%\placetable[left,high,none]{}{
\starttable[|l|l|]
\HL
\VL $m$ in kg \VL $a$ in \unit{m isquare s} \VL\NR
\HL
\VL \qquad \VL \qquad \VL\AR
\VL \VL \VL\AR
\HL
\VL
my problem.)
Thanks for all comments
Christian
\starttext
\startitemize[n,packed,**joinedup][stopper=)]
\item Abhängigkeit der Beschleunigung von der Wagenmasse $m$:
\blank
$M=$ \hl[5] \unit{kg}
\blank
\starttabletext[left,high,**none]{}{
%\placetable[left,high,none]{}**{
\starttable
\NC 3 \NC
2338 \NC 33 \MR
\NC M \NC Comstock et al \NC 1976 \NC 27 \NC 16886 \NC 29 \NC
17825 \NC 33 \LR
\LL
\stoptabulate}
\placetable [here] [tab:table] {Data of $13$ clinical trials
evaluating the efficacy of the Bacillus Calmette-Guérin vaccine.}
{\tfxx
\starttable[|r|l|r|r|r|r|r|r
\startlocalfootnotes % [conversion=set fnsym]
\setupnotation[footnote][numberconversion=fnsym,rule=off] % change
footnote symbols
\midaligned
{
\placetable[here,none][]{}
{
\setuptables[bodyfont=10pt,after=\nowhitespace,spaceafter=none]
\starttable[|c|c|c|c|c|c|c
{
\startlocalfootnotes % [conversion=set fnsym]
\setupnotation[footnote][rule=off] % change footnote symbols
\starttable[|c|c|c|c|]
\HL
\VL col-1 \VL col-2 $\dagger$\footnote[myfootnote]{Re: X} \VL col-3 \VL
col-4 \VL \MR
\HL
\stoptable
\midaligned
{
\placetable[here,none][]{}
{
\setuptables[bodyfont=10pt,after=\nowhitespace,spaceafter=none]
\starttable[|c|c|c|c|c|c|c|c|c|]
\HL
\VL X-ITEM \VL \VL$\oplus$ \footnote[hanzi]{Traditional Characters} \VL
\VL$\oplus$ \note[hanzi]\VL\VL$\oplus
][numberconversion=fnsym,rule=off] % change footnote
symbols
\midaligned
{
\placetable[here,none][]{}
{
\setuptables[bodyfont=10pt,after=\nowhitespace,spaceafter=none]
\starttable[|c|c|c|c|c|c|c|c|c|]
\HL
\VL X-ITEM \VL \VL$\oplus$ \footnote[hanzi]{Traditional
[footnote][rule=off] % change footnote symbols
\starttable[|c|c|c|c|]
\HL
\VL col-1 \VL col-2 $\dagger$\footnote[myfootnote]{Re: X} \VL col-3 \VL
col-4 \VL \MR
\HL
\stoptable
%\placelocalfootnotes[here]
\placelocalfootnotes[here]
\stoplocalfootnotes
On Wed, 17 Apr 2013, H. Özoguz wrote:
Good morning together,
I want this:
\starttext
\starttable[|l|l|]
\HL
\NC First Entry \\ (Explanation) \VL Second Entry \AR
(Unrelated, but you are using a wrong syntax. Each row should be:
\NC \NC ... \NC \AR)
\HL
\stoptable
\stoptext
BTW, I think that it is better to use Natural Table or tabulate instead of
table environment. For example, you can write:
\startTABLE
\NC First Entry \\ (Explanation) \NC Second Entry \NC \NR
\stopTABLE
Thanks Aditya. Can you give me a short reference to understand the
difference, what
In this example
\starttext
\starttable[|l|c|l|]
\HL
\NC \THREE\JustCenter \it Natürliche Methoden \NC \AR
\HL
\stoptable
\stoptext
(which, by the way, gives an syntax-error with \startTABLE)
the entry Natürliche Methoden is not perfectly vertically centered.
The distance above
On Wed, 17 Apr 2013, H. Özoguz wrote:
BTW, I think that it is better to use Natural Table or tabulate instead of
table environment. For example, you can write:
\startTABLE
\NC First Entry \\ (Explanation) \NC Second Entry \NC \NR
\stopTABLE
Thanks Aditya. Can you give me a short reference
On Wed, 17 Apr 2013, H. Özoguz wrote:
In this example
\starttext
\starttable[|l|c|l|]
\HL
\NC \THREE\JustCenter \it Natürliche Methoden \NC \AR
\HL
\stoptable
\stoptext
(which, by the way, gives an syntax-error with \startTABLE)
the entry Natürliche Methoden is not perfectly vertically
not
all four horizontal and vertical lines are set? For example like:
\starttext
\starttable[|l|c|l|]
\NC Blub1 \VL Blub2 \VL Blub3 \AR
\HL
\NC Lalala \VL Brumm \VL Boff \AR
\HL
\stoptable
\stoptext
Huseyin
with this table-environment to create a table, where not all
four horizontal and vertical lines are set? For example like:
\starttext
\starttable[|l|c|l|]
\NC Blub1 \VL Blub2 \VL Blub3 \AR
\HL
\NC Lalala \VL Brumm \VL Boff \AR
\HL
\stoptable
\stoptext
\setupTABLE[row][1][frame=off,leftframe
Hi,
my table is:
\starttext
\starttable[|l|l|l|]
\NC {\bf Methode} \VL {\bf Relevanz} \VL {\bf Bewertung} \SR
\HL \use{3} {\it Natürliche Methoden} \SR
\NC Klevirak \VL 5-6 \VL Toll \AR
\stoptable
\stoptext
I know want the spanning column with the entry Natürliche Methoden to
be aligned
Am 16.04.2013 um 14:40 schrieb H. Özoguz h.oezo...@mmnetz.de:
Hi,
my table is:
\starttext
\starttable[|l|l|l|]
\NC {\bf Methode} \VL {\bf Relevanz} \VL {\bf Bewertung} \SR
\HL \use{3} {\it Natürliche Methoden} \SR
\NC Klevirak \VL 5-6 \VL Toll \AR
\stoptable
\stoptext
\starttext
\starttable[|l|l|l|]
\NC \bf Methode \VL \bf Relevanz \VL \bf Bewertung \NC\AR
\HL
\NC \THREE\JustCenter \it Natürliche Methoden \NC\AR
\HL
\NC Klevirak \VL 5-6 \VL Toll \NC\AR
\stoptable
\stoptext
Wolfgang
Thanks! And how to center the complete table on the page
Am 16.04.2013 um 15:13 schrieb H. Özoguz h.oezo...@mmnetz.de:
\starttext
\starttable[|l|l|l|]
\NC \bf Methode \VL \bf Relevanz \VL \bf Bewertung \NC\AR
\HL
\NC \THREE\JustCenter \it Natürliche Methoden \NC\AR
\HL
\NC Klevirak \VL 5-6 \VL Toll \NC\AR
\stoptable
\stoptext
Wolfgang
Am 16.04.2013 17:41, schrieb ntg-context-requ...@ntg.nl:
\starttext
\starttable[|l|l|l|]
\NC \bf Methode \VL \bf Relevanz \VL \bf Bewertung \NC\AR
\HL
\NC \THREE\JustCenter \it Nat?rliche Methoden \NC\AR
\HL
\NC Klevirak \VL 5-6 \VL Toll \NC\AR
\stoptable
\stoptext
Wolfgang
Thanks! And how
Am 16.04.2013 um 18:20 schrieb H. Özoguz h.oezo...@mmnetz.de:
Am 16.04.2013 17:41, schrieb ntg-context-requ...@ntg.nl:
\starttext
\starttable[|l|l|l|]
\NC \bf Methode \VL \bf Relevanz \VL \bf Bewertung \NC\AR
\HL
\NC \THREE\JustCenter \it Nat?rliche Methoden \NC\AR
\HL
\NC
Good morning together,
I want this:
\starttext
\starttable[|l|l|]
\HL
\NC First Entry \\ (Explanation) \VL Second Entry \AR
\HL
\stoptable
\stoptext
That is, line break after First Entry, but without leaving the first
cell (first row, first column). The code does not work, how
.
weird ... works here
Sorry, copy-paste error on my side (as Wolfgang already noticed).
It's strc-not.mkvi that fails, not core-sys.mkiv.
a more mkiv-ishc example is:
\startlocalnotes[footnote]
\placetable
{Some Table}
\placeontopofeachother
{\starttable[|l|r|]
\HL
\VL
)
%
%%% table.tex %%%
\placetable[here]{Caption}
\starttable[|r|l|c|l|]
\HL
\NC Right
\NC Left
\NC Center
\NC Default
\NC\AR
\HL
\NC 12
\NC 12
\NC 12
\NC 12
\NC\AR
\NC 123
\NC 123
\NC 123
\NC 123
\NC\AR
\NC 1
\NC 1
\NC 1
\NC 1
\NC\AR
\HL
On Tue, 19 Mar 2013 23:46:35 +0100
Sietse Brouwer sbbrou...@gmail.com wrote:
[1] http://wiki.contextgarden.net/Tabulate
There is \starttabulate and \starttable.
I understand that they use different mechanisms, even though their
syntax are parallel. The wiki page [1] warns against the use
On 3/20/2013 8:24 AM, Alan BRASLAU wrote:
On Tue, 19 Mar 2013 23:46:35 +0100
Sietse Brouwer sbbrou...@gmail.com wrote:
[1] http://wiki.contextgarden.net/Tabulate
There is \starttabulate and \starttable.
I understand that they use different mechanisms, even though their
syntax are parallel
How do I adjust the margin/padding of \starttable ... \stoptable? In
particular, can I make cells immediately next to one another without any
padding?
Troy Henderson
___
If your question is of interest to others
{%
\starttable[|r|r|]
\NC
\framed
[frame=on,
rulethickness=3pt,
framecolor=lightgrey,
foreground=color,
foregroundcolor=lightgrey,
corner=00,
align=right]
{\hspace[big]{\dfont#1}}
\NC
\framed
[width=.1\textwidth,
strut=no,
frame
that the width of the columns does not change from each
step. There is no easy way to do this with \startmathalign, but you can
try \startTABLE, with explicit values of widths. (Some day, I will check
how beamer does this with aligned equations).
Aditya
\StopStepping
You need to ensure that the width of the columns does not change from each
step. There is no easy way to do this with \startmathalign, but you can try
\startTABLE, with explicit values of widths. (Some day, I will check how
beamer does this with aligned equations).
For display
, boffset=0.2ex]
\setupTABLE[column][odd][align=flushright]
\setupTABLE[column][even][align=flushleft]
\setupTABLE[first][2][leftframe=on]
\setupTABLE[last][2][rightframe=on]
\setupTABLE[first,last][2][topframe=on, bottomframe=on]
\stopsetups
\starttext
\startTABLE[setups=table:math
\externalfigure[...][factor=max] behaves incorrectly (or at lease does not
behave as expected) when the width of the figure is less than the height.
Minimal example:
\startbuffer
\startTABLE[frame=off,align={middle,lohi}]
\NC none \NC \externalfigure[cow][ratio] \NC \NR
\NC max \NC
][tab:multilinesinonecell]{Multi Lines in
One Cell}
\starttable[|c|c|c|][textwidth=8.8cm]
\HL
\NC \JustLeft FIRST COL \NC \JustCenter \bf SECOND COL \NC\SR\HL
\NC \JustLeft first line \NC \JustLeft one line in cell \NC\MR
\HL
\NC \JustLeft second line \NC \JustLeft first line in second line's 2nd
hi,all
my question as title described,Now I used the following method:
\starttext
\placetable[here][tab:multilinesinonecell]{Multi Lines in
One Cell}
\starttable[|c|c|c|][textwidth=8.8cm]
\HL
\NC \JustLeft FIRST COL \NC \JustCenter \bf SECOND COL \NC\SR\HL
\NC \JustLeft first line \NC
: \totalnumberofpages \par
%% synonyms: \nofuserpages, \lastuserpagenumber
last user page: \lastpagenumber\par
%% for sake of completeness
first real page \firstpage \par
\chapter{no counting}
\dorecurse{5}{%
\section{iteration \recurselevel}
\starttable[|l|l|]
\NC counter\NC value
for that
omission ;-))
Philipp
(Untested)
\startsetups table:setup
\setupTABLE[frame=off]
\setupTABLE[r][1][background=color, color=red, width=0.5\hsize]
\stopsetups
\startTABLE[setups={table:setup}]
\NC \input knuth \NC was said by the Don \NC \NR
\stopTABLE
Aditya
are more flexible than tabulate.
(Untested)
\startsetups table:setup
\setupTABLE[frame=off]
\setupTABLE[r][1][background=color, color=red, width=0.5\hsize]
\stopsetups
\startTABLE[setups={table:setup}]
\NC \input knuth \NC was said by the Don \NC \NR
\stopTABLE
\setupTABLE[c][1][width={2cm}]
\setupTABLE[c][2][width={\dimexpr(\textwidth-2cm)/3\relax}]
\setupTABLE[c][3][width={\dimexpr(\textwidth-2cm)* 2 / 3\relax}]
\startTABLE
\NC One \NC Two \NC Three \NC\NR
\NC A \NC B \NC C \NC\NR
\stopTABLE
\stoptext
On Sep 2, 2012, at 12:24 PM, Aditya Mahajan wrote:
Hi
wondering if the widths and stretching can be handled
automatically -- the short answer is I don't know.
\starttext
\setupTABLE[c][1][width={2cm}]
\setupTABLE[c][2][width={\dimexpr(\textwidth-2cm)/3\relax}]
\setupTABLE[c][3][width={\dimexpr(\textwidth-2cm)* 2 / 3\relax}]
\startTABLE
\NC One \NC Two \NC
(\textwidth-2cm)* 2 / 3\relax}]
\startTABLE
\NC One \NC Two \NC Three \NC\NR
\NC A \NC B \NC C \NC\NR
\stopTABLE
\stoptext
Apart from being hard to maintain, this works well if I know the width of a
cell in advance. But most of the time I want something the width of the fixed
column
\relax}]
\setupTABLE[c][3][width={\dimexpr(\textwidth-2cm)* 2 / 3\relax}]
\startTABLE
\NC One \NC Two \NC Three \NC\NR
\NC A \NC B \NC C \NC\NR
\stopTABLE
\stoptext
Apart from being hard to maintain, this works well if I know the width of a
cell in advance. But most of the time I want something
{doifelse(math.mod(##1-1,6) 3)}\v!odd\v!even}}
\protect
\startsetups zebra:three
\redefineoddeven
\setupTABLE[frame=off,background=color]
\setupTABLE[row][odd][backgroundcolor=blue]
\setupTABLE[row][even][backgroundcolor=red]
\stopsetups
\starttext
\startTABLE[setups={zebra:three
[align={middle,middle}] does not work.
I also tried \setupTABLE[location={low}] (or lohi, or middle), but the
calculation of height is wrong in those cases.
Minimal example:
\startsetups table
\setupTABLE[align={middle,middle}]
\stopsetups
\starttext
\startTABLE[setups
[align={middle,middle}]
\stopsetups
\starttext
\startTABLE[setups=table]
\NC Ward \NC \input ward \endgraf \NC \NR
\stopTABLE
\stoptext
Can you show your output because I can’t see something odd with
\setupTABLE[align={middle,loci}]
Wolfgang
test.pdf
Description
:
\startsetups table
\setupTABLE[align={middle,middle}]
\stopsetups
\starttext
\startTABLE[setups=table]
\NC Ward \NC \input ward \endgraf \NC \NR
\stopTABLE
\stoptext
Can you show your output because I can’t see something odd with
\setupTABLE[align={middle,loci}]
Thanks
\vdots \NR
\noalign{\hrule}
\NC a_{i1} \NC a_{i2} \NC \cdots \NC a_{in} \NR
\noalign{\hrule}
\NC \vdots \NC \vdots \NC \ddots \NC \vdots \NR
\NC a_{m1} \NC a_{m2} \NC \cdots \NC a_{mn} \NR
\stopmatrix
\stopformula
\starttable[|*{4}{b{\strut}Mc|}]
\NC a_{11} \NC a_{12} \NC \cdots \NC a_{1n} \NC
%%
\starttext
\starttable[|c|c|w4cm|w4cm|]
\HL
\NC A \VL B \VL C \VL D \NC\SR
\HL
\NC $x$ \VL \startmatrix
\NC x' = \NC \NR
\NC y' = \NC \NR
\stopmatrix \VL \VL \NC\FR
\HL
\NC $y$ \VL \startformula\startalign
\NC x' = \NC \NR
\NC y' = \NC \NR
\stopalign\stopformula \VL \VL \NC\LR
\HL
\stoptable
wrong?
Thank you for reading.
Best regards,
Dalyoung
%%
\starttext
\starttable[|c|c|w4cm|w4cm|]
\HL
\NC A \VL B \VL C \VL D \NC\SR
\HL
\NC $x$ \VL \startmatrix
\NC x' = \NC \NR
\NC y' = \NC \NR
\stopmatrix \VL \VL \NC\FR
\HL
\NC $y$ \VL \startformula\startalign
\NC
two more questions.
1. In the output of the following code, 'x' in the first column is vertically
centered, but matrix in the second column is not(located at top). What option
can solve this?
\starttable[|c|c|w4cm|w4cm|]
\HL
\NC A \VL B \VL C \VL D \NC\SR
\HL
\NC $x$ \VL \startmatrix
\NC x' = \NC
(and their location can be
controlled by location=(low|lohi|high) keys, but for some reason that is
not working in a table.
\starttable[|c|c|w4cm|w4cm|]
The normal syntax is w(4cm) ...
\HL
\NC A \VL B \VL C \VL D \NC\SR
\HL
\NC $x$ \VL \startmatrix
\NC x' = \NC \NR
.\NC y' = \NC \NR
\stopmatrix
\starttable[|c|c|c|c|c|c|]
\HL
\VL \VL A \VL B \VL C \VL D \VL E \VL\FR
\HL
\VL \VL 2\VL 1\VL 3\VL 2\VL 2\VL\SR
\HL
\stoptable
...
I got correct steps flush1 and flush 2, but the table after the steps was
disappeared.(just white page)
If I change the order of table and items, both
match its definition.
system tex error on line 5 in file Tabellen/tabel-engels.tex: Use
of ...
1 % Part of Practicumboek Cryptografie - ConTeXt version
2 %
3 \placetable{}{\smallsize\tt
4 \starttable[s1|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|]
5 \HL
Am 21.06.2012 um 16:27 schrieb Meer, H. van der:
Can one put individual horizontal and vertical lines between rows/columns in
xtable? Just like for example \HL in \starttable?
You can use MetaPost to draw the rules but it’s awkward because you can make a
setup like this
\setuxptable
On 22 jun. 2012, at 10:53, Wolfgang Schuster wrote:
Am 21.06.2012 um 16:27 schrieb Meer, H. van der:
Can one put individual horizontal and vertical lines between rows/columns in
xtable? Just like for example \HL in \starttable?
You can use MetaPost to draw the rules but it’s awkward
Am 22.06.2012 um 12:00 schrieb Meer, H. van der:
On 22 jun. 2012, at 10:53, Wolfgang Schuster wrote:
Am 21.06.2012 um 16:27 schrieb Meer, H. van der:
Can one put individual horizontal and vertical lines between rows/columns
in xtable? Just like for example \HL in \starttable?
You
Can one put individual horizontal and vertical lines between rows/columns in
xtable? Just like for example \HL in \starttable?
The workings of parameter spaceinbetween on \startxtable remain a mystery to
me. Can someone enlighten me?
Hans van der Meer
I started using starttable..\stoptable.
Question: How can I force the table cells to fixed dimensions, for example
squares of 1cmx1cm?
I can see \setuptables[height= width= depth=] but that does not take dimensions
(error Illegal unit). What it does with the numbers given is not clear to me
Hello,
I have problem using \definetabletemplate
(http://wiki.contextgarden.net/Command/definetabletemplate,
http://www.mail-archive.com/search?l=ntg-context%40ntg.nlq=definetabletemplate).
The following code doesn't work:
\definetabletemplate[Test][|c|]
\starttext
\starttable[|c
101 - 200 of 631 matches
Mail list logo