C
\endPriority
Description of the requirement.
\chapter{Summary of requirements}
% Here I would 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
All -
I am creating simple tables like this
\starttable[|l|l|l|l|]
\HL
\VL \bf Time Frame \VL \bf SAN A \VL \bf SAN B \VL \bf SAN C \VL \AR \HL
\VL 10pm to 6am - Backup \VL 1500 MB/s \VL 1500 MB/s \VL 1500 MB/s \VL
\AR \HL
\VL 6am to 10pm – NBU Vaulting \VL \rightarrow \VL \rightarrow \VL
On Mon, 5 Feb 2007, The Wizard wrote:
All -
I am creating simple tables like this
\starttable[|l|l|l|l|]
\HL
\VL \bf Time Frame \VL \bf SAN A \VL \bf SAN B \VL \bf SAN C \VL \AR \HL
\VL 10pm to 6am - Backup \VL 1500 MB/s \VL 1500 MB/s \VL 1500 MB/s \VL
\AR \HL
\VL 6am to 10pm – NBU
Aditya Mahajan wrote:
On Mon, 5 Feb 2007, The Wizard wrote:
All -
I am creating simple tables like this
\starttable[|l|l|l|l|]
\HL
\VL \bf Time Frame \VL \bf SAN A \VL \bf SAN B \VL \bf SAN C \VL \AR \HL
\VL 10pm to 6am - Backup \VL 1500 MB/s \VL 1500 MB/s \VL 1500 MB/s \VL
\AR \HL
Hi,
now I have a new conTeXt, but tables remain tricky.
A slight variation of the wiki example with horizontal lines gives
unwanted vertical space:
\starttext
\placetable[here][tab:sample]{sample table}{\start
\starttablehead
\HL
\VL command \VL meaning \VL\SR
\HL
\stoptablehead
)|p(0.75\textwidth)|]
\NC Text1 \NC Text1a \NC\FR
\NC \tex{HL} \NC horizontal line \NC\MR
\NC \tex{VL} \NC vertical line \NC\MR
\NC \tex{NR} \NC next row \NC\LR
\HL
\NC \tex{SR} \NC single row \NC\FR
\NC \tex{FR} \NC first row \NC\MR
\NC \tex{MR} \NC middle row \NC\MR
\NC \tex{LR} \NC last row \NC\LR
expert, but I think table is better here).
%\SetTableToWidth\hsize
\starttable[|l|r|l|r|]
\dorecurse{10}{%
\VL foo \NC 123 \VL[2] b \NC 12345 \VL\AR}
\stoptable
For more details about table see
http://wiki.contextgarden.net/Table
HTH, Peter
Thank you for your interest.
Regards, Johan
choise here (I'm no table expert, but I think table is better here).
%\SetTableToWidth\hsize
\starttable[|l|r|l|r|]
\HL
\dorecurse{10}{%
\VL foo \NC 123 \VL[2] b \NC 12345 \VL\AR}
\HL
\stoptable
For more details about table see
http://wiki.contextgarden.net/Table
HTH, Peter
I
--
\|10 as a relacement for \VL gives me thicker vert. lines in that
position only. How can I define a thicker vert. Line for the
whole column? My attempts in \starttable[..\|10..] doesn't work.
--
Is there an other way of changing linethickness
as a relacement for \VL gives me thicker vert. lines in that
position only. How can I define a thicker vert. Line for the whole
column? My attempts in \starttable[..\|10..] doesn't work.
--
Why is there so little space between the two rows of the table
below?
\starttable
Hallo!
I have studied the table examples at contextgarden and have some
questions.
--
\|10 as a relacement for \VL gives me thicker vert. lines in that
position only. How can I define a thicker vert. Line for the whole
column? My attempts in \starttable[..\|10..] doesn't
here?
\starttable[ o1 | C{red} |]
\VL red \VL\SR
\stoptable
red too!
Should'nt \arg{bla} be \type{{bla}}?
\stoptext
Wolfgang
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
} |]
\{C{red}
Salve, Peter
\VL red \VL\SR
\stoptable
red too!
Should'nt \arg{bla} be \type{{bla}}?
\stoptext
Wolfgang
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
\setuptables[split=yes]
\newtoks\TestToks
\TestToks\emptytoks
\appendtoks\starttablehead\to\TestToks
\dorecurse{3}{\appendtoks\VL head \VL head \VL \SR\to\TestToks}
\appendtoks\stoptablehead\to\TestToks
\appendtoks\starttabletail\to\TestToks
\dorecurse{3}{\appendtoks\VL tail \VL tail
\page
\setuptables[split=yes]
\newtoks\TestToks
\TestToks\emptytoks
\appendtoks\starttablehead\to\TestToks
\dorecurse{3}{\appendtoks\VL head \VL head \VL \SR\to\TestToks}
\appendtoks\stoptablehead\to\TestToks
\appendtoks\starttabletail\to\TestToks
\dorecurse{3}{\appendtoks\VL tail \VL tail \VL \SR
Hello,
how can I create lines with different widths using the \DL command as I
do with \HL[factor] oder \VL[factor]? With \DL the factor is
interpreted as a number of columns, not as a multiple of the default
linewidth. So how to make thick lines in that case?
Thanks and regards,
Robert
:
1. How can create lines with different widths using the \DL command as
I do with \HL[factor] oder \VL[factor]? This would, in my
example, allow to align the dummyx text in the first table with the
numbers x in the second table.
2. How can I create a carriage return in the text of a table
with different widths using the \DL command as
I do with \HL[factor] oder \VL[factor]? This would, in my
example, allow to align the dummyx text in the first table with the
numbers x in the second table.
2. How can I create a carriage return in the text of a table cell?
Neither \crlf nor \\ do work
]
\setupcaption[table]
[location=top]
\starttext
\section{Testing}
This is a silly table test.
\placetable[page][tbl:sample]
{Sample table caption goes here}
{\start
\switchtobodyfont[small]
\starttablehead
\HL
\VL command \NC meaning \NC $\lambda$ (deg.) \VL\SR
\HL
so.
Why don't you use some sort of table?
The answer is simple: because I like the tabulation construct.
If you need rules, you must use some kind of table. It's no big change:
\setuptables[rulethickness=1pt]
\starttable[|c|c|]
\NC abc \VL xyz \NC\AR
\NC def \VL uvw \NC\AR
and rule at all, but
texshow states so.
Why don't you use some sort of table?
The answer is simple: because I like the tabulation construct.
If you need rules, you must use some kind of table. It's no big change:
\setuptables[rulethickness=1pt]
\starttable[|c|c|]
\NC abc \VL xyz \NC\AR
\NC
After Hans vdM's question I'm trying to enhance the table
documentation in the wiki.
I found the following a bit strange:
\starttable[|l|l|]
\HL
\NC Command \VL Meaning \SR % or \NC\AR
\HL
\NC \tex{NC}\VL next column \AR
\NC \tex{HL}\VL horizontal line \AR
\NC \tex{VL
Radhelorn wrote:
Hello all!
I've tried to fit wide table (with paragraphs and vertical lines) into
page width. Following example don't work as expected:
\SetTableToWidth{\textwidth}
\starttable[|p|p|]
\HL
\VL foo foo foo foo foo foo \VL bar bar bar bar bar bar \VL\AR
\HL
\stoptable
Text
Hans Hagen wrote:
Radhelorn wrote:
\SetTableToWidth{\textwidth}
\starttable[|p(.45\textwidth)|p(.45\textwidth)|]
\HL
\VL foo foo foo foo foo foo \VL bar bar bar bar bar bar \VL\AR
\HL
\stoptable
Thanks. Now it works like expected.
BTW, how to fit text into a small box if I don't care
[chapter][2]
\setuphead[section][number=no]
\starttext
\startuseMPgraphic{david}
draw unitsquare scaled 2cm withpen pencircle scaled 5mm withcolor red;
\stopuseMPgraphic
\startbuffer[table]
\starttable[|c|c|]
\HL
\VL This \VL is \VL\FR
\VL a\VL table \VL\LR
\HL
\stoptable
this
will work in the project-product-component structure?
% output=pdf
\environment bookenv
\setuphead[section]
[prefix=+]
\starttext
\startuseMPgraphic{david}
draw unitsquare scaled 2cm withpen pencircle scaled 5mm withcolor red;
\stopuseMPgraphic
\startbuffer[table]
\starttable[|c|c|]
\HL
\VL
pencircle scaled 5mm withcolor red;
\stopuseMPgraphic
\startbuffer[table]
\starttable[|c|c|]
\HL
\VL This \VL is \VL\FR
\VL a\VL table \VL\LR
\HL
\stoptable
\stopbuffer
\startbuffer[figure]
\startcombination[2*1]
{\useMPgraphic{david}}{First caption}
{\useMPgraphic{david}}{Second
Hello all!
I've tried to fit wide table (with paragraphs and vertical lines) into
page width. Following example don't work as expected:
\SetTableToWidth{\textwidth}
\starttable[|p|p|]
\HL
\VL foo foo foo foo foo foo \VL bar bar bar bar bar bar \VL\AR
\HL
\stoptable
Text in columns formatted
All -
Just downloaded and installed 2005.11.16, and now a document
which built fine under the 2005.10.27 version breaks. The code
which fails is a simple table
\starttext
\placetable[here]{none}
\starttable[|l|l|l|p(7.0cm)|]
\HL
\VL \bf Revision \VL \bf Date \VL \bf Author \VL \bf
The Wizard wrote:
All -
Just downloaded and installed 2005.11.16, and now a document
which built fine under the 2005.10.27 version breaks. The code
which fails is a simple table
\starttext
\placetable[here]{none}
\starttable[|l|l|l|p(7.0cm)|]
\HL
\VL \bf Revision \VL \bf Date \VL \bf
; for the moment use
\setnormalcatcodes
\startsetups heading
\starttable[|w(.8\textwidth)l|w(.15\textwidth)l|]
\HL
\VL \VL page \pagenumber\ of \totalnumberofpages \VL\FR
\VL \VL \VL \LR
\HL
\stoptable
\stopsetups
\starttext
\setupheadertexts[\setnormalcatcodes\setups{heading}]
.
\stoptext
Hans
in 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
\VL \VL
[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
\VL
\VL
\VL
\VL
\VL
\AR
\HL
\stoptable
\stoptext
I have only just started using ConTeXT, never used TeX or LaTeX before,
so I'm still trying
All -
I have a simple table which looks like this:
\placetable[here]{none}
\starttable[|c w(3.0cm)|c|c w(2.75cm)|c w(7.0cm)|]
\HL
\VL \bf Name \VL \bf Location \VL \bf Date \VL \bf Signature \VL \AR
\HL
\VL
\VL
\VL
\VL
\VL
\AR
\HL
\stoptable
I would like to add a background color
}
\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
\VL
\VL
\VL
\VL
\VL
\AR
\HL
\stoptable
\stoptext
I have only just started using ConTeXT, never used TeX or LaTeX before,
so I'm still trying to understand
):
\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
\VL
\VL
\VL
\VL
\VL
\AR
\HL
\stoptable
\stoptext
I have only just started using
|] \HL \VL \VL Function\VL Name\VL Signature\VL Date\VL\SR\HL} \def\stopAuthors{\stoptable\hss\egroup} def\Author[#1]{% \getgparameters[Author][#1]%
\doifundefined{AuthorRole}{\gdef\AuthorRole{Prepared by:}}% \doifundefined{AuthorFunction}{\gdef\AuthorFunction{-}}% \doifundefined{AuthorName}{\gdef
\AuthorsTitle{\midaligned{\sc{Authors and Approvals}}}
\def\startAuthors{%
\blank[2*big]\AuthorsTitle\\\blank[2*big]%
\hbox to \hsize\bgroup\hss\SetTableToWidth{ 6.5in}%
\starttable[|c|c|c|c|c|]
\HL
\VL \VL Function\VL Name\VL Signature\VL Date\VL\SR\HL
%%% Authors and Approvals
\def\AuthorsTitle{\midaligned{\sc{Authors and Approvals}}}
\def\startAuthors{%
\blank[2*big]\AuthorsTitle\\\blank[2*big]%
\hbox to \hsize\bgroup\hss\SetTableToWidth{6.5in}%
\starttable[|c|c|c|c|c|]
\HL
\VL \VL Function\VL Name\VL Signature\VL Date\VL\SR\HL}
\def\stopAuthors
:``The command \background expects
%% an argument. Because a table is `grouped' it will generate
%% by itself and no extra braces are necessary.``
\background
\starttable[|c|c|c|]
\HL
\VL red\VL green\VL blue\VL \AR
\VL cyan \VL magenta \VL yellow \VL \AR
\HL
\stoptable
\stoptext
,background=color,backgroundcolor=red]
\starttable[|cw(5cm)|cTw(3cm)|]%'|' wird hier nicht gedruckt, dient
als column separator; mit w(...) width festsetzen
\HL%horizontal line
\VL \bf Year \DC \bf Number of ships \VL\SR%new colum bold font
seperate row
\HL
\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[1] \VL\VL\DR
\VL {test} \VL \TWO{} \VL\FR
\HL
\stoptable
\stoptext
i
Hi Hans
= Original Message From Hans Hagen [EMAIL PROTECTED] =
TABLE produces a spurious dot in the following (look closely at the center
of
the dot is a division line between your span
I replaced \VL with \DC and the dot disappears. There is still something wrong
with \DL \DC \DR
Peter Münster wrote:
Do you know, if this is possible with TABLE:
\starttext
\SetTableToWidth{10cm}
\starttable[|c|c|c|]
\HL
\VL xxx \VL xxx \VL x \VL\AR
\HL
\stoptable
\stoptext
Cheers, Peter
Hmm, I change a little your code to better understand it
\starttext
\SetTableToWidth
:
\setupTABLE[x][1][width=0.2\textwidth]
\setupTABLE[x][2][width=0.25\textwidth]
\setupTABLE[x][3][width=0.25\textwidth]
\setupTABLE[x][4][width=0.3\textwidth]
Do you know, if this is possible with TABLE:
\starttext
\SetTableToWidth{10cm}
\starttable[|c|c|c|]
\HL
\VL xxx \VL xxx
of People without health
insurance in US}{\start
\starttablehead
\HL
\VL State \VL 3-year average(2001-2003) \VL 2-year average(2001-2002)
\VL\SR
\stoptablehead
\starttabletail
\HL[4]
\stoptabletail
\starttables[|l w(30mm)|l|l|]
\VL Alabama \VL 13.3 \VL 13.5
|]
\HL
\VL State \VL 3-year average(2001-2003) \VL 2-year
average(2001-2002) \VL\SR
\HL[4]
\VL Alabama \VL 13.3 \VL 13.5
\VL\FR
\DL \DC \DL \DR
The \DL has an explicit \DC in it, so the line should be:
\DL \DL \DR
Steve
interface=en
\starttext
\setupinterlinespace
\setupfloats[location=center]
\placetable
[here][tab:test]{Test.}
\starttable{|c|c|}
\HL
\VL macron ({\=a}) \VL accents ({\=a}) \VL\FR
\HL
\VL do not ({\=a}) \VL work({\=a})\VL\NR
\HL
\VL in ({\=a}) \VL tables ({\=a}) \VL\LR
\HL
\stoptable
[here][tab:test]{Test.}
\starttable{|c|c|}
\HL
\VL macron ({\=a}) \VL accents ({\=a}) \VL\FR
\HL
\VL do not ({\=a}) \VL work({\=a})\VL\NR
\HL
\VL in ({\=a}) \VL tables ({\=a}) \VL\LR
\HL
\stoptable
\stoptext
===
log:
===
systems
is separated by NC or VL or .. ; just consider NC to be a column boundary
mark
Hans
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69
I poured over the documentation last night, and I want to make sure I
reached the right conclusion in thinking that there is no way to put a
different header/footer on the first page in ConTeXt.
I know that you can suppress the header/footer by various means, such as:
Hello,
here the next problem:
\starttext
\starttablehead
\HL
\stoptablehead
\starttables[|l|l|]
\dorecurse{50}{\VL SomeText \VL SomeText \VL \AR}
\stoptables
Problem: top margin on first page is bigger.
\stoptext
Greetings, Peter
--
http://pmrb.free.fr/contact
Hello,
while playing around with starttables, footnotes and paragraphs in
starttables, I found some problems. Here is the first one, I would like to
get a paragraph in 2 columns:
\def\SomeText{\dorecurse{20}{hallo }}
\starttext
\starttables[s1|p(13em)|l|p(13em)|]
\VL \SomeText \VL xxx \VL
Hello,
here a problem with \note and \footnotetext in \starttables. Only one
footnote is possible:
\starttext
\starttables[|p(13em)|p(13em)|]
\VL SomeText \VL SomeText\note[n1] \VL \AR \footnotetext[n1]{1. note}
\dorecurse{50}{\VL SomeText \VL SomeText \VL \AR}
%\VL SomeText \VL SomeText\note[n2
Peter Münster wrote:
while playing around with starttables, footnotes and paragraphs in
starttables, I found some problems. Here is the first one, I would like to
get a paragraph in 2 columns:
\def\SomeText{\dorecurse{20}{hallo }}
\starttext
\starttables[s1|p(13em)|l|p(13em)|]
\VL \SomeText \VL
\starttables[s1|p(13em)|l|p(13em)|]
\VL \SomeText \VL xxx \VL \SomeText \postponefootnotes\footnote{a footnote}
\VL \AR
\VL \SomeText \VL
\TWO{Not ok, since too much distance to the line at the left.}\VL\AR
\VL \SomeText \VL xxx \VL \SomeText \VL \AR
\stoptables
\stoptext
\def
{\tttf#1\VL\mainlanguage[\currentlanguage]\headtext{#1}\VisualizeLastSpace}
\gdef\ShowLabelText#1{\tttf#1\VL\mainlanguage[\currentlanguage]\labeltext{#1}\VisualizeLastSpace}
Another bug in visualisation was no doubt brought on by the switch to low
level english. In s-mod-00:
\VL \ShowLabelText
\labellanguage{\defaultlanguage\currentlanguage}
\def\headlanguage {\defaultlanguage\currentlanguage}
Another bug in visualisation was no doubt brought on by the switch to low
level english. In s-mod-00:
\VL \ShowLabelText \subsection \VL\MR
\VL \ShowLabelText \subsubsection\VL\MR
This table is a bit messed up:
\starttext
\starttable[|r|c|c|]
\HL
\NC \bf State \VL\TWO{\bf Input Symbol} \NC\AR
\DC \DL[2] \DR
\NC \VL 0 \VL 1\NC\AR
\HL
\NC $s_0$ \VL $s_1$ \VL $s_0$\NC\AR
\NC $s_1$ \VL $s_0$ \VL $s_1
\global\advance\RevC by 1 \VL \the\RevC \VL \CHDate \VL \CHModif \VL
XXX%\In[\CHLabels,\relax] % does not work, but not so important for now
\VL \CHAuteur \VL\AR\HL}
And later on, the usage of the macro:
\Changes[Date=1/2/2004,Modif=First version,Auteur=Peter]
\Changes[Date=3/4/2004,Modif=Some
\startChanges{\hbox to \hsize\bgroup\hss\SetTableToWidth{\BigWidth}%
\starttable[s1 | c | c | p(95mm) | p(17mm) | p(37mm) |]
\HL\BL[5]\AR\VL Rév.\VL Date\VL Origine de la mise à jour\VL§ modifié\VL
Auteur\VL\AR\HL}
\def\stopChanges{\stoptable\hss\egroup}\newcount\RevC
\def\Changes#1[#2
Bill, Erik, and Matthew
Thank you very much for the suggestions. I will explore pdftotext and
the Acrobat Save As options. One of the problems for alland perhaps
it is insuperableis the ability of such reading software to present
phrases in foreign languages and mathematical expressions. I
the font encoding in mind
more font independent alternative:
\define\textbar{\blackrule[width=1pt,height=1.5ex,depth=.5ex]}
and it seems to be working. Is this the proper way to do this?
or \definesymbol ...
or use:
\vl \textbrokenbar
i'm not sure if \textbar is/should be in the encoding
An \DL has an explicit DC in it, so you have to leave out the next \DC as in:
\starttext
\starttable[|c|c|c|c|c|c|]
%\starttables[|c|c|c|c|c|c|]
%
\HL
\NC one \NC two \NC three \NC four \NC five \NC six \NC\AR
%
\DL[2]\DC \DC \DC\DR
\VL \TWO{one + two
{\vl\quad}a{\quad\vl}|b{\vl\quad}a{\quad\vl}|]
\NC test \NC test \NC \NR
\NC test \NC test \NC \NR
\stoptabulate
Thanks for the dirty trick. My major professor made fun of my use of
context when he found out that I couldn't easily put a vertical line
in a table. :)
--
--Ed L Cashin
At 20:52 01/10/2003, you wrote:
My second question is how do I make vertical lines in tabulate tables?
without thinking about it I'd say: you can't.
indeed, it's on my to do list (i.e. when i need it); dirty trick (only non
pars):
\starttabulate[|b{\vl\quad}a{\quad\vl}|b{\vl\quad}a{\quad\vl
, but this 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
201 - 267 of 267 matches
Mail list logo