Hi Wolfgang,
\definetabulate[bilingual][|pA{normal,verytolerant,stretch}|pA{normal,verytolerant,stretch}|]
One more on this actually: how can I influence the white space between
the columns? I tried to set distance, but that didn't do anything.
Setting p(4cm) or so, made the parag
\vtop{#1}\hfil\vtop{#2}} but obviously
that doesn't break, so went for more ConTeXt style, but couldn't see a
good mechanism.
You can use the tabulate environment to create parallel paragraphs.
\setuppapersize[A5]
\definetabulate[bilingual][|pA{normal,verytolerant,stretch}|pA{norm
e nice, from an aesthetic
point of view, to have start & stop 'paired' commands in the source.
Presumably some sort of deep ConTeXt fu is going on - can anyone explain it
please?
\definetabulate[MyExample][|r|c|l|p|]
\def\MyExampleItem#1#2#3{\NC #1 \NC \rightarrow \NC #2 \N
liar with ConTeXt.
>> So, in one file I can define all styles (which the end-user would not need
>> to see):
>> \definetabulate[recipe][|l|l|p|l|]
>> \setuptabulate
>> [recipe]
>> [
>> bodyfont=small,
>> distance=medium,
>&
s argument for an easy specification of, well, a
title for a "recipe". The advantage is that all information is held together
and it's easy to use for people who are not (too) familiar with ConTeXt.
So, in one file I can define all styles (which the end-user would not need to
see)
ot;recipe". The advantage is that all
information is held together and it's easy to use for people who are not (too)
familiar with ConTeXt.
So, in one file I can define all styles (which the end-user would not need to
see):
\definetabulate[recipe][|l|l|p|l|]
\setu
dy.
Would anyone have any suggestions on how to accomplish this?
You can put everything in a framedtext to keep it together.
\setupbodyfont[9pt]
\setupindenting[yes,medium,next]
\setupwhitespace[small]
\definetabulate[subjectpar][|f{\ssc}w(.3\textwidth)|f{\ssc}p|]
\setuptabulate
[subjectpar][after={\
On Tue, May 13, 2014 at 5:28 AM, Devendra Ghate
wrote:
> I expect follow MWE to produce a centered table. But it does not.
> Am I making any obvious mistake.
>
> ---
> \definetabulate[centeredTable][|r|l|]
> \setuptabulate
>[centeredTable]
>[alig
I expect follow MWE to produce a centered table. But it does not.
Am I making any obvious mistake.
---
\definetabulate[centeredTable][|r|l|]
\setuptabulate
[centeredTable]
[align={middle}]
\starttext
\startcenteredTable
\HL
\NC I want this table \NC aligned in the
tolerance not working \NC \input knuth \NC\NR
>> \NC align/tolerance working \NC \input knuth \NC\NR
>> \stoptabulate
>>
>> When you want a different default alignment you have to create your own
>> tabulation environment with the \definetabulate command.
hanging,hz,stretch}|]
> \NC align/tolerance not working \NC \input knuth \NC\NR
> \NC align/tolerance working \NC \input knuth \NC\NR
> \stoptabulate
>
> When you want a different default alignment you have to create your own
> tabulation environment with the \definetabulate co
ment you have to create your own
tabulation environment with the \definetabulate command.
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http:/
ay put similar codes which are different only in the number
>> of columns and column settings when I need a table.
>> But I have many similar tables whose number of columns are different only.
>> If such a method is possible, I'd like to put such a code in
>> \startbuf
ll it to generate tables of various number of
columns given at each time.
I also don't know whether it is possible to convey a number from ConTeXt to the
variable in Lua code.
I write this email because I saw a hope in recent discussion "Re: Fwd: Need help
with \definetabulate"
15 October 2012 17:03:42
>> To: ntg-context@ntg.nl
>> Subject: Re: [NTG-context] Need help with \definetabulate
>>
>> Marco,
>>
>>> \definetabulate [alpha] [|l|l|l|]
>>> \setuptabulate [alpha] [bodyfont=small]
>>
>> This does not work f
r it is possible to convey a number from ConTeXt to the
variable in Lua code.
I write this email because I saw a hope in recent discussion "Re: Fwd: Need
help with \definetabulate" which has a method to vary the column setting.
\definetabulate
[whatever]
[|l|r|]
\definetabulate
[whatever]
: use
\setuptabulate[alpha][format={}]
before every \startalpha call.
It's not very contexty syntax, but on the other hand it requires no
new definitions at all.
Full example below.
Cheers,
Sietse
\definetabulate[alpha][|l|] % dummy format
\setuptabulate[alpha][style=bold]
\setuptabulate[alpha][form
>> \setuptabulate[alpha][format={}]
>>
>> before every \startalpha call.
>> It's not very contexty syntax, but on the other hand it requires no
>> new definitions at all.
>>
>> Full example below.
>> Cheers,
>> Sietse
>>
>> \definetabul
ax, but on the other hand it requires no
new definitions at all.
Full example below.
Cheers,
Sietse
\definetabulate[alpha][|l|] % dummy format
\setuptabulate[alpha][style=bold]
\setuptabulate[alpha][format={|r|r|r|}]
\startalpha
\NC r \NC r \NC r \NC \NR
\NC test \NC test \NC test \NC \NR
res no
new definitions at all.
Full example below.
Cheers,
Sietse
\definetabulate[alpha][|l|] % dummy format
\setuptabulate[alpha][style=bold]
\setuptabulate[alpha][format={|r|r|r|}]
\startalpha
\NC r \NC r \NC r \NC \NR
\NC test \NC test \NC test \NC \NR
\stopalpha
\setuptabulate[alpha][format={|c|c|}]
\
Am 16.10.2012 um 11:21 schrieb Malte Stien :
> Any pointers anyone? I need to get this working and am running out of ideas.
\def\startalpha
{\dosingleempty\dostartalpha}
\def\dostartalpha[#1]#2\stopalpha
{\iffirstargument
\starttabulate [#1]#2\stoptabulate
\else
\starttabulat
Any pointers anyone? I need to get this working and am running out of ideas.
Thank you,
Malte.
Begin forwarded message:
> From: Malte Stien
> Date: 15 October 2012 17:03:42
> To: ntg-context@ntg.nl
> Subject: Re: [NTG-context] Need help with \definetabulate
>
> Marco,
>
Marco,
> \definetabulate [alpha] [|l|l|l|]
> \setuptabulate [alpha] [bodyfont=small]
This does not work for me quite the way I need it to. I am really just after
defining the font-size, but I would like to leave the column setup to the user
(I am building an environment and that I woul
2012-10-08 Malte Stien:
Hi Malte
> I am trying to define two tabulate styles as follows:
>
> - \setuptabulate[split=yes, bodyfont=small]
> - \setuptabulate[split=yes]
\definetabulate [alpha] [|l|l|l|]
\setuptabulate [alpha] [bodyfont=small]
\definetabulate [beta] [|l|l|]
\s
Hi,
I am trying to define two tabulate styles as follows:
- \setuptabulate[split=yes, bodyfont=small]
- \setuptabulate[split=yes]
...such that I can just refer to them when I \starttabulate...\stoptabulate
somewhere. I thought, the command \definetabulate would come in handy here, but
I can
2 in file fico.tex: Illegal
> unit of measure (pt inserted) ...
>
> 202 % paragraph formatted right for the specification itself
> 203 \definetabulate[specstable][|il|p|]
> 204 \setuptabulate[bodyfont=8pt]
> 205
> 206
> 207
> 208 % -- COVERS, g
ecification itself
203 \definetabulate[specstable][|il|p|]
204 \setuptabulate[bodyfont=8pt]
205
206
207
208 % -- COVERS, generic settings -
209
210
211 \definelayer[etukansi]
212 >> [x=0mm,y=0mm,width=\paperwidth,height=\paperheight]
213
21
ge that the behavior is different before and after a \content?
No because i had been wrong and \\ isn’t a valid command to end the line
in tabulate, it’s used to write tabulate in a different form, e.g. look
at \startlegend in the manual or at the following example:
\starttext
\definetabulate[
cular kind of "tabulate"? I'd like to have a
special \definetabulate which would contain "header=repeat" specification as well as a special
"tabulehead" (my code affects all following \tabulates).
How to rewrite it better?
TIA.
Best regards,
Lukas
--
Ing
}
>
> \MyLine{20}{Me.}{Another longer line that will be broken into
> two lines in the output.}
>
> \MyLine{25}{Fa.}{And the last line.}
> \stopbuffer
> \starttext
>
> \def\MyLine#1#2#3%
> {\setbox\scratchbox\vbox{\hsize=6cm #3}\hbox{\vbox to \ht\scratchbox{\hbox
scratchbox\vbox{\hsize=6cm #3}\hbox{\vbox to \ht\scratchbox{\hbox to
1cm{\bf #2}\vfill}\vbox{\hsize=6cm #3\par}\vbox to \ht\scratchbox{\vfill\hbox
to 1cm{\hfill #1
\getbuffer
\definetabulate[ELine][|Blw(0.65cm)|p(5.8cm)|rw(0.8cm)|]
\def\MyLine#1#2#3%
{\startELine
\NC #2 \N
Hello,
I'm trying to get a thicker [transparent] row separator in a table. I have the
following code:
---
\definetabulate[TabA][|c|]
\def\XROW{\vrule height 2.5ex depth 1.ex}
\starttext
\startTabA
A \NR % Next Row
B \NR
C \SR % Separate Row
D \MR % Mid Row
he columns is the length of the page. How do I prevent the two
> columns from starting a new page? Right now there is a large
> whitespace on the preceding page. (This problem has been raised
> before, but I have not yet found the answer.)
>
> Any suggestions will be gratefully
e][settings]
\definesection[name]
\definesectionblock[name][settings]
\definesorting[singular][plural][command]
\definestartstop[name][commands]
\definesubfield[name][name][names]
\definesymbol[name][text]
\definesynonyms[singular][plural][command][command]
\definetabletemplate[n
ox to \hsize\bgroup\hss\vbox
\bgroup\starttable}
\def\stopMyMidAlignedTable{\stoptable\egroup\hss\egroup}
ere is actually a \definetabulate (see end of core-mis)
Hans
-
Hans Hagen | PRAGM
several pages, on a grid), and then the one in the
middle and then the one on the right.
Is there an easy way to do this using column(set)s?
maybe tabulations are more convenient:
\starttext
\definetabulate[ThreeOfThem][|p|p|p|]
\startThreeOfThem
\NC \input ward \NC \input zapf \NC \input bryson \NC
On Fri, 7 May 2004, Hans Hagen wrote:
> \definetabulate[test][|l|p|l|]
Thank you, Hans!
Here you see, how I use it:
\define[3]\FLine{\NC#1\NC#2\NC#3\NC\AR}% First line
\define[2]\Line{\NC\NC#1\NC#2\NC\AR} % normal line
\define[3]\SLine{\Line{\hbox{\hbox to 0pt{\hskip-3em #1}#2}}
\starttext
\definetabulate[test][|l|p|l|]
\starttest
\NC test \NC test \NC test \NC \NR
\NC tst \NC tst \NC tst \NC \NR
\stoptest
\stoptext
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
38 matches
Mail list logo