On Thu, Dec 23, 2010 at 4:42 PM, Tom 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
> \H
dth but
>> there is also a space between the columns which makes the table wider than
>> the normal text.
>>
>> Is it know how much spave this is? For another table I now use:
>> \starttable[|w(.10\textwidth)|p(.82\textwidth)|]
>>
>> This looks about rig
odule doesn’t draw a rule for the signature.
> Something like the examples posted for LaTeX on Stack Exchange [3] for
> ConTeXt would be nice.
\startTABLE[frame=off,align=middle]
\NC London, den 28.\,June 2011\NC\NR
\NC[height=1cm] \NC\NR
\
[topframe=on,rulethickness=1.2bp]
\setupTABLE[row][2][topframe=on,rulethickness=0.6bp]
\setupTABLE[row][last] [bottomframe=on, rulethickness=1.2bp]
\setupTABLE[row][first][style=bold]
\stopsetups
\starttext
\startTABLE[setups=booktabs]
\NC Heading 1 \NC Heading 2 \NC Heading 3 \NC
Hi Aditya,
On Thu, 15 Jul 2010 11:37:32 -0600, Aditya Mahajan
wrote:
Have you tried using natural tables. Now you can use them with almost
the same amount of typing as the old table macros.
\startTABLE
\NC text 1 \NC text 2 \NC\NR
\NC text 3 \NC text 4 \NC\NR
\stopTABLE
Question for
efficient too ... can you test this?
\def\startTABLE
{\dosingleempty\dostartTABLE}
\def\dostartTABLE[#1]%
{\bgroup
\bTABLE[#1]%
\let\NC\doTABLENC
\let\NR\doTABLENR
\let\bTR\relax
\let\bTD\relax
\let\bTH\relax
\let\bTN\relax}
\def\stopTABLE
{\eTABLE
\egroup
---
I tried \starttabulate, \starttable, \setupTABLE, and
\definedescription
with \underline{} and \startunderline.
- Tabulate will get error.
- Table do not show underline.
- Natural table displays the underline with only half length as the
text
line's. An
\stoptabulate
}
\stop
\stoptext
Everything works fine except that empty lines that were present in the
file "homework.cpp" do not appear in the listing.
I have tried to replace "\starttabulate ... \stoptabulate" with
"\starttable ... \stoptab
]
\starttablehead
\HL[3]
\NC \REF[c]{Column A} \NC \REF[c]{Column B} \NC\SR
\HL
\stoptablehead
\starttable[|p(11.5pc)|p(11.5pc)|]
\NC \REF[c]{1[4].341||345 [= F21.82||86]} \NC\REF[c]{6.29.3||4} \NC\SR
\NC Text A\note[a]\NC Text B\note[b]\NC\SR
n the
header text, I do not get the error. So I should turn off the typing
environment temporarily to get the header text out. How should I do
that? \stoptyping ... \starttyping do not do it.
Thanks,
Marko
\startproduct test
\setupheadertexts[{\starttable[|w(.8\textwidth) l|w(.15\textwidth)l|]
\HL
\V
Mari Voipio wrote:
> This may almost be a FAQ question, but I just cannot find the answer in the
> wiki
> nor in mailing list archives: How do I adjust row height/vertical spacing in
> natural tables?
>
> In my old tables (\starttable etc.) the trick was
> \noalign{\vski
Thanks.
But, in this LATEX_to_Context migration, I need to convert at hand
several latex commands. For example:
\begin{itemize} to \startitemize
\end{itemize} to \stopitemize
\begin{table}_to_\starttable
and so on.
this is a very hard task.
Perhaps I need to make: perl -ps 's/\
LElongrule
&
\complexTableDL ...handleTABLEerror \fi \fi \next
\fi
l.31 \DL[2] \DC \DC \DL[2]
\DR
End of file on the terminal!
+--
\starttext
\sta
...}:
{\tt \textbraceleft}
Anyway, thanks for the suggestions,
nikolai
P.S.
Here's a small testfile:
\starttext
\starttable[|c|]
\NC \type-{- \NC\AR
\stoptable
\stoptext
D.S.
--
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA
u \VL}%
\AR}
% TODO: *{17}{c|} in format doesn't work
\def\unicodevectortable#1%
{\bgroup
\Expand
\placetable
[]
[]
{Unicode Vector #1}
\starttable[|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|]
\NC\VL[3]
\dorecurse{15}{\ss\ix\uchexnumbers{#1}\uchexnumber{\recurs
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
Wolfgang Schuster wrote:
> Hi,
>
> is it possible to support columnspan in tabulate.
>
> \def\tabulateuse#1%
> {\dorecurse{\numexpr2*#1-1\relax}{\span}}
>
> \setuptabulate[inner=\let\use\tabulateuse\defineTABLEshorthands]
>
> \starttext
>
> \starttable[
t;>
>> \setuptabulate[inner=\let\use\tabulateuse\defineTABLEshorthands]
>>
>> \starttext
>>
>> \starttable[|l|l|l|l|]
>> \NC a \NC b \NC c \NC d \AR
>> \NC 1 \NC \TWO 2 \NC 4 \AR
>> \stoptable
>>
>> \starttabulate[|l|Bl|l|l|]
>> \NC a \NC b \NC
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/Tackl
E[column][first][rightframe=on]
> > \stopsetups
> >
> > \startTABLE[setups=table:frame]
> > \NC $\times$ \NC 1 \NC 2 \NC ... \NC \NR
> >
> > \stopTABLE
>
> and for the lazy people:
>
> \starttext
>
> \startsetups table:multiplication
> \
m guessing something needs to said in
> the \starttable[|c|c|c|c|] last field, but I can't figure out what from
> the documentation. The syntax is a little elusive.
I'm afraid I can't help directly with the Table module you're using,
but you may want to consider us
I'm setting up a table, for which I'd like the first column to have a
background of a middle gray. According to the wiki, something like this
should work:
\starttable[|p(4cm)|p(11.75cm)|]
\HL
\BL[1]\AR
\VL\tfa{\bf A bit of text}\VL A lot of text, which will be broken up into
sev
lumns which makes the table wider than
>>> the normal text.
>>>
>>
>> Is it know how much spave this is? For another table I now use:
>> \starttable[|w(.10\textwidth)|p(.82\textwidth)|]
>>
>> This looks about right, but if there is a better way to do
lowed)" when processed with lmtx:
> >
> > \definetabletemplate[fosa][s0|xp(3.5cm)|lw(0.7cm)|xp(5cm)s2|lw(2.5cm)|]
> > \starttext
> > \starttable[fosa]
> > \NC Cell 1 \NC\Use3[p(8cm)]{A longer cell}\NC\AR
> > \MR
> > \NC Cell 1 \NC Cell 2 \NC Cell 3 \NC Cell
bottom" and I don't always want that
\def\Lines#1{\dorecurse{#1}{\dorecurse{17}{text }}\par}
\def\Table#1{\starttable[|l|]\dorecurse{#1}{\NC bla \NC\AR}\stoptable}
\showframe
\starttext
\completecontent
\section{bla}
\Lines{10}
\Lines3
\section{bla}
\Table9
\section{bla}
\subsection{bla}
\L
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 \
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
ntax requires sometimes a lot of typing for small content
>>> and
>>> takes to many lines of code in the document.
>
> less code and more efficient too ... can you test this?
>
> \def\startTABLE
> {\dosingleempty\dostartTABLE}
>
> \def\dostartTABLE[#1]%
>
;
> \completelistoftables
>
> \placetable[here][example-table]{\LaTeX}
> \starttable[|l|l|]
> \NC longtable \NC LONG TABLE \NC \AR
> \NC booktabs \NC BOOKTABS \NC \AR
> \stoptable
>
&
n't
find it...
Startalign is essentially a table with some predefined defaults. You can
try something like (untested)
\starttable[|rs(0.2em)|cs(0.2em)|l|]
\NC foo \NC = \NC bar \NC \AR
\NC \NC | \NC baz \NC \AR
\stoptable
Aditya
amedtext\expandafter\bgroup\expandafter\aftergroup\expandafter\stopframedtext\expandafter\aftergroup\expandafter\egroup\expandafter\let\expandafter\next
\else
\expandafter\setbox\expandafter\nextbox\expandafter\vbox
\fi}
\futurelet\next\checknextbox\bgroup text\egroup \box\nextbox
\fu
odyfontsize.
>
> \setupTABLE[bodyfont=small] will help u.
I don't know if we're talking about the same problem, but what I hate
about natural tables as well (although I use them all the time) is
very bad spacing: horizontal offset is too narrow and vertical offset
is too bi
solves the issue in case of the "\starttable ... \stoptable"
command. I had to insert the following code in my cont-new.tex file:
\def\stoptable
{\chuckTABLEautorow % before the tail
\insertTABLEtail
\TABLEnoalign{\globalletempty\@@TABLEhead}%
\TABLEnoalign{\globalletempty\@@T
wcommand
\newcommand{\operand}[1]{{\sc #1}}
\newcommand{\ttvalue}[1]{{\sc #1}}
\newcommand{\xttable}[7]{\starttable[|c|c|c|]\HL %
#1 \NC #2 \NC #1 \operand{#3} #2 \SR\HL
\ttvalue{false} \NC \ttvalue{false} \NC \ttvalue{#4} \FR %
\ttvalue{false} \NC \ttvalue{true} \NC \ttvalue{#5} \MR %
\ttvalue{true} \NC
am correct, doesn't one use \DL to draw a line at the bottom of
> a cell, \DC to not draw a line, and \DL to end the row? This means
> one can draw lines just for the cells one wants in any manner.
See this table. The middle rule is too wide for me. It needs left and
right timming.
\setuppagenumbering[state=stop]
\starttext
\setupfloats[location=middle]
\placetable
[here][tab:sciences]{There is a spurious dot in the big box.}
\starttable{|c|c|c|}
\HL
\VL {test} \VL \TWO{} \VL\FR
%\DL \DC\VL\DR
\DL \DC\DR
\VL {test}
ered within its box?
--Joel
Minimum working example:
\starttext
\starttable[|c|c|]
\NC {\bf Eons} \NC {\bf Eras} \NC \AR
\HL
\NC Hadeon Eon \VL \NC \AR
\HL
\NC \VL Eoarchean Era \NC \AR
\DC \DL[1] \DR
\NC \smash{Archaeon Eon} \VL Paleoarchean Era \NC \AR
\DC \DL[1] \DR
\NC \VL Mesoarchean Era \NC \AR
big, force]
\dorecurse{10}
{\startTABLE[setups=subjects]}]
\NC ENG4U \NC English (Grade 12) \NC\NR
\NC[nc=2] \input{lorem.tex} \NC\NR
\stopTABLE}
\stoptext
Aditya
___
If your question is of interest to oth
rs would be
>> consistent (example below).
>>
>> Cheers, Henri
>>
>> ---
>>
>> \starttext
>>
>> \starttabulate[|m|]
>> \NC -4.11\%<0.02\% \NC\NR
>> \stoptabulate
>>
>> %\setupTABLE[???]
>> \star
On Sun, 23 Mar 2008, Aditya Mahajan wrote:
> On Sun, 23 Mar 2008, Morgan Brassel wrote:
>
>>
>>> Does this do what you want?
>>>
>>> %\TracingFormats=1
>>> \starttable[|b{\digits}r|]
>>> \NC 1.@@ \NC \AR
>>> \NC 1.1@ \N
Hello,
I'm trying to typeset some linear algebra exercises for my students; the
exercises will be within a table, and each second element will be a system
of linear equations. This sort of thing:
\starttable[|l|M|l|M|]
\NC (a) \NC %
\startmathalignment[n=7,align={right,middle,right,m
t; error:
>
> ! 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 \N
\setuptable[rulethickness=0.04em] % <=
\starttable[|r|r|r|l|r|r|r|r|r|r|r|r|]
\HL
\NC n \NC \bf temps \NC \bf min:sec \NC \bf genre \NC 1 \NC \NC 2 \NC \NC 3
\NC \NC 4 \NC \SR % <==
\HL
\NC 0\NC 0\NC 0: 0\NC venter1 \NC 1\NC 9 \NC 1 \NC 9 \NC 1 \NC 9
\NC
1
\setuppapersize[A4,landscape][A4]
\def\TagBreite{4cm}
\starttext
\placetable{Stundenplan}
\starttable[|r w(1cm) |p(\TagBreite) c|p(\TagBreite) c|p(\TagBreite)
c|p(\TagBreite) c|p(\TagBreite) c|]
\HL
\VL Std \VL Montag \VL Dienstag \VL Mittwoch \VL Donnerstag \VL Freitag \VL\FR
\HL
% Row Span
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
tfloatcombination[2*1]
> \placefigure{A dutch cow}{\externalfigure[cow]}
> \placetable {Cow data}{\starttable[|l|l|]\NC Age \NC Weight \NC\AR 1 \NC
> 100 \NC\AR\stoptable}
> \stopfloatcombination}
>
> \stoptext
>
> Wolfgang
>
> ___
The best I can get is
\starttext
\useexternalfigure[myfigure][filename][width=1in]
\placetable[here][tab:2figures]{none}
\starttable[|c|c|]
\NC
\placefigure[here]{My Caption 1}{\externalfigure[myfigure]}
\NC
\placefigure[here]{My Caption 1}{\externalfigure[myfigure]}
\NC
\FR
\stoptable
\stoptext
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
only. The numberstopper text follows the number
> and,
> if present, the suffix, and precedes the caption text. It does not
> appear in references.
>
>
> Working example:
>
> \setupcaptions[table][numberstopper={:}]
>
> \starttext
>
> \placetable[here][tab:ship
: 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
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
lfgang Schuster <
schuster.wolfg...@googlemail.com> wrote:
>
> Am 04.05.2011 um 06:45 schrieb Aditya Mahajan:
>
> > \startsetups table:frame
> > \setupTABLE[each][each][frame=off, align=middle]
> > \setupTABLE[row][first][bottomframe=on]
> > \setupTABLE[column][first][rig
On 15-7-2010 7:45, Idris Samawi Hamid ادريس سماوي حامد wrote:
Hi Aditya,
On Thu, 15 Jul 2010 11:37:32 -0600, Aditya Mahajan
wrote:
Have you tried using natural tables. Now you can use them with almost
the same amount of typing as the old table macros.
\startTABLE
\NC text 1 \NC text 2 \NC
I am trying to typeset a simple table with very tight spacing. The first
column of the table is wider than the others with a mysterious amount of
extra space added on the left. You can reproduce this with a simple example:
\starttext
\starttable[|s1l|l|l|l|l|l|l|l|l|]
\HL
\VL4\NC 1\NC 7\VL\AR
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,none]
[taula]
{ }
{
\starttable[|l|xw(4.5cm)p(4.5cm)|l]
\HL
\NC
% Una relació que no és funció 1
\starttikzpicture[scale=0.8]
\draw[very thin,color=gray] (-0.1,-1.1) grid (3.9,3.9);
\draw[->] (-0.2,0) -- (4.2,0) node[right] {$x$};
\draw[->] (0,-1.2) -- (0,4.2) node[above] {$y$};
\path
HL[3]
> \NC \REF[c]{\switchtobodyfont[11pt]Column A} \NC
> \REF[c]{\switchtobodyfont[11pt]Column B} \NC\SR
> \HL
> \stoptablehead
> \starttable[|p(11.5pc)|p(11.5pc)|]
> \NC \REF[c]{1[4].341||345 [= F21.82||86]} \NC\REF[c]{6.29.3||4} \NC\SR
>
olumn A} \NC \REF[c]{Column B} \NC\SR
\HL
\stoptablehead
\starttable[|p(11.5pc)|p(11.5pc)|]
\NC \REF[c]{1[4].341||345 [= F21.82||86]} \NC\REF[c]{6.29.3||4} \NC\SR
\NC Text A\note[a]\NC Text B\note[b]\NC\SR
\NC \input knuth\NC
\fi \finishTABLE
> \egroup \...
> l.148 \stoptables
>
> ---
>
> On the mailing list archives, I already found some code posted by Hans
> Hagen that solves the issue in case of the "\starttable ... \stoptable"
> command. I had to insert the following code in
nks much for any help
>
> this is supported in tabulate (by default), and can be turned on in the
> bTABLE mechanism (\setupTABLE[split=yes]) while (less robust) it's also
> available in \starttable by means of \starttables cum suis.
>
> Hans
__
is gonna be very helpful to all
Contexters).
very undocumented indeed; i made this module for a project long ago but never
came to documenting it;
\starttable
\setuplinetable[n=6,lines=40]
\setuplinetable[c][1] [width=2cm,background=color,backgroundcolor=red]
\setuplinetable[c][4] [width=3cm
Hi,
A while ago Herbert reported problems with color in \starttable and
Aditya suggested to provide \VL in \starttabulate. Also, there's some
experimental coloring code in tabulate.
So, I decided to add better color support to tabulate as well as
vertical lines (for as far as it makes
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
loat[widetable][widetables][table]
\setupfloat[widetable]
[location=inner]
Here is a test case:
=
\definefloat[widetable][widetables][table]
\setupfloat[widetable]
[location=inner]
\starttext
\completelistoftables
\page[yes]
\placewidetable[here,force][tab:foo]{Bar}
{\starttable
[s1
le has 3 columns and if one adds the missing preamble
> > then one gets an error. Some how your new code breaks the calculation
> > for number of columns.
> >
> > -Hamid
>
> He forgot only to put a \NC before the \AR.
>
> The correct code should be
>
> \st
t; text "Archaeon Eon" to be a little lower, so it is centered within its box?
I would also recommend natural tables. But, for tables, you can use
\Lower(dims){} to improve vertical alignment. For example:
\starttext
\starttable[|c|c|]
\NC {\bf Eons} \NC {\bf Eras} \NC \AR
\HL
\NC
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}
> \
Dear list members:
I have this simple table:
\starttext
\placetable[here]{title}{
\setuptables[bodyfont=8pt,rulethickness=0.04em]
\start
\setuplocalinterlinespace[2.2ex]
\starttable[|lp(5cm)|lp(5cm)|cp(2cm)|]
\HL[2]
\NC \bf First Column \NC \bf Second Column \NC \bf Third Column \NC \SR
\HL
\NC
\stoptext
Cheers.
Am 28/12/2017 um 20:44 schrieb Floris van Manen:
What is the (preferred) way to set the height of table rows?
e.g. the online documentation tells me how to set the width, not the height.
or how to set the height of the table?
\starttable[*{4}{|w(7mm)}|][textwidth=max]\HL[5]
\VL[5
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
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
d Summary.
First, standard packages in Ubuntu Bionic including the Packages built
by JonathonF for TeXLive 2018 (*) seem to not yet provide \NI.
(*) The 2019 Packages are broken in the JonathonF repo
Second the non documented \itemtag which should be replaced by \NI
works on my installation
T
mpletecontent
• \em, \bf, \cap,
• \startitemize, \startitem, \starthead,
• \placefigure, \externalfigure,
• \placetable, \starttable,\starttabulate, \setupTABLE, \bTABLE
• \index, \completeindex
• \setuplayout, \setupfootertexts et \setupheadertexts
• \definedescription, \defineenumeration
• \at, \in
text
For very short texts like in your example you can use the short form of
natural tables.
\starttext
\startTABLE
\NC aaa bbb ccc ddd \NC eee fff ggg hhh \NC\NR
\NC iii jjj kkk lll \NC mmm nnn ooo ppp \NC\NR
\stopTABLE
\stoptext
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:
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)
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,
s tutorial.} is
painful.
\input knuth
\section{Second}
But \ConTeXt is amazing.\footnote{Yanrui Li's tutorial too.}
\input knuth
\startlocalfootnotes
\placetable{Complex Table\footnote{An test table.}}
\placelegend{
\starttable[|l|n3.1 |n3.1 |n3.1 |n3.1 |]
\HL
\NC\NC \Use{2
\placetable{Test table\footnote{Test footnote.}}
\placelegend{
\starttable[|l|l|]
\HL
\NC East \NC North \NC \FR
\NC West \NC South \NC \LR
\HL
\stoptable}
{\placelocalfootnotes}
\stoplocalfootnotes
\stoptext
2. And another thing I have mentio
a bug,
though. The key c doesn't seem to work in a \ReFormat
\placetable[here][approx-1-0.11269]{Results for curve 1, radius 0.11269}
{\tfxx
\starttable[|l|l|r|ra.o0|l|ra.o0|l|ra.o0|l|]
\HL
\NC\ReFormat[Bc]{Method}%
\NC\ReFormat[Bc]{Options}%
\NC\ReFormat[Bc]{Iterations}%
\NC\use2\ReFormat[Bc]{E
gt; Try this minimal example (tested on live.contextgarden.net):
>
> \starttext
> \setupcolors[state=start]
> \placetable[here]{none}
> \starttable[|c w(3.0cm)|c|c w(2.75cm)|c w(7.0cm)|]
> \HL
> \CL[green]\AR
> \VL \bf Name \VL \bf Location \VL \bf Date \VL \bf Signature \VL \AR
> \HL
Hello
I get the units always left aligned in my table while the rest gets the
correct alignement. What do I do wrong?
\starttable[|l|r|r|r|r|r|]
\HL
\NC sample \NC length \NC width \NC height \NC dry weight \NC density \FR
\NC \NC \Milli \Meter \NC \Milli \Meter \NC \Milli \Meter \NC \Gram \NC
tables ... \stoptables
command.
Hans changed it to control table splitting completely with split-option
in \setuptables and makes to let the normal \starttable-environment
split when neccessary.
You should look at the wiki how to upgrade your TeX-distribution.
http://wik
Hi,
I get underfull \vbox badness 1 in start/stoptable. Is this a
false alarm, or am I doing something wrong?
\starttext
\starttable[|ls(1em)|l|p(5cm)|c|]
\HL[3]
\BL[4] \SR
\NC \ReFormat[cB] {Forward Channel}
\NC \ReFormat[cB] {Backward Channel
ld like to list all requirements with their priorities in a table
% I tried something like this but it didn't work
\reset[Requirement]
\setupblock[Requirement][before=\HL\VL,after=]
\setupblock[Priority][before=\VL,after=\VL\MR
\starttable[|l|c|]
\useblocks[Requirement,Priority]
\stoptable
\stop
ncronizegrid to fix this.
>>
when spacing is suboptimal boxed stuff (\bTABLE, \starttable, \framed)
should be surrounded by
\startlinecorrection
\stoplinecorrection
(also better in non grid mode)
unless it's a float
for your own macros, use \snaptogrid\vbox{...}
> hmm, some prob
HL
> \NC Head 1 \NC Head 2 \NC\AR
> \HL
> \stoptablehead
>
> \starttabletail
> \HL
> \stoptabletail
>
> \starttable[|||]
> \NC Text \NC Text \NC\AR
> \NC Text \NC Text \NC\AR
> \NC Text \NC Text \NC\AR
> \NC Text \NC Text \NC\AR
> \stoptable
> \stopbuffer
>
&
enumbering[location=]
\setupheadertexts[{\setups[pagehead]}] [] [{\setups[pagehead]}] []
\startsetups[pagehead]
\vbox\bgroup
\starttablehead\stoptablehead
\starttabletail\stoptabletail
\setuptables[rulecolor=blue]%
\SetTableToWidth\makeupwidth
\starttable[|p(40mm)|p(60mm)|p(40mm)|]
% \TA
does not seem to work.
what kind of nesting?
\starttabulate
\NC test \NC \starttable[|||] \HL \VL test \VL test \VL \NR \HL
\stoptable \NC \NR
\stoptabulate
nesting tabulates is not (yet) possible, i played a bit with it but it
will cost me more time to handle it (due to soem global aspects
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 \DC \DL[7] \DR
\NC \NC \VL \ReFormat[cB]{$<1$} \VL \ReFormat[cB]{$1-2$} \VL
\ReFormat[cB]{$3-4$} \VL \ReFormat[cB]{$5-9$} \VL \ReFormat
Just use a group (\start ... \stop, \bgroup ... \egroup or {} ) around
the setup commands and their table, or use \startsetup mytable ...
\stopsetup and \startTABLE[setups=mytable] if you need the same settings
for several tables.
HR
Am 27.01.24 um 22:29 schrieb Joel via ntg-context:
I have
Dear list members:
Last time I sent this message to the wrong thread accidentally. Now I send it
again, hopefully to a new thread.
I have this simple table:
\starttext
\placetable[here]{title}{
\setuptables[bodyfont=8pt,rulethickness=0.04em]
\start
\setuplocalinterlinespace[2.2ex]
\starttable
.
\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
BLE[each][each][frame=off, align=middle]
> > > \setupTABLE[row][first][bottomframe=on]
> > > \setupTABLE[column][first][rightframe=on]
> > > \stopsetups
> > >
> > > \startTABLE[setups=table:frame]
> > > \NC $\times$ \NC 1 \NC 2 \NC ... \NC \NR
> &g
On Sat, 14 May 2011, Alasdair McAndrew wrote:
Hello,
I'm trying to typeset some linear algebra exercises for my students; the
exercises will be within a table, and each second element will be a system
of linear equations. This sort of thing:
\starttable[|l|M|l|M|]
\NC (a
> 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
&
\starttable not just for
\starttabulate.
Fourth this allows me to use \Raise / Lower commands to move \itemtag
to top of my Metapost picture which without would be placed at bottom
of column (**)
(**) I did not manage to get same effect with A{} (alignment) style on
tabulate. I fear i did not get how
To: mailing list for ConTeXt users
>> Subject: [NTG-context] Vertical lines in matrices
>> Message-ID:
>> Content-Type: text/plain; charset="utf-8"
>>
>> Dear List,
>>
>> I am trying to get vertical (separating) lines into matrices, as is pos
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
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
501 - 600 of 685 matches
Mail list logo