)
context(x*x*x)
end
-- fonction tabf
-- which makes a table , compute 6 values, b=first x, c = step
userdata=userdata or {}
function userdata.tabf(b,c)
context.starttable{*{7}{|l}|}
local b=b
local c=c
context(\\HL)
context(\\VL x ) for i=1,6 do context(\\NC .. b+(i-1)*c) end
!
\NC \language[en] \input knuth
\NC\NR
\HL % %
\NC \placeprogresscounter
\NC \language[deo] N?chster Abschnitt!
\NC \language[en] \input ward
\NC\NR
\stoptabulate
\stoptext
Thank you. Why not simply a table without any workaround?
\starttabulate[|p|p
coded name because that triggers the most visible error
message when
the font is not found.
A font like this can for instance be used with the glyph placement
macros as is
demonstrated below. In the last line we see that a direct \UTF\ input
also works
out well.
\starttabulate[|||]
\HL
\NC
when
the font is not found.
A font like this can for instance be used with the glyph placement macros as
is
demonstrated below. In the last line we see that a direct \UTF\ input also
works
out well.
\starttabulate[|||]
\HL
\NC \type{\getglyphdirect {ZapfDingbats*dingbats
\progresscounter\plusone
\the\progresscounter
\fi
}
\starttext
\starttabulate[|r|p|p|]
\NC \placeprogresscounter
\NC \language[deo] Hallo, Welt!
\NC \language[en] \input knuth
\NC\NR
\HL % %
\NC \placeprogresscounter
\NC \language[deo] Nächster Abschnitt!
\NC
, Jeong Dal hak...@me.com wrote:
Dear all,
I used code which generates the table as following:
\startluacode
local NC, NR, HL, VL = context.NC, context.NR, context.HL, context.VL
context.starttabulate { |c|c|c|c|c|c|c|c|c|c| }
HL()
for i=1, 6, 1 do
for j=1,10 ,1 do
k= i % 3
On 17-10-2012 03:13, Jeong Dal wrote:
Dear all,
I used code which generates the table as following:
\startluacode
local NC, NR, HL, VL = context.NC, context.NR, context.HL, context.VL
context.starttabulate { |c|c|c|c|c|c|c|c|c|c| }
HL()
for i=1, 6, 1 do
for j=1,10 ,1 do
can write a similar function(s) to typeset via 'TABLE'.
Best regards,
Lukas
On Wed, 17 Oct 2012 03:13:39 +0200, Jeong Dal hak...@me.com wrote:
Dear all,
I used code which generates the table as following:
\startluacode
local NC, NR, HL, VL = context.NC, context.NR, context.HL
Dear all,
I used code which generates the table as following:
\startluacode
local NC, NR, HL, VL = context.NC, context.NR, context.HL, context.VL
context.starttabulate { |c|c|c|c|c|c|c|c|c|c| }
HL()
for i=1, 6, 1 do
for j=1,10 ,1 do
k= i % 3
if k==1
Dear all,
I have a number of tables defined like this:
\placetable[here][tab:some-table]{Some Table}
\starttabulate[|w(.30\textwidth)p|w(.70\textwidth)p|]
\HL
\NC {\bf Animal} \NC {\bf Comment} \NC\FR
\HL
\NC Cat\NC Pretty cool \NC\MR
\NC Bear \NC Kind of lazy
2012-10-03 Malte Stien ma...@stien.de:
Hi Malte
\placetable[here][tab:some-table]{Some Table}
\starttabulate[|w(.30\textwidth)p|w(.70\textwidth)p|]
\HL
\NC {\bf Animal} \NC {\bf Comment} \NC\FR
\HL
\NC Cat \NC Pretty cool \NC\MR
\NC Bear \NC Kind of lazy
frames.
I tried \mframed in a few different ways, but not succeed. \HL in
\startalign...\stopalign is not working either.
I think that \framed and \startformula\startalign have strong characters for
each, it is not easy to combine them smoothly.
It is just my guess.
So far, using \mframed for each
.
Is there a way to do that?
maybe \mframed
He’s looking for \HL and \VL commands like the table below has to frame a
complete row in the matrix.
\starttext
\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
%%
\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
Hi,
I uploaded a new beta .. still not ok I guess:
\setuplayout[header=0pt,footer=0pt,height=middle,width=middle]
\setupbodyfont[dejavu,10pt]
\startbuffer
\starttabulate[|||pT|]
\HL
\NC \type{\blacktriangle } \NC \blacktriangle \NC
\meaning\blacktriangle \NC \NR
\NC \type
guess:
\setuplayout[header=0pt,footer=0pt,height=middle,width=middle]
\setupbodyfont[dejavu,10pt]
\startbuffer
\starttabulate[|||pT|]
\HL
\NC \type{\blacktriangle } \NC \blacktriangle \NC
\meaning\blacktriangle \NC \NR
\NC \type{\blacktriangledown } \NC \blacktriangledown \NC
}{\smallblacktriangleleft }{\mathord}{left triangle,
filled}%
\UnicodeMathSymbol{025C3}{\smalltriangleleft}{\mathord}{left triangle,
open}%
Aditya
\setuplayout[header=0pt,footer=0pt,height=middle,width=middle]
\setupbodyfont[dejavu,10pt]
\startbuffer
\starttabulate[|||pT|]
\HL
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
|] % This is OK
\HL
\NC aaa \AR
\HL
\stoptable
\starttable[Test] % A problem (?)
\HL
\NC aaa \AR
\HL
\stoptable
\stoptext
What am I doing wrong?
Another question - is there a better way to define table template?
Like \definetable[TestTab][|c|] (or \setuptable
doesn't work:
\definetabletemplate[Test][|c|]
\starttext
\starttable[|c|] % This is OK
\HL
\NC aaa \AR
\HL
\stoptable
\starttable[Test] % A problem (?)
\HL
\NC aaa \AR
\HL
\stoptable
\stoptext
What am I doing wrong?
It’s a bug, here is a fix
://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|] % This is OK
\HL
\NC aaa \AR
\HL
\stoptable
Hello,
I have a rather large table that I have to typeset. It needs to be rotated
90 to fit and will span several pages.
I have tried:
\setuptables[split=repeat]
\placetable[split,90][table:literature]{A selected survey...}{\start
\starttablehead
\HL
\NC {\bf Reference} \NC {\bf Application} \NC
with footnotes.}
\placelegend
{\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
\startlocalfootnotes
\placetable
:
! Undefined control sequence.
system tex error on line 4 in file tmp.tex: Undefined control sequence ...
1 \setupcolors[state=start]
2 \starttable[|l|l|]
3 \HL
4 \BL[1]\SR
5 \NC Command \NC Meaning \NC\SR
6 \HL
7 \NC \tex{NC} \NC next column \NC\FR
8
Dear gang,
Consider the following:
=
\definefloat[tablecw]
% \setupfloat[tablecw]
\setupcaption[tablecw][prefix=Table]
\starttext
\setupfloats[location=middle]
\placetable
[here]
[tablecw:test]{A Caption.}
{\starttable[|c|c|c|]
\HL
\VL Test \VL Test
Description: Adobe PDF document
\setuppapersize[letter]
\setuplayout[header=0in,footer=0in,topspace=0.75in,backspace=1.25in]
\setuppagenumbering[location=]
\switchtobodyfont[11pt]
\starttext
\startalignment[center]
\placetable[here][]{none}
\starttable[|cw(0.75in)|lw(1.5in)|cw(0.75in)|lw(1.5in)|]
\HL
\placelistoffloatswith 's' at the end. Now it's just\placelistoffloatSo the following now works:\definefloat[tablecw] \setuplabeltext[tablecw=Table]\starttext \setupfloats[location=middle] \placetable [here] [tablecw:test]{A Regular Caption.} {\starttable[|c|c|c|]\HL \VL Test \VL
: Undefined control
sequence ...
1 \setupcolors[state=start]
2 \starttable[|l|l|]
3 \HL
4 \BL[1]\SR
5 \NC Command \NC Meaning \NC\SR
6 \HL
7 \NC \tex{NC} \NC next column \NC\FR
8 \NC \tex{NR} \NC next row\NC\LR
9 \HL
10 \CL[green]\SR
11
: Undefined control
sequence ...
1 \setupcolors[state=start]
2 \starttable[|l|l|]
3 \HL
4 \BL[1]\SR
5 \NC Command \NC Meaning \NC\SR
6 \HL
7 \NC \tex{NC} \NC next column \NC\FR
8 \NC \tex{NR} \NC next row\NC\LR
9 \HL
10
.
system tex error on line 4 in file tmp.tex: Undefined control
sequence ...
1 \setupcolors[state=start]
2 \starttable[|l|l|]
3 \HL
4 \BL[1]\SR
5 \NC Command \NC Meaning \NC\SR
6 \HL
7 \NC \tex{NC}\NC next column \NC\FR
8 \NC \tex{NR}\NC
On 7-11-2011 03:17, Idris Samawi Hamid ادريس سماوي حامد wrote:
Dear gang,
It seems that \starttable has a bug in MkIV:
\starttext
\starttable{|c|c|c|}
[ ]
\HL
\VL Test \VL Test \VL Test \VL\FR
\stoptable
\stoptext
control sequence? This sent me down dead ends as I tried to figure out what
was wrong in the main project…
\HL is only a valid command in the table environment in your example the
command was seen by TeX (when \starttable was looking for the column alignment)
before it was defined.
Wolfgang
Dear gang,
It seems that \starttable has a bug in MkIV:
\starttext
\starttable{|c|c|c|}
\HL
\VL Test \VL Test \VL Test \VL\FR
\stoptable
\stoptext
This is LuaTeX, Version beta-0.71.0-2011071409 (rev 4332)
\write18 enabled.
(placetable.tex
ConTeXt ver: 2011.11.05 01:19 MKIV fmt
I have the following code:
\usemodule[fancybreak]
\definefancybreak[myblank][indentnext=no]
\define[2]\StartWorkTable{
\myblank[2*big]
\starttabulate[|w(.1\textwidth)|p(.9\textwidth)|]
\HL
\NC #1 \NC #2 \NC\NR
\HL
\NC\NC {\bf Gedaan} \NC\NR
}
\define[1
files with a few
statements to get at fonts not included with TeX, e.g.,
\input luaotfload.sty
\font\lll={CHOPS___.TTF} at 48bp
\font\lk={CHOPS___.TTF} at 36bp
\font\hl={CHOPS___.TTF} at 16bp
\font\head={CHOPS___.TTF} at 26bp
\font\lr pplr7t at 12bp
\font\llr pplr7t at 14bp
\font\rm pplr7t at 10bp
\lll={CHOPS___.TTF} at 48bp
\font\lk={CHOPS___.TTF} at 36bp
\font\hl={CHOPS___.TTF} at 16bp
\font\head={CHOPS___.TTF} at 26bp
\font\lr pplr7t at 12bp
\font\llr pplr7t at 14bp
\font\rm pplr7t at 10bp
\font\it pplri7t at 10bp
\font\bf pplb7t at 10bp
Even if you can use a sort of plain
[here]{none}
\starttable[|l|l|]
\HL
\NC first
\NC second
\NC\AR
\HL
\NC a\letterunderscore{}b
\NC 1.6
\NC\AR
\NC \$a\letterunderscore{}b\$
\NC 2.5
\NC\AR
\HL
\stoptable
___
If your question is of interest to others as well
with:
\starttabulate[|l|l]
\HL
\NC first \NC second \AR
\HL
\NC \digits{30e-3}\NC \digits{30e+3} \AR
\HL
\stoptabulate
In the pdf-file now appears only 30e-3.
Thanks,
Yoraxe
___
If your question is of interest to others as well, please
not work in the
tabulate-environment with:
\starttabulate[|l|l]
\HL
\NC first \NC second \AR
\HL
\NC \digits{30e-3}\NC \digits{30e+3} \AR
\HL
\stoptabulate
In the pdf-file now appears only 30e-3.
\starttext
\starttabulate[|l|l|]
\HL
\NC first \NC second \NC\NR
\HL
\NN 30e-3 \NN 30e+3
}$
\stoptext
But now I'm wondering why this module does not work in the
tabulate-environment with:
\starttabulate[|l|l]
\HL
\NC first \NC second \AR
\HL
\NC \digits{30e-3}\NC \digits{30e+3} \AR
\HL
\stoptabulate
In the pdf-file now appears only 30e-3.
\starttext
\starttabulate[|l|l|]
\HL
Hello,
I'm typesetting a centered (middaligned) 1-cell table by Ctx - no problem.
When I rewrite the same code to Lua, the table is always moved to the right;
see or try the attached files.
---
\starttext
% By TeX
\centerline{
\starttable[|c|]
\HL
\VL 5 \VL\AR
\HL
{
\starttable[|c|]
\HL
\VL 5 \VL\AR
\HL
\stoptable
}
% By Lua
\startluacode
context([[\centerline{]])
context.starttable{|c|}
context.HL()
context.VL(5); context.VL(); context.AR()
context.HL()
context.stoptable()
context([[}]])
\stopluacode
\stoptext
---
Why? How to modify the Lua code?
You
2011/5/13 Hans Hagen pra...@wxs.nl:
You also need to modify the tex code (space after {)
\starttext
% By TeX
\centerline{%
\starttable[|c|]
\HL
\VL 5 \VL\AR
\HL
\stoptable
}
my faults, sorry
--
luigi
Hello again,
So I decide to try with tables:
\starttable[|m|m|m|m|m|m|m|m|m|]
\NC \VL I\NC R\NC R^2\NC R^3\NC F\NC FR\NC FR^2\NC FR^3\AR
\HL
\NC I \VL I\NC R\NC R^2\NC R^3\NC F\NC FR\NC FR^2\NC FR^3\NR
\NC R\VL R\NC R^2\NC R^3\NC I\NC FR\NC FR^2\NC FR^3\NC F\NR
\NC R^2\VL R
On May 4, 2011, at 9:35 AM, Alasdair McAndrew amc...@gmail.com wrote:
Hello again,
So I decide to try with tables:
\starttable[|m|m|m|m|m|m|m|m|m|]
\NC \VL I\NC R\NC R^2\NC R^3\NC F\NC FR\NC FR^2\NC FR^3\AR
\HL
\NC I \VL I\NC R\NC R^2\NC R^3\NC F\NC FR\NC FR^2\NC FR^3\NR
\AR
\HL
\NC I \VL I\NC R\NC R^2\NC R^3\NC F\NC FR\NC FR^2\NC FR^3\NR
\NC R\VL R\NC R^2\NC R^3\NC I\NC FR\NC FR^2\NC FR^3\NC F\NR
\NC R^2\VL R^2\NC R^3\NC I\NC R\NC FR^2\NC FR^3\NC F\NC FR\NR
\NC R^3\VL R^3\NC I\NC R\NC R^2\NC FR^3\NC F\NC FR\NC FR^2\NR
\NC F\VL F
-rest.t*::
rest-temp-rest.tex
::
\placetable[here]{none}
\starttable[|l|l|]
\HL
\NC test
\NC table
\NC\AR
\HL
\NC α
\NC b
\NC\AR
\NC c
\NC d
-rest.tex
::
\placetable[here]{none}
\starttable[|l|l|]
\HL
\NC test
\NC table
\NC\AR
\HL
\NC α
\NC b
\NC\AR
\NC c
\NC d
\NC\AR
\HL
\stoptable
{os.execute()}.
Also, what OS you are on?
$ pandoc -f rst -t context -o rest-temp-rest.tex rest-temp-rest.tmp
$ more rest-temp-rest.t*::
rest-temp-rest.tex
::
\placetable[here]{none}
\starttable[|l|l|]
\HL
\NC test
Hello,
why this code doesn't give a centered table?
---
\starttext
\startalignment[middle]
\dontleavehmode
\starttable[|c|c|c|]
\HL
\VL a \VL b \VL c \VL\AR
\HL
\VL a \VL b \VL c \VL\AR
\HL
\stoptable
\stopalignment
\stoptext
---
How to achieve
Am 19.04.2011 um 11:32 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:
Hello,
why this code doesn't give a centered table?
---
\starttext
\startalignment[middle]
\dontleavehmode
\starttable[|c|c|c|]
\HL
\VL a \VL b \VL c \VL\AR
\HL
\VL a \VL b \VL c
Hello,
several questions about tabulate. Let's have:
---
\starttext
\setuptabulate[header=repeat]
\starttabulatehead
\HL
\NC T \NC U \NC\AR % [1] \SR? \NR?...
\HL
\stoptabulatehead
\starttabulate[|c|c|]
\NC a \NC b \NC\NR
\NC A \NC B \NC\NR
\stoptabulate
it into a “\placetable”-float seems to get rid of it:
···8
\setuptabulate[split=yes,header=repeat]
\starttext
\starttabulatehead
\HL
\NC {\bf format char} \NC {\bf meaning} \NC \NR
\HL
\stoptabulatehead
\placetable[here]{none
of it
Hi Philipp,
in deed it does with \placetable[here]. I should have added that I wrapped it
inside \placetable[split] to split the table over several pages. Unfortunately
this messes up the header lines:
\setuptabulate[split=yes,header=repeat]
\starttabulatehead
\HL
\NC {\bf format char
expected that. All I can say is that the
stray spacing vanishes with double-line headers:
··8·
\starttabulatehead
\HL
\NC {\bf format char} \NC {\bf meaning} \NC \NR
\NC {\bf format char} \NC {\bf meaning} \NC \NR
\HL
vanishes with double-line headers:
But then, the second header line vanishes on the second page. Leaving out the
\HL at the end of the header would be another solution:
··8·
\starttabulatehead
\HL
\NC {\bf format char} \NC {\bf
, 0, 1, },
{ 0, 1, 0, },
{ 0, 1, 1, },
{ 1, 0, 0, },
{ 1, 0, 1, },
{ 1, 1, 0, },
{ 1, 1, 1, },
}
--- Lua stuff 1 -
userdata.env = [[
\starttable[%s]
\HL
%s
\HL
\stoptable
]]
local fmt, rep, unpack = string.format
Hello,
is it possible to escape from modes (fonts) defined in \starttabulate[...]? I
mean just for header - to escape the math mode and to switch to normal font
temporarily:
---
\starttext
I get:
\starttabulate[|lT|mc|p|]
\NC Code \NC Symbol\NC Description \NC\NR
\HL
On 12/6/10 1:18 PM, Hans Hagen wrote:
On 5-12-2010 3:16, Peter Van Kranenburg wrote:
Hello all,
What's wrong with this multipage table?
\starttext
\setuptables[split=repeat]
\placetable[split,here][tab:example]{Long Table Example}{\start
\starttablehead
\HL
\VL \bf A \VL \bf B \VL\MR
\HL
this as a
problem but is there a way to cause it to be 300dpi or greater to eliminate
the warning?
\placetable[here,force]{none}
{\starttable[|l|l|l|]
\HL
\VL \bf Player* \VL \bf Position \VL \bf Year Inducted \VL\SR
\HL
\VL Albert Exendine \VL End \VL 1970 \VL\SR
\HL
\VL Joe Guyon \VL Halfback/Tackle \VL
://www.cacert.org (I'm an assurer)
Here is an example:
\starttext
\placetable[here,force]{none}
{\starttable[|l|l|l|]
\HL
\VL \bf Player* \VL \bf Position \VL \bf Year Inducted \VL\SR
\HL
\VL Albert Exendine \VL End \VL 1970 \VL\SR
\HL
\VL Joe Guyon \VL Halfback/Tackle \VL 1971 \VL\SR
\HL
\VL James
On Thu, Dec 23, 2010 at 4:42 PM, Tom t...@tuxedo-press.com wrote:
Here is an example:
\starttext
\placetable[here,force]{none}
{\starttable[|l|l|l|]
\HL
\VL \bf Player* \VL \bf Position \VL \bf Year Inducted \VL\SR
\HL
\VL Albert Exendine \VL End \VL 1970 \VL\SR
\HL
\VL Joe Guyon \VL
at some point, but
didn't take time to think about how to create an arbitrary number of
columns.)
But then I have another question: how can I use \HL and \VL? The
following code doesn't create any line at all:
function draw_table(unicode_start,n_columns)
context.bgroup
On Thu, Dec 23, 2010 at 18:06, Mojca Miklavec
mojca.miklavec.li...@gmail.com wrote:
But then I have another question: how can I use \HL and \VL? The
following code doesn't create any line at all:
I'm sorry. I was compiling the wrong file.
Mojca
On Thu, Dec 23, 2010 at 8:36 PM, Tom t...@tuxedo-press.com wrote:
On Thu, Dec 23, 2010 at 4:42 PM, Tom t...@tuxedo-press.com wrote:
Here is an example:
\starttext
\placetable[here,force]{none}
{\starttable[|l|l|l|]
\HL
\VL \bf Player* \VL \bf Position \VL \bf Year Inducted \VL\SR
\HL
\VL
On Thu, Dec 23, 2010 at 8:36 PM, Tom t...@tuxedo-press.com wrote:
On Thu, Dec 23, 2010 at 4:42 PM, Tom t...@tuxedo-press.com wrote:
Here is an example:
\starttext
\placetable[here,force]{none}
{\starttable[|l|l|l|]
\HL
\VL \bf Player* \VL \bf Position \VL \bf Year Inducted \VL\SR
\HL
\AR}
\starttable[|cp(2em)|rp(2em)|rp(2em)|]
\HL
\VL 1 \NC 2 \NC 3 \VL\AR
\mymacro123
\HL
\stoptable
Mojca
PS: \startTEXpage ... \stopTEXpage around the code behaves as if table
was infinitely small. Is that OK?
table.pdf
Description: Adobe PDF document
On 5-12-2010 3:16, Peter Van Kranenburg wrote:
Hello all,
What's wrong with this multipage table?
\starttext
\setuptables[split=repeat]
\placetable[split,here][tab:example]{Long Table Example}{\start
\starttablehead
\HL
\VL \bf A \VL \bf B \VL\MR
\HL
\stoptablehead
\starttabletail
\HL
Hello all,
What's wrong with this multipage table?
\starttext
\setuptables[split=repeat]
\placetable[split,here][tab:example]{Long Table Example}{\start
\starttablehead
\HL
\VL \bf A \VL \bf B \VL\MR
\HL
\stoptablehead
\starttabletail
\HL
\stoptabletail
\starttables[|l|l|]
\dorecurse{100}{\VL
with:
\steltabellenin[korps=10pt,splitsen=herhaal]
\plaatstabel[splitsen,hier][tab:custodeshymnes]{Caption.}{\start
\starttabelkop
\HL
\VL \bf Hymne \VL \bf Verset \VL \bf Type A \VL \bf Type B \VL \bf Type
C \VL \bf Type D \VL\MR
\HL
\stoptabelkop
\starttabelstaart
\HL
\stoptabelstaart
\starttabellen[|l|l|l|l|l|l
\HL
\VL Donald \VL $\star$ \VL \VL\SR \HL
\VL Pluto \VL \VL $\star$ \VL\SR \HL
\stoptable
\stoptext
! Undefined control sequence.
\next -\setTABLEerror
\TABLEspanoverflow \handleTABLEerror
\normalTABLEmultirule #1-\use {#1
Behavior of Italian Firms}},
url = {http://books.google.com/books?hl=en\amp;lr=\amp;id=2NYtQ3DVY3cC\amp;oi=fnd\amp;pg=PA110\amp;dq=The+Pricing+Behavior+of+Italian+Firms:+New+Survey+Evidence+on+Price+Stickiness\amp;ots=L-0XAawg3h\amp;sig=CbdHk4CnJ9RQIFwiu5XwYUYtxzQ},
year = {2007}
}
@conference
Hi,
I uploaded a new beta. The most important issues are the following:
(1) Table
I fixed a few things and there is limit color support
\VL[10]rule ten times wider than normal
\VL[red] red rule
\VL[red,10]both
The same applies to \HL and \DL, but with \DL the first argument
\VL[10]rule ten times wider than normal
\VL[red] red rule
\VL[red,10]both
The same applies to \HL and \DL, but with \DL the first argument hs the
number of spans, so we can have: \DL[2,red,10].
(2) Buffers and typing
This whole bunch has been cleaned up and pretty
Dear Hans,
In MKIV I miss the probably recently dropped command
\use{number-of-column} from \starttable ... \stoptable environment. In
MKII it still works perfectly fine.
Here's an example from Wiki for testing:
\starttable[s(0pt)|ls(10pt)|rs(0pt)|]
\HL
\NC \use{2}\ReFormat[cB]{Spanning head
runs in mkii and mkiv, but the optional argument for
\HL is only valid for mkii. For mkiv it is not taken
into account.
\starttext
\starttable[|c|c|c|c|c|c|c|c|c|c|]\HL
\VL 1 \VL 2 \VL 3 \VL 4 \VL 5 \VL 6 \VL 7 \VL 8 \VL 9 \VL 10 \VL\AR\HL[5]
\stoptable
\stoptext
Herbert
what is wrong with the \em? With \bf or {\em ...} it is fine
! Misplaced \omit.
recently read \omit
\normalTABLEquote -\unskip \!ttRightGlue \omit
\tablepos
l.5 \NC \em Spalte 1 \NC
\em Spalte 2 \NC \FR \HL % didn't
works with mkii, but not with mkiv
example is from the documentation:
\starttext
\starttable[|l|c|c|]
\DC\DL[2] \DR
\NC\VL Mickey \VL Goofy \VL\SR \HL
\VL Donald \VL $\star$ \VL \VL\SR \HL
\VL Pluto \VL \VL $\star$ \VL\SR \HL
\stoptable
\em Spalte 2 \NC \FR \HL % didn't work
?
\starttext
\starttable[|l|r|]\HL
\NC \bf Spalte 1 \NC \bf Spalte 2 \NC \FR \HL% works
%\NC \em Spalte 1 \NC \em Spalte 2 \NC \FR \HL % didn't work
\NC $alfa$ \NC $beta$ \NC \MR
\NC Links\NC Rechts \NC \LR \HL
Am 24.11.2010 18:27, schrieb Hans Hagen:
On 24-11-2010 12:20, Herbert Voss wrote:
what is wrong with the \em? With \bf or {\em ...} it is fine
\starttext
\starttable[|l|r|]\HL
\NC \bf Spalte 1 \NC \bf Spalte 2 \NC \FR \HL% works
%\NC \em Spalte 1 \NC \em Spalte 2 \NC \FR \HL % didn't
\VL\SR \HL\NL[30pt]
?
\starttext
\starttable[|l|c|c|]
\NC\VL Mickey \VL Goofy \VL\SR \HL
\VL Donald \VL $\star$ \VL \VL\SR \HL\NL[30pt]
\VL Pluto \VL \VL $\star$ \VL\SR \HL
\stoptable
\stoptext
Herbert
{#1}\simpleTableNL }
l.5 ...\VL $\star$ \VL \VL\SR \HL\NL[30pt]
?
\starttext
\starttable[|l|c|c|]
\NC\VL Mickey \VL Goofy \VL\SR \HL
\VL Donald \VL $\star$ \VL \VL\SR \HL\NL[30pt]
\VL Pluto \VL \VL $\star$ \VL\SR \HL
\stoptable
\stoptext
ok, thanks for testing
I get funny horizontal lines in this example
\starttext
\starttabulate[|p|p|] \HL
\NC {\starttabulate[|c|c|] \HL
\NC c\NC c\NC\NR\HL
\NC c\NC c\NC\NR
\stoptabulate} \NC Text \NC\NR\HL
\NC C\NC C\NC\NR \HL
\stoptabulate
\stoptext
minimal, mkii
\starttabulate[|p(0.35\textwidth)|p(0.125\textwidth)|p|]\HL
\NC foo \NC bar \NC baz \NC\NR
\stoptabulate
\stoptext
Herbert
___
If your question is of interest to others as well, please add an entry to the
Wiki
\stoptabulate
% \starttabulate[||p||]
% \CC[green] test \CC[red] test \CC[blue] test \NC \NR
% \NC \setlocalhsize \the\localhsize test \NC test \NC test \NC \NR
% \HL
% \NC test \CC[green] \input tufte \CC[yellow] test \NC \NR
% \RC rc \NC test \NC test \NC \NR
% \NC \EQ[blue] test \NC test \NC \NR
\starttext
\startcolumns
\setuptabulate[header=repeat]
\starttabulatehead
\HL
\NC\em SPALTE 1 \NC\em SPALTE 2\NC\NR\HL
\stoptabulatehead
\starttabulate[|c|c|]
\dorecurse{100}{\NC Die erste Spalte \NC Und die zweite\NC\NR}
\stoptabulate
\stopcolumns
\stoptext
is it possible to get identical
\SR \HL
\NC cell 11 \NC cell 12 \NC \FR
\NC cell 11 \NC cell 12 \NC \LR
\stoptable
\stoptext
Both \BL and \CL work with MkII but in MkIV \BL gives a black rule
(rather than gray), which \CL gives an error. Hans, any ideas?
For a simple table, you can also use
\startTABLE
\NC \NC ... \NC \NR
\bf Colheader 1 \NC \bf Colheader 2 \NC \SR \HL
\NC cell 11 \NC cell 12 \NC \FR
\NC cell 11 \NC cell 12 \NC \LR
\stoptable
\stoptext
Both \BL and \CL work with MkII but in MkIV \BL gives a black rule
(rather than gray), which \CL gives an error. Hans, any ideas?
For a simple table, you can also
Hi there,
I have s simple table like this:
\starttext
\starttable[|l|l|]
\NC \bf Colheader 1 \NC \bf Colheader 2 \NC \SR \HL
\NC cell 11 \NC cell 12 \NC \FR
\NC cell 11 \NC cell 12 \NC \LR
\stoptable
\stoptext
and like to have a light gray background for the heading row.
I found
Am 11.11.2010 um 19:44 schrieb Manfred Lotz:
Hi there,
I have s simple table like this:
\starttext
\starttable[|l|l|]
\NC \bf Colheader 1 \NC \bf Colheader 2 \NC \SR \HL
\NC cell 11 \NC cell 12 \NC \FR
\NC cell 11 \NC cell 12 \NC \LR
\stoptable
\stoptext
and like
\HL
\NC cell 11 \NC cell 12 \NC \FR
\NC cell 11 \NC cell 12 \NC \LR
\stoptable
\stoptext
and like to have a light gray background for the heading row.
I found documentation about \setupTABLE which on the one hand I did
not fully understand how to use and on the other
This is mainly for completeness:
On Thu, 11 Nov 2010, Manfred Lotz wrote:
and like to have a light gray background for the heading row.
\starttext
\starttable[|l|l|]
\BL[2] \SR
% or
% \CL[gray] \SR
\NC \bf Colheader 1 \NC \bf Colheader 2 \NC \SR \HL
\NC cell 11 \NC cell 12 \NC \FR
\NC
201 - 300 of 537 matches
Mail list logo