Re: [NTG-context] Set default background color or pattern for tables

2016-05-30 Thread Nicola
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

Re: [NTG-context] Set default background color or pattern for tables

2016-05-30 Thread Wolfgang Schuster
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|]

[NTG-context] Set default background color or pattern for tables

2016-05-30 Thread Nicola
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

Re: [NTG-context] Strange bug in the latest version of ConTeXt - start-stop table problem

2016-05-01 Thread Jaroslav Hajtmar
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

Re: [NTG-context] Strange bug in the latest version of ConTeXt - start-stop table problem

2016-05-01 Thread Wolfgang Schuster
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

Re: [NTG-context] Strange bug in the latest version of ConTeXt - start-stop table problem

2016-04-30 Thread Jaroslav Hajtmar
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

Re: [NTG-context] Tables vs tables (deprecation paranoia again)

2016-03-02 Thread Hans Hagen
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&#

[NTG-context] Tables vs tables (deprecation paranoia again)

2016-03-02 Thread Nicola
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

[NTG-context] Bug in table ?

2015-12-20 Thread Christian Prim
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

Re: [NTG-context] Multi-page (split) natural tables and footnotes

2015-06-07 Thread Christoph Reller
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} > \

Re: [NTG-context] Multi-page (split) natural tables and footnotes

2015-06-07 Thread Otared Kavian
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

[NTG-context] Tables, Row Span, and Colors

2015-03-12 Thread Troy Henderson
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

[NTG-context] How to draw this picture?

2015-01-17 Thread Rob Heusdens
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

Re: [NTG-context] Macros in \start-stopTABLE

2014-11-16 Thread Idris Samawi Hamid ادريس سماوي حامد
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;

Re: [NTG-context] Macros in \start-stopTABLE

2014-11-16 Thread Hans Hagen
\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

[NTG-context] Macros in \start-stopTABLE

2014-11-15 Thread Idris Samawi Hamid ادريس سماوي حامد
][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&

Re: [NTG-context] Two issues with character alignment

2014-09-04 Thread Hans Hagen
, 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

[NTG-context] Two issues with character alignment

2014-09-04 Thread Maggyero
] \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

Re: [NTG-context] Alignment, indenting and font inside floats

2014-07-28 Thread Rik Kabel
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

Re: [NTG-context] Height fitting with row spanning in a table

2014-07-15 Thread Hans Hagen
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

[NTG-context] Height fitting with row spanning in a table

2014-07-15 Thread Maggyero
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

[NTG-context] Height fitting with row spanning in a table

2014-07-11 Thread Maggyero
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

[NTG-context] Height fitting cell contents while using row spanning in other columns of a table

2014-07-09 Thread Maggyero
\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

Re: [NTG-context] Character alignment in math mode

2014-06-24 Thread Hans Hagen
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

[NTG-context] Character alignment in math mode

2014-06-24 Thread Maggyero
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

Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-22 Thread Robert Zydenbos
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

Re: [NTG-context] Cellspacing like in HTML-Tables?

2014-04-09 Thread Aditya Mahajan
] \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

[NTG-context] Colored cell background in Table

2014-02-21 Thread Flavien Lambert
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

Re: [NTG-context] two questions on ConTeXt terminology

2014-02-04 Thread Keith J. Schultz
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

Re: [NTG-context] two questions on ConTeXt terminology

2014-02-03 Thread Pablo Rodriguez
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

Re: [NTG-context] two questions on ConTeXt terminology

2014-02-03 Thread Keith J. Schultz
. \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

Re: [NTG-context] EPUB woes

2013-11-20 Thread Aditya Mahajan
\starttext \startebook \chapter… %see comment #4 \startparagraph{leftmargin=20%, …] % see comment #5 % text \stopparagraph \starttable

Re: [NTG-context] EPUB woes

2013-11-20 Thread Keith J. Schultz
\startparagraph{leftmargin=20%, …] % see comment #5 % text \stopparagraph \starttable… \stoptable … \stopebook \stoptex

