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
\starttabl
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
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 exampl
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 of
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
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 to
0.0cm,
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, wen
ble[align=middle]{A table 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}
> \
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
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|r|r|r|]
\DC \DC \DL[7] \DR
\NC \NC \VL \use{7}\ReFormat[cB]{Years} \VL \AR
\DC \D
know how the vertical stretch 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\\ kap
On Sun, 16 Nov 2014 06:18:02 -0700, Hans Hagen 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 this;
\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
][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&
,
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
title={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[titl
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
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
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
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
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
dimexpr2mm+2pt,split=repeat]
\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 en
]
\stopsetups
\starttext
\startTABLE[setups=cellpading]
\NC A \NC B \NC D \NC \NR
\NC A \NC B \NC D \NC \NR
\NC A \NC B \NC D \NC \NR
\stopTABLE
\stoptext
Aditya
___
If your question is of interest to others as
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
TeX.
>>
>> e.g:
>> \startbuffer
>> ...
>> \stopbuffer
>>
>> starts storing "things" in a buffer(aka. Variable). This would be simailar
>> to "command" as you can access the buffer with \getbuffer and \putbuffer.
>> Of cou
e 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 the start/stop m
.
\stopbuffer
starts storing "things" in a buffer(aka. 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 varia
\starttext
\startebook
\chapter… %see comment #4
\startparagraph{leftmargin=20%, …] % see
comment #5
% text
\stopparagraph
\starttable
\startparagraph{leftmargin=20%, …] % see
comment #5
% text
\stopparagraph
\starttable…
\stoptable
…
\stopebook
\stoptex
y only
>> 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
rizontal 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[
tical). 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 "na
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 Num
>
> Table #2 In this table I accidentally got \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 m
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 i
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 \m
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}{}
\stopcombin
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
gt;> \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
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[|l|l|]
\HL
\VL $m$ in kg \VL $a$ in \unit{m isquare s} \VL\NR
\HL
\VL \qquad \VL \q
bhä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 \VL \VL\AR
ter \NC 1969 \NC 5 \NC 2493 \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
> > 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 \V
ame}
>\blank
> \startlocalfootnotes % [conversion=set fnsym]
> \setupnotation[footnote][numberconversion=fnsym,rule=off] % change footnote
> symbols
> \midaligned
> {
> \placetable[here,none][]{}
>{
>\setuptables[bodyfont=10pt,after=\nowhitespace,s
e
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 Characters} \VL
\VL$\oplus$ \note[hanzi]\VL
> \starttext
>
> \midaligned
> {
>\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}
[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
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,le
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
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&quo
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
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 d
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 is
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
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 wo
Am 16.04.2013 um 18:20 schrieb "H. Özoguz" :
> 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
>
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 \
Am 16.04.2013 um 15:13 schrieb H. Özoguz :
>> \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-
\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 14:40 schrieb H. Özoguz :
> 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 Tol
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&qu
t one.
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
: Caption
See [table](#caption)
%
%%% 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\A
On 3/20/2013 8:24 AM, Alan BRASLAU wrote:
On Tue, 19 Mar 2013 23:46:35 +0100
Sietse Brouwer 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
On Tue, 19 Mar 2013 23:46:35 +0100
Sietse Brouwer 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 of macros
in tabul
e[2]\dmaketitle{%
\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,
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 as
fset=0.2ex, 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=
topformula
\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 equatio
nsure 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)
\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
nonecell]{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 \JustLef
Am 23.01.2013 um 04:29 schrieb 土卜皿 :
> 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 FIR
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
\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\NC\NR
\
aphs. (Besides, the wiki doesn’t mention
this behavior and afair I’m partially responsible for that
omission ;-))
Philipp
>
> (Untested)
>
> \startsetups table:setup
> \setupTABLE[frame=off]
> \setupTABLE[r][1][background=color, color=red, width=0.5\hsize]
&g
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
cm)/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
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 somethin
gt;>
>> \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 Three \NC\NR
>> \NC A \NC B \NC C \N
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 Tw
ttext
\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:
felse(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}]
\NC
\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. That'
;
>
>\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
[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
ttext
\startformula
\startmatrix[left={\left(\,},right={\,\right)}]
\NC a_{11} \NC a_{12} \NC \cdots \NC a_{1n} \NR
\NC \vdots \NC \vdots \NC \vdots \NC \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
axis (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' =
rking.
I have 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
t; Did I do something 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
>
%%
\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 \
\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 are
x27;t 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
;> 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[column][1][background=…]
>>
>> which is only supported by natural tables
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
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
\setux
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
101 - 200 of 685 matches
Mail list logo