gt;>>
> >>>>> Here is a minimal example:
> >>>>> ```
> >>>>> \startsetups[table:rotated]
> >>>>> \setupTABLE[frame=off]
> >>>>> \setupTABLE[row][first][bottomframe=on, style=bf, align={center,
}]
\setupTABLE[row][2][align=flushright]
\stopsetups
\starttext
\define\tablerotate{\dontleavehmode\rotate[rotation=-45, location=high]}
\bTABLE[setups=table:rotated]
\bTR \bTD \eTD \bTD \tablerotate{Water buffalo} \eTD \bTD
\tablerotate{Mexican redknee tarantula} \eTD \bTD \tablerotate{European
> > >>
> > >> Here is a minimal example:
> > >> ```
> > >> \startsetups[table:rotated]
> > >>\setupTABLE[frame=off]
> > >>\setupTABLE[row][first][bottomframe=on, style=bf, align={center, low}]
> > >>\se
;>\setupTABLE[frame=off]
> >>\setupTABLE[row][first][bottomframe=on, style=bf, align={center, low}]
> >> \setupTABLE[row][2][align=flushright]
> >> \stopsetups
> >>
> >> \starttext
> >> \define\tablerotate{\dontleavehmode\rotate[rotation=-
]}
\bTABLE[setups=table:rotated]
\bTR \bTD \eTD \bTD \tablerotate{Water buffalo} \eTD \bTD
\tablerotate{Mexican redknee tarantula} \eTD \bTD
\tablerotate{European turtle dove} \eTD \eTR
\bTR \bTD Amount of legs \eTD \bTD \digits{4} \eTD \bTD
\digits{8} \eTD \bTD \digits{2} \eTD \eTR
\eTABLE
[table:rotated]
\setupTABLE[frame=off]
\setupTABLE[row][first][bottomframe=on, style=bf, align={center, low}]
\setupTABLE[row][2][align=flushright]
\stopsetups
\starttext
\define\tablerotate{\dontleavehmode\rotate[rotation=-45, location=high]}
\bTABLE[setups=table:rotated]
\bTR
:
> ```
> \startsetups[table:rotated]
> \setupTABLE[frame=off]
> \setupTABLE[row][first][bottomframe=on, style=bf, align={center, low}]
> \setupTABLE[row][2][align=flushright]
> \stopsetups
>
> \starttext
> \define\tablerotate{\dontleavehmode\rotate[rotation=-45, locatio
}]
\setupTABLE[row][2][align=flushright]
\stopsetups
\starttext
\define\tablerotate{\dontleavehmode\rotate[rotation=-45, location=high]}
\bTABLE[setups=table:rotated]
\bTR \bTD \eTD \bTD \tablerotate{Water buffalo} \eTD \bTD
\tablerotate{Mexican redknee tarantula} \eTD \bTD \tablerotate
three.
Can I influence this anyhow?
Hans explained in today’s online meeting:
The float location "split" cannot be combined with other locations
(here, top, bottom, page). "split" alone is like "here"; for "page", use
\startpostponing
\startplaceta
Am 08.07.24 um 15:48 schrieb vm via ntg-context:
There is a reason that the \recurselevel do not work in this context;
all \recurselevel show up as zero
{\bTABLE
\dorecurse{100}{
\bTR \bTD \recurselevel \eTD \bTD one \eTD \eTR
\bTR \bTD two \eTD \bTD \recurselevel \eTD \eTR
an also use the parameters of
\type{\setupframes}, see page. 123}
{Parameters of \type{\setupsomething}.}
}
{\bTABLE
\dorecurse{100}{
\bTR \bTD One \eTD \bTD two \eTD \eTR
\bTR \bTD One \eTD \bTD two \eTD \eTR
}
\eTABLE}
\stoptext
Thank you, that’s a good idea. (Another m
parameters of
\type{\setupframes}, see page. 123}
{Parameters of \type{\setupsomething}.}
}
{\bTABLE
\dorecurse{100}{
\bTR \bTD One \eTD \bTD two \eTD \eTR
\bTR \bTD One \eTD \bTD two \eTD \eTR
}
\eTABLE}
\stoptext
There is a reason that the \recurselevel do not work in this
t]
{\select{caption}
{Parameters of \type{\setupsomething}. You can also use the parameters of
\type{\setupframes}, see page. 123}
{Parameters of \type{\setupsomething}.}
}
{\bTABLE
\dorecurse{100}{
\bTR \bTD One \eTD \bTD two \eTD \eTR
\bTR
]
\starttext
\samplefile{tufte}
\startplacetable[location={top,split},title=table split test]
\bTABLE%[setups=twoparamstable]
\bTABLEhead
\bTR\bTH One \eTH\bTH Two\eTH\bTH Three \eTH\eTR
\eTABLEhead
\bTABLEbody
\dorecurse{60}{%
\bTR\bTD #1\eTD\bTD \fakewords{1}{10}\eTD\bTD \fakewords{1}{10}\eTD\eTR
etupTABLE [each] [background=color,backgroundcolor=lightgray]
> \stopsetups
>
> \startsetups[table:b]
>\setupTABLE [each]
> [frame=off,width=2cm,height=1.2\lineheight,align=middle]
>\setupTABLE [each] [topframe=on,bottomframe=on]
> \stopsetups
>
> \starttext
>
,lohi}]
\setupTABLE [each] [background=color,backgroundcolor=lightgray]
\stopsetups
\startsetups[table:b]
\setupTABLE [each]
[frame=off,width=2cm,height=1.2\lineheight,align=middle]
\setupTABLE [each] [topframe=on,bottomframe=on]
\stopsetups
\starttext
\bTABLE
\bTR
\bTD A \eTD
\bTD B
, offset=2pt]
\setupTABLE[row][first][topframe=on, bottomframe=on, style=bf]
\setupTABLE[row][last][bottomframe=on]
\setupTABLE[row][even][background=color,backgroundcolor=red]
\setupcolors[state=start]
\starttext
A table:\\
\bTABLE
\bTR \bTD head1 \eTD \bTD head2 \eTD \eTR
\bTR \bTD
\usemodule[visual]
\starttext
\samplefile{tufte}
\startplacetable[location={top,split},title=table split test]
\bTABLE%[setups=twoparamstable]
\bTABLEhead
\bTR\bTH One \eTH\bTH Two\eTH\bTH Three \eTH\eTR
\eTABLEhead
\bTABLEbody
\dorecurse{60}{%
\bTR\bTD #1\eTD\bTD \fakewords{1}{10}\eTD\bTD \fakewords{1
Thanks so much
i also could define poem structure like this:
Using table method:
\protected\def\PoemStart#1\PoemStop
{\bTABLE[setups=tablepoem]#1\eTABLE}
\protected\def\Beyt#1
{\bTR #1 \eTR}
\protected\def\Misra#1
{\bTD #1 \eTD}
\starttext
\PoemStart
\Beyt{\Misra{the first sentence
\StartTableCell#R\StopTableCell#1%
% {\bTD#1\eTD}
\bTABLE
\bTR
\StartTableCell row 1 column 1 \StopTableCell
\StartTableCell row 1 column 2 \StopTableCell
\eTR
\bTR
\StartTableCell row 2 column 1 \StopTableCell
\StartTableCell row 2 column 2 \StopTableCell
\eTR
\eTABLE
\stoptext
seyal.zav...@gmail.com schrieb am 23.05.2024 um 14:13:
Hi all,
i want to use tables for constructing poems structure
this snippet of code works well:
\startsetups tablepoem
\setupTABLE[column][each][width=5cm]
\stopsetups
\starttext
\bTABLE[setups=tablepoem]
\bTR \bTD One one ons ksl \eTD
Hi all,
i want to use tables for constructing poems structure
this snippet of code works well:
\startsetups tablepoem
\setupTABLE[column][each][width=5cm]
\stopsetups
\starttext
\bTABLE[setups=tablepoem]
\bTR \bTD One one ons ksl \eTD \bTD two gfjgfd oski kwo \eTD \eTR
\bTR \bTD One wer s dft
around them so not meant for
e.g. section heads or whatever text; it's for images, framed stuff,
maybe bTABLE etc
Hans
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 80
r][first][style=bold]
\setupTABLE[r][each][
topoffset=1em,bottomoffset=0.5em,
background=sketchylines,
% would be nice if the background wouldn’t start at each column
]
\setupTABLE[c][each][frame=off]
\bTABLE[]
\bTR
\bTD{Stadt}\eTD
\bTD{Land}\eTD
\bTD{Fluss}\eTD
\eTR
\dorecurse
he graphic (OverlayBox is the size
of the cell).
begin example
\startuseMPgraphic{dottedborder}
draw OverlayBox withpen pencircle scaled 2 dashed withdots
withcolor "red";
\stopuseMPgraphic
\defineoverlay[dottedborder][\useMPgraphic{dottedborder}]
\starttext
\bTABLE[
begin example
\startuseMPgraphic{dottedborder}
draw OverlayBox withpen pencircle scaled 2 dashed withdots withcolor
"red";
\stopuseMPgraphic
\defineoverlay[dottedborder][\useMPgraphic{dottedborder}]
\starttext
\bTABLE[frame=off,background=dottedborder]
Thank you!
Since I needed o
er}
draw OverlayBox withpen pencircle scaled 2 dashed withdots withcolor
"red";
\stopuseMPgraphic
\defineoverlay[dottedborder][\useMPgraphic{dottedborder}]
\starttext
\bTABLE[frame=off,background=dottedborder]
\bTR
\bTD Hello Table! \eTD
\eTR
\eTABLE
\stoptext
e
dth]
\stopplacefigure
\samplefile{lorem}
\startplacetable
\bTABLE
\bTR
\bTD one \eTD
\bTD two \eTD
\bTD three \eTD
\eTR
\eTABLE
\stopplacetable
\samplefile{lorem}
\startplacetable
\bTABLE[textwidth=\dimexpr\textwidth+\rightmarginwidth+\rightmargindistance\relax,opt
TABLE[r][2,3,4,5,6,8,9,11,12,14][bottomframe=off]
> \setupTABLE[r][1][bottomframe=on]
> \bTABLE[split=yes]
> \bTR\bTD {\it Lesson}\eTD\bTD {\it
> Time} \\eTD\bTD {\it Date} \eTD\bTD {\it Page} \eTD\eTR
>
]
\bTABLE[split=yes]
\bTR\bTD {\it Lesson} \eTD\bTD {\it
Time} \\eTD\bTD {\it Date} \eTD\bTD {\it Page} \eTD\eTR
\eTABLE
What I've been finding is that previous settings on TABLES appearing
earlier in the docume
=.1\textwidth]
\setupTABLE[c][1,2,3,4,5][align=raggedleft,
frame=off]
%\setupTABLE[r][2,3,4,5,6,8,9,11,12,14][bottomframe=off]
\setupTABLE[r][1][bottomframe=on]
\bTABLE[split=yes
It does not seem to have an effect to the table. The distance between the
rows remains the same
Thanks, Jeroen
Op ma 11 sep 2023 om 09:08 schreef :
> \bTABLE[spaceinbetween=0cm]
>
> ...
>
> \eTABLE
>
>
>
>
>
>
>
> *Von:* Jeroen
> *Gesendet:* Sonntag
]
\starttext
\bTABLE
\bTR
\bTD Cell 1:1 \eTD
\bTD Cell 1:2 \eTD
\bTD Cell 1:3 \eTD
\eTR
\bTR
\bTD Cell 2:1 \eTD
\bTD Cell 2:2 \eTD
\bTD Cell 2:3 \eTD
\eTR
\bTR
\bTD Cell 3:1 \eTD
\bTD Cell 3:2 \eTD
\bTD Cell 3:3 \eTD
\eTR
\eTABLE
\bTABLE[spaceinbetween=0cm]
...
\eTABLE
Von: Jeroen
Gesendet: Sonntag, 10. September 2023 22:05
An: mailing list for ConTeXt users
Betreff: [NTG-context] Reduce space between lines in Natural Tables
Is there an easy way to reduce the line space between rows in a natural table
so the table
is to put the table together piece by piece with
the collecting
mechanism which collect parts of the table until you flush the whole
collection
at the end with the \stopcollecting command.
\starttext
\bTABLE
\startcollecting
\startcollect
\bTABLEbody
\stopcollect
\startcollect
\bTR
\bTD Cell
oning commands, like \bTABLEhead,
\eTABLEhead, bTABLEbody or \eTABLEbody: it seems impossible to
incapsulate them into lua functions. For example, the following is not
compiled:
\starttext
\bTABLE
\ctxlua{context.bTABLEbody()}
\bTR
\bTD Cell 1\eTD
\bTD Cell 2\eTD
\eTR
\ctxlua{context.eTABLEbody()}
\e
Ebody or \eTABLEbody: it seems impossible to
incapsulate them into lua functions. For example, the following is not
compiled:
\starttext
\bTABLE
\ctxlua{context.bTABLEbody()}
\bTR
\bTD Cell 1\eTD
\bTD Cell 2\eTD
\eTR
\ctxlua{context.eTABLEbody()}
\eTABLE
\stoptext
Can anybody suggest a worka
u figura~\in[fig:oli-aigua-diposit]).
26
27 \startplacefigure[reference=fig:oli-aigua-diposit, location=force,
title={Dipòsit omplit amb aigua i oli}]
28 \bTABLE[frame=off,align={middle,lohi},width=fit]
29 \bTR
30 \bTD
31 \starttikzpicture[scale=0.75]
32 % recipient
33
y tex's strong point. So, when Mikael and I were looking at one of
his documents that mixes a lot of math into itemized situations, a
different variant was made (ok, there was another reason but that's a
bit technical).
At that time, I had already adapted itemize to work a bit better
y tex's strong point. So, when Mikael and I were looking at one of
his documents that mixes a lot of math into itemized situations, a
different variant was made (ok, there was another reason but that's a
bit technical).
At that time, I had already adapted itemize to work a bit better
tex: The file ended when
scanning an argument.
200 persones en total \par \startitemize [a, packed] \item 2 de 5 persones
estan a $A$ \item a cada 4 persones de $A$ li corresponen 3 persones de $B$
\item 20\% són de $C$ \item 2/8 són de $D$ \stopitemize \par \head 420
persones en total \par \startite
10$ següent (vegeu la figura~\\in [figura:diagrama-punts-5x10])
representeu la informació donada en cada cas. \\par \\placefigure [force]
[figura:diagrama-punts-5x10] {Diagrama de punts $5 \\times 10$} { \\bTABLE
[frame=off,align={middle,lohi},width=fit, offset=2mm] \\bTR \\bTD
\\starttikzpicture
st row.
\setupTABLE[frame=off]
\setupTABLE[row] [first] [topframe=on,bottomframe=on,style=bold]
\setupTABLE[row][2][topframe=on]
\setupTABLE[row][2][topframe=off,rightframe=on,leftframe=on,framecolor=lightgray]
\setupTABLE[row][3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22][frame=on,
framecolo
[1]{\RtH}{\rotate{#1}}
\starttext
\setupTABLE[offset=3pt]
\setupTABLE[header][background=color,backgroundcolor=yellow,align=bottom]
\bTABLE
\bTABLEhead
\bTR \bTH\RtH{animal}\eTH \bTH\RtH{size}\eTH \bTH\RtH{weight}\eTH
\bTH\RtH{average speed}\eTH \eTR
You can change the vertical alignment in a
dummy]}{}
\rotate[rotation=90]{\externalfigure[dummy]}{}
{\externalfigure[dummy][]}{}
\stopcombination}
}
\flushlayer[test3]
\page
%%% Wolfgang %%%
\centerbox
{\bTABLE[frame=off,offset=7.5mm,align={middle,lohi}]
\bTR
\bTD
\externalfigure[dummy]
\eTD
\bTD
\rotate[rotation=90]{\externalfigure[
gt; > >
> > > \useMPlibrary [dum]
> > >
> > > \starttext
> > >
> > > \definelayer[test3]
> > >
> > > \setlayer[test3][x=2cm,y=15cm]
> > >
> > > {\startcombination[nx=3,ny=1,distance=15mm,after=,location
text
> >
> > \definelayer[test3]
> >
> > \setlayer[test3][x=2cm,y=15cm]
> >
> > {\startcombination[nx=3,ny=1,distance=15mm,after=,location=middle]
> >
> > {\externalfigure[dummy]}{}
> >
> > \rotate[rotation=90]{\externalfigure[dumm
]}{}
{\externalfigure[dummy][]}{}
\stopcombination}
\flushlayer[test3]
\stoptext
\useMPlibrary [dum]
\showframe [text] [text]
\setuplayout [tight]
\starttext
\centerbox
{\bTABLE[frame=off,offset=7.5mm,align={middle,lohi}]
\bTR
\bTD
\externalfigure[dummy
ldn’t find an option to do that.
> Tried \dontleavehmode or \hfill in my \RtH macro to no avail.
> Is it possible?
>
>
> \define[1]{\RtH}{\rotate{#1}}
>
> \starttext
>
> \setupTABLE[offset=3pt]
> \setupTABLE[header][background=color,backgroundcolor=yellow,align=bot
\dontleavehmode or \hfill in my \RtH macro to no avail.
> Is it possible?
>
>
> \define[1]{\RtH}{\rotate{#1}}
>
> \starttext
>
> \setupTABLE[offset=3pt]
> \setupTABLE[header][background=color,backgroundcolor=yellow,align=bottom]
> \bTABLE
> \bTABLEhead
> \bTR \bTH
]
\setupTABLE[header][background=color,backgroundcolor=yellow,align=bottom]
\bTABLE
\bTABLEhead
\bTR \bTH\RtH{animal}\eTH \bTH\RtH{size}\eTH \bTH\RtH{weight}\eTH
\bTH\RtH{average speed}\eTH \eTR
\eTABLEhead
\bTABLEbody
\bTR \bTD sparrow \eTD \bTD small \eTD \bTD light \eTD \bTD high \eTD \eTR
\bTR \bTD dog
rttext
\setupTABLE[c][align=middle]
\setupTABLE[c][odd][width=2em]
\setupTABLE[c][even][width=1mm]
\setupTABLE[r][2][height=1mm]
\setupTABLE[c][1][leftframe=off]
\setupTABLE[c][5][rightframe=off]
\bTABLE
\bTR
\bTD 1 \eTD \bTD \eTD \bTD 2 \eTD \bTD \eTD \bTD 3 \eTD
\eTR
\bTR
\bTD \eTD \bTD \eT
>
There are probably better ways, but this seems to give something like what
you look for:
\starttext
\setupTABLE[c][align=middle]
\setupTABLE[c][odd][width=2em]
\setupTABLE[c][even][width=1mm]
\setupTABLE[r][2][height=1mm]
\setupTABLE[c][1][leftframe=off]
\setupTABLE[c][5][rightframe=off]
\bTA
igure
\stoptext
However, this does not work (the pictures are all in one row).
Do you have some advice?
you can cheat:
\startplacefigure[title=Test]
\bTABLE[frame=off]
\bTR
\bTD[nx=2,align=middle,offset=overlay]
\dontleavehmode\externalfigure[dummy-1][width=4cm,heigh
/td/command(xml:table:tr:td)}\NC\NR
\stopxmlsetups
\startxmlsetups xml:table:tr:td
\NC \xmlflush{#1}
\stopxmlsetups
\starttext
\xmlprocessbuffer{test}{test}{}
\startplacetable
\starttabulate[|p|p|]
\NC a\footnote{3}\NC b\NC\NR
\stoptabulate
\stopplacetable
\startplacetable
\b
ootnote{3}\NC b\NC\NR
\stoptabulate
\stopplacetable
\startplacetable
\bTABLE
\bTR \bTD One\footnote{4} \eTD \bTD two \eTD \eTR
\bTR \bTD One \eTD \bTD two \eTD \eTR
\eTABLE
\stopplacetable
% \startpostponingnotes
\startplacetable
\startxtable
\startxrow
\startxcell a\footnote{5}\stopxcell
\startx
tabase]
\setupdatabase[quotechar={"},separator={,}]
\defineseparatedlist
[PartsTable]
[separator=comma,left=\bTD,right=\eTD,first=\bTR,last=\eTR,before={
\bTABLE[split=repeat,option=stretch]
\bTABLEhead
\bTR
\bTH Ref. No. \eTH \bTH Part No. \eTH \bTH Description \eTH \bTH Remarks
\eTH
not sure
where \layoutcolumnwidth is coming from so I just hard-coded a width for now.
Lastly there are neater ways (using \setuptable) to define the table but it's
just an example...
\define[2]\MyChapter{
\bTABLE[frame=off]
\bTR
\bTD[width=4cm] \structureuserv
from so I just hard-coded a width for now.
Lastly there are neater ways (using \setuptable) to define the table but it's
just an example...
\define[2]\MyChapter{
\bTABLE[frame=off]
\bTR
\bTD[width=4cm] \structureuservariable{author} \eTD
\bTD \structureuservar
ups
>
> \startxmlsetups xml:table:colgroup:colvar
> \setupTABLE[c][\xmlmatch
> {#1}][align=\xmlvalue{colgroupalignvar}{\xmlatt{#1}{style}}{lefttoright}]
> \stopxmlsetups
>
> \startxmlsetups xml:table:colgroup:col
> \setupTABLE[c][\xmlmatch
> {#1}][\xmlvalue{colgroupalign}{\xm
ment
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:table-wrap
\startplacetable
\xmlflush{#1}
\stopplacetable
\stopxmlsetups
\startxmlsetups xml:table
\xmlfilter {#1} {/colgroup/command(xml:table:colgroup)}
\bTABLE
\xmlfilter{#1}{/thead/command(xml:table:thea
lgroup:col
%\xmlvalue{colstyle}{\xmlatt{#1}{style}}{}
\xmlpos {#1}
\stopxmlsetups
\startxmlsetups xml:table
\xmlfilter {#1} {/colgroup/command(xml:table:colgroup)}
\bTABLE
\xmlfilter{#1}{/thead/command(xml:table:thead)}
\xmlfilter{#1}{/tbo
intuitive, that always the brackets are placed. Specially while editing \bTABLE
… \eTABLE and the commands belonging to this table-type it could be good to
have the right arrow key to have the command placed with brackets and with the
down-arrow-key the command being placed without brackets
On 12/21/2022 12:39 PM, Ursula Hermann via ntg-context wrote:
Dear List,
In this tabular I wanted to set \Vert. But when I compile it,
\bTABLE
\bTR
\bTD \Vert r1c1\Vert \eTD
\bTD \bf r1c2 \eTD
\bTD \bf r1c3 \eTD
\bTD \bf r1c4 \eTD
\eTR
\bTR
\bTD r2c1 \eTD
\bTD r2c2 \eTD
\bTD[nr=2
> Am 19.05.2022 um 08:14 schrieb Hans Hagen via ntg-context
> :
>
> On 5/18/2022 8:07 PM, Steffen Wolfrum via ntg-context wrote:
>> Hi,
>> I just found an old mail from 30 May 2008:
>> How do I split not only TABLE but cells? It was not possible then.
>> \s
On 5/18/2022 8:07 PM, Steffen Wolfrum via ntg-context wrote:
Hi,
I just found an old mail from 30 May 2008:
How do I split not only TABLE but cells? It was not possible then.
\starttext
\bTABLE[split=yes,option=stretch]
\bTR
\bTD
\input tufte \input knuth Hello world ...
\eTD
\bTD
\input
Hi,
I just found an old mail from 30 May 2008:
How do I split not only TABLE but cells? It was not possible then.
\starttext
\bTABLE[split=yes,option=stretch]
\bTR
\bTD
\input tufte \input knuth Hello world ...
\eTD
\bTD
\input tufte
\eTD
\bTD
\input knuth
\eTD
\eTR
\bTR
\bTD
Test
\eTD
\bTD
flushright]
\stopsetups
\startsetups headertext
\start
\bTABLE[setups=headertable,option=stretch]
\bTR
\bTD
„ДОЛИНА” Д.О.О. Београд\\
ПЈ за прераду меса\\
ПИБ: СР 100029284\\
МБ: 06434517\\
Текући рачун: 205-157956-65\\
Email: dolin...@gmail.com
\eTD
\bTD
Булевар Краља Александра 334, 11000 Београд\\
etups
\startsetups headertext
\start
\bTABLE[setups=headertable,option=stretch]
\bTR
\bTD
„ДОЛИНА” Д.О.О. Београд\\
ПЈ за прераду меса\\
ПИБ: СР 100029284\\
МБ: 06434517\\
Текући рачун: 205-157956-65\\
Email: dolin...@gmail.com
\eTD
\bTD
Булевар Краља Александра 334, 11000 Београд\\
011\hspace[tnumber
give me a row span at all.
Thanks in advance.
Duncan
--
\startbuffer[demo]
1
2
3
\stopbuffer
\startxmlsetups xml:demo:base
\xmlsetsetup{#1}{*}{xml:demo:*}
\stopxmlsetups
\xmlregisterdocumentsetup{demo}{xml:demo:base}
\startxmlsetups xml:demo:in
>
> \startxmlsetups xml:table-wrap
> \startplacetable
> % \contextversion \par
> \xmlflush{#1}
> \stopplacetable
> \stopxmlsetups
>
> \startxmlsetups xml:table
> \bTABLE
> \xmlflush{#1}
> \eTABLE
> \st
ially with long answers..
That makes a four columns table more cumbersome,
so I believe.
You can use different alignment settings to move the bullet points to
the right side of your lists.
\starttext
\bTABLE[frame=off,width=.4\textwidth,columndistance=.2\textwidth,align={normal,lohi}]
ak the alternative, align, closesymbol, closecommand to get exactly
what you want; the example above will give a somewhat symmetric layout]
More generally, if the text can multi-line, then I think TABLE (with proper
alignment options) might be better-suited:
%%% start example-2
\define\startIte
eader=repeat, option=stretch,
> loffset=.5ex,roffset=.5ex]
>
> \setupTABLE [row] [odd]
> [background=color,backgroundcolor=hs-hellblau,]
>
> \setupTABLE [start] [spaceinbetween=25pt]
>
> \defineseparatedlist
> [preislistecsv]
> [separator={;}, % tab
>befor
,]
\setupTABLE [start] [spaceinbetween=25pt]
\defineseparatedlist
[preislistecsv]
[separator={;}, % tab
before=\bTABLE,after=\eTABLE,
first=\bTR,last=\eTR,
left=\bTD,right=\eTD]
Is it possible to align decimal numbers in cells to the right?
The data differs a lot. Sometimes only the last
}{xml:*}
\stopxmlsetups
\xmlregistersetup{xml:tabletestsetups}
\startxmlsetups xml:table-wrap
\startplacetable
% \contextversion \par
\xmlflush{#1}
\stopplacetable
\stopxmlsetups
\startxmlsetups xml:table
\bTABLE
\xmlflush{#1}
\eTABLE
\stopxmlsetups
\startxmls
ion={local,default}]
\setvariables
[assignments]
[set={\setups[assignments:set]}]
\startsetups assignments:set
\writestatus{variables}{assignments:set is being called..}
\startalignment[middle]
\bTABLE[frame=off]
\setupTABLE[c][1][align=flushleft,style=bold,distance=2cm]
\setu
Willi Egger via ntg-context schrieb am 08.01.2022 um 23:57:
I would suggest not to use \starttable at all.
To me the most suitable table environment for such a table is \bTABLE \eTABLE.
It gives you all kind of control over layout, dimensions, frames on and off etc.
I agree natural tables
is \bTABLE \eTABLE.
It gives you all kind of control over layout, dimensions, frames on and off etc.
\setupTABLE[c][1][leftframe=off,width=40mm]
\setupTABLE[c][2][rightframe=off, width=60mm]
\setupTABLE[c][each][align={lohi,center}]
\bTABLE
\bTR
\bTD {\bf Eons}\eTD \bTD {\bf Eras
I would suggest not to use \starttable at all.
To me the most suitable table environment for such a table is \bTABLE \eTABLE.
It gives you all kind of control over layout, dimensions, frames on and off etc.
\setupTABLE[c][1][leftframe=off,width=40mm]
\setupTABLE[c][2][rightframe=off, width=60mm
then. If it is
> > still possible to solve without the surrounding framed I'm interested
> > to hear how.
>
> You have to put the table in a box to change the vertical position.
>
> \starttext
>
> a\tbox{\bTABLE \bTR \bTD
ition.
\starttext
a\tbox{\bTABLE \bTR \bTD xxx\par yyy \eTD \eTR \eTABLE}b
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
\starttext
Foofoo
Bar\bTABLE[width=2cm,location=top]
\bTR \bTD This is a long sentence \eTD \eTR
\eTABLE
The last foo
\stoptext
___
If your question is of interest to others as well, please add an entry to the
Wiki!
t;
> Any ideas ?
>
> I know that natural tables offer more in this regard, but those seem not to
> be so well suited for parallel texts.
>
> I switched to natural tables a long time ago and that's how I would do it:
>
> \starttext
> \bTABLE[width=8cm, frame=
offer more in this regard, but those seem not to be
so well suited for parallel texts.
I switched to natural tables a long time ago and that's how I would do it:
\starttext
\bTABLE[width=8cm, frame=off]
\setupTABLE[c][1][roffset=0.5em]
\setupTABLE[c][2][loffset=0.5em]
\bTR
\bTD[
the cells at the top aren’t merged.
>
> Any ideas ?
>
> I know that natural tables offer more in this regard, but those seem not to
> be so well suited for parallel texts.
I switched to natural tables a long time ago and that's how I would do it:
\starttext
\bTABLE[widt
ttext
\startsetups [alexandre:1]
\setupTABLE [start] [frame=off]
\setupTABLE [c] [1] [width=.3\textwidth]
\setupTABLE [c] [2] [width=.6\textwidth]
\stopsetups
\startitemize [a] [right=),stopper=]
\bTABLE[setups=alexandre:1]
\bTR \bTD \dontleavehmode\itemtag\quad Something \eTD \bTD Some
Dear all,
I'm trying something out in LMTX, which is to combine itemize with a table.
Application could be to put a question and the answer in the next column.
A minimal example would be:
\starttext
\startitemize [a] [right=),stopper=]
\bTABLE[frame=off]
\setupTABLE[column][1] [
natural tables
I found this code on the wiki
% mode=mkiv
\setuppapersize[A5]
\bTABLE
\setupTABLE[c][each][alignmentcharacter={number->.},aligncharacter=yes,align=middle]
\bTABLEhead
\bTR
\bTH Same-Width Prefix \eTH \bTH Varying-Width Prefix \eTH
\bTH Same-Width Suffix \eTH \bTH Varying-Width Suf
I found this code on the wiki
% mode=mkiv
\setuppapersize[A5]
\bTABLE
\setupTABLE[c][each][alignmentcharacter={number->.},aligncharacter=yes,align=middle]
\bTABLEhead
\bTR
\bTH Same-Width Prefix \eTH \bTH Varying-Width Prefix \eTH
\bTH Same-Width Suffix \eTH \bTH Varying-Width Suffix \eTH
\eTR
\
ecause I have no problem to access values in the
current row.
\usemodule[spreadsheet]
\starttext
\bTABLE
\bTR
\bTD Amount \eTD
\bTD Single \eTD
\bTD Sum \eTD
\eTR
\bTR
\bTD \getspr{2} \eTD
\bTD \getspr{5} \eTD
\bTD \getspr{A[2] * B[
][2][width=3cm, align=middle]
\setupTABLE[c][each][frame=off]
\stopsetups
\switchtobodyfont[10pt]
\starttext
\doifmode{title}{\title{Rooster}}
\startcolumns[n=2]
\bTABLE[split=yes, setups=tablesettings]
\dorecurse{75}{\bTR \bTD 25 \eTD \bTD aug, wo \eTD \bTD Lecture \eTD \eTR
T. Kurt Bond schrieb am 17.07.2021 um 08:38:
I have the following file:
\setupfloat[table][default=nonumber]
\starttext
\section[title={Tables without force}]
Here is a table without a caption, unforced.
\startplacetable[location=none]
\bTABLE
\bTR\bTD r1c1
On 7/17/21 8:38 AM, T. Kurt Bond wrote:
> I have the following file:
>
> \setupfloat[table][default=nonumber]
>
> \starttext
> \startplacetable[title={Table With A Caption},location=force]
> \bTABLE
> \bTR\bTD r2c1 \eTD\bTD r2c2\eTD\eTR
> \e
Hi all,
I have this sample:
\usemodule[database]
\setuppapersize [A6]
\setupTABLE
[split=yes,
header=repeat]
\defineseparatedlist
[test]
[separator={;}, % tab
before=\bTABLE,after=\eTABLE,
first=\bTR,last=\eTR,
left=\bTD,right=\eTD]
\starttext
\processdatabasefile[test
Hi,
Consider the following MWE:
\starttext
\setupTABLE[
rulethickness=5pt,
framecolor=white, %red,
background=color,
backgroundcolor=gray,
frame=off]
\setupTABLE[1][2][foregroundcolor=white, topframe=on]
\setupTABLE[r][2][topframe=on]
\bTABLE[setups=table:color]
\bTR \bTD One
r][1][height=0cm,topframe=off] \setupTABLE[c][1][width=5cm]
> \setupTABLE[c][4,7][width=3cm] \bTABLE ... \eTABLE
> \setupTABLE[r][each][height=1.3cm,topframe=on]
> \setupTABLE[c][each][width=1.7cm]
> \setupTABLE[c][1,4,7][width=1.7cm] %This is to reset from the previous Table
> \setupT
his indeed is the desired
behavior? Thank you very much.
\setupTABLE[r][each][height=0.5cm,frame=on]
\setupTABLE[c][each][width=0.6cm]
\setupTABLE[r][1][height=0cm,topframe=off]
\setupTABLE[c][1][width=5cm] \setupTABLE[c][4,7][width=3cm] \bTABLE
... \eTABLE \setupTABLE[r][each][height=1.3cm,t
very much.
\setupTABLE[r][each][height=0.5cm,frame=on]
\setupTABLE[c][each][width=0.6cm]
\setupTABLE[r][1][height=0cm,topframe=off] \setupTABLE[c][1][width=5cm]
\setupTABLE[c][4,7][width=3cm] \bTABLE ... \eTABLE
\setupTABLE[r][each][height=1.3cm,topframe=on]
\setupTABLE[c][each][width=1.7cm]
\setupTABL
;
signatures into one, however Okular doesn't.
I could, however, isolate the original issue I posted on the ML:
Actually forms still work, but they don't, if embedded into TABLEs.
Here's a MWE:
\setupinteraction[state=start]
\definefield[lineField][line][][][]
\starttex
1 - 100 of 1690 matches
Mail list logo