Re: [NTG-context] About "natural tables"

2013-10-30 Thread MANUEL GONZALEZ SUAREZ
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

Re: [NTG-context] About "natural tables"

2013-10-30 Thread Aditya Mahajan
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[

Re: [NTG-context] About "natural tables"

2013-10-30 Thread Wolfgang Schuster
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

[NTG-context] About "natural tables"

2013-10-30 Thread MANUEL GONZALEZ SUAREZ
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

Re: [NTG-context] \DL misfunctioning

2013-10-09 Thread Wolfgang Schuster
> > 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

[NTG-context] \DL misfunctioning

2013-10-09 Thread hwitloc
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

Re: [NTG-context] Inline math in table in combination fails

2013-09-19 Thread Hans Hagen
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

[NTG-context] Inline math in table in combination fails

2013-09-18 Thread Marco Patzer
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

[NTG-context] table cell frames

2013-09-12 Thread hwitloc
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

Re: [NTG-context] \startfloattext ... \stopfloattext

2013-09-09 Thread Christian Prim
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

Re: [NTG-context] \startfloattext ... \stopfloattext

2013-09-09 Thread Hans Hagen
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

[NTG-context] \startfloattext ... \stopfloattext

2013-09-09 Thread Christian Prim
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

[NTG-context] Table cell spanning multiple columns in tabulate

2013-07-15 Thread Thomas Friedrich
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

[NTG-context] [***SPAM***] Re: [***SPAM***] How to reduce vertical spacing after this table

2013-07-08 Thread d.henman
> > 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

Re: [NTG-context] [***SPAM***] How to reduce vertical spacing after this table

2013-07-06 Thread Wolfgang Schuster
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

[NTG-context] [***SPAM***] How to reduce vertical spacing after this table

2013-07-06 Thread hwitloc
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

Re: [NTG-context] [***SPAM***] Placement of a table's footnotes

2013-07-05 Thread Wolfgang Schuster
> \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}

[NTG-context] [***SPAM***] Placement of a table's footnotes

2013-07-05 Thread d.henman
[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

Re: [NTG-context] Finetuning distances in cells

2013-04-17 Thread Aditya Mahajan
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

Re: [NTG-context] Finetuning distances in cells

2013-04-16 Thread H. Özoguz
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

Re: [NTG-context] [***SPAM***] Finetuning distances in cells

2013-04-16 Thread Aditya Mahajan
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

Re: [NTG-context] [***SPAM***] Re: Line break in a cell of a table

2013-04-16 Thread Aditya Mahajan
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

[NTG-context] [***SPAM***] Finetuning distances in cells

2013-04-16 Thread H. Özoguz
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

[NTG-context] [***SPAM***] Re: Line break in a cell of a table

2013-04-16 Thread H. Özoguz
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

Re: [NTG-context] Line break in a cell of a table

2013-04-16 Thread Aditya Mahajan
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

[NTG-context] Line break in a cell of a table

2013-04-16 Thread H. Özoguz
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

Re: [NTG-context] Center-Aligment in column spans

2013-04-16 Thread Wolfgang Schuster
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 >

Re: [NTG-context] Center-Aligment in column spans

2013-04-16 Thread 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 >>\HL >>\NC \THREE\JustCenter \it Nat?rliche Methoden \NC\AR >>\HL >>\NC Klevirak \VL 5-6 \

Re: [NTG-context] Center-Aligment in column spans

2013-04-16 Thread Wolfgang Schuster
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-

Re: [NTG-context] Center-Aligment in column spans

2013-04-16 Thread 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-6 \VL Toll \NC\AR \stoptable \stoptext Wolfgang Thanks! And how to center the complete table on the page

Re: [NTG-context] Center-Aligment in column spans

2013-04-16 Thread Wolfgang Schuster
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

[NTG-context] Center-Aligment in column spans

2013-04-16 Thread 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 Toll \AR \stoptable \stoptext I know want the spanning column with the entry "Natürliche Methoden&qu

Re: [NTG-context] options of \setupnotation and \setupnote

2013-04-15 Thread Hans Hagen
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

Re: [NTG-context] markdown: referencing tables

2013-04-10 Thread Marco Patzer
: 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

Re: [NTG-context] next beta (tabulate)

2013-03-20 Thread Hans Hagen
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

Re: [NTG-context] next beta (tabulate)

2013-03-20 Thread Alan BRASLAU
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

[NTG-context] Chapter headings macro

2013-02-07 Thread Devendra Ghate
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,

[NTG-context] \starttable ... \stoptable padding

2013-02-07 Thread Troy Henderson
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

Re: [NTG-context] \setlayer on \startalign row

2013-02-06 Thread Aditya Mahajan
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=

Re: [NTG-context] \setlayer on \startalign row

2013-02-06 Thread Aditya Mahajan
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

Re: [NTG-context] \setlayer on \startalign row

2013-02-06 Thread Aditya Mahajan
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)

[NTG-context] Bug in \externalfigure[...][factor=max]

2013-02-02 Thread Aditya Mahajan
\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

Re: [NTG-context] What is the easiest way to have multi lines in some of the cells in a table?

2013-01-23 Thread 土卜皿
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

Re: [NTG-context] What is the easiest way to have multi lines in some of the cells in a table?

2013-01-22 Thread Wolfgang Schuster
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

[NTG-context] What is the easiest way to have multi lines in some of the cells in a table?

2013-01-22 Thread 土卜皿
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

Re: [NTG-context] Total Number of Pages

2012-10-16 Thread Philipp Gesang
\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 \

Re: [NTG-context] [tabulate] colored background

2012-09-28 Thread Philipp Gesang
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

Re: [NTG-context] [tabulate] colored background

2012-09-27 Thread Aditya Mahajan
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

Re: [NTG-context] Stretching width in natural TABLEs

2012-09-03 Thread Aditya Mahajan
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

Re: [NTG-context] Stretching width in natural TABLEs

2012-09-03 Thread Rogers, Michael K
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

Re: [NTG-context] Stretching width in natural TABLEs

2012-09-03 Thread Aditya Mahajan
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

Re: [NTG-context] Stretching width in natural TABLEs

2012-09-03 Thread Michael Rogers
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:

Re: [NTG-context] Setting options for every n-th row in natural TABLEs

2012-09-02 Thread Aditya Mahajan
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

Re: [NTG-context] Vertical alignment in Natural tables

2012-08-27 Thread Aditya Mahajan
\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'

Re: [NTG-context] Vertical alignment in Natural tables

2012-08-27 Thread Wolfgang Schuster
; > >\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

[NTG-context] Vertical alignment in Natural tables

2012-08-27 Thread Aditya Mahajan
[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

Re: [NTG-context] How to draw a red frame of a row in a matrix?

2012-07-25 Thread Wolfgang Schuster
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

Re: [NTG-context] about \startformula\startalign error

2012-07-22 Thread Aditya Mahajan
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' =

Re: [NTG-context] about \startformula\startalign error

2012-07-22 Thread dalyoung
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

Re: [NTG-context] about \startformula\startalign error

2012-07-22 Thread Aditya Mahajan
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 >

[NTG-context] about \startformula\startalign error

2012-07-22 Thread 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 x' = \NC \NR \NC y' = \NC \NR \stopalign\stopformula \VL \VL \

[NTG-context] report of strange(?) output depending on the location of \StartSteps ... \StopSteps

2012-07-21 Thread dalyoung
\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

[NTG-context] Tables still broken?

2012-07-06 Thread Meer, H. van der
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

Re: [NTG-context] xtable

2012-06-22 Thread Wolfgang Schuster
;> 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

Re: [NTG-context] xtable

2012-06-22 Thread 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 use MetaPost

Re: [NTG-context] xtable

2012-06-22 Thread Wolfgang Schuster
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

[NTG-context] xtable

2012-06-21 Thread Meer, H. van der
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

<    1   2   3   4   5   6   7   >