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={\blackrule[
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
On Tue, May 13, 2014 at 5:28 AM, Devendra Ghate
devendra.gh...@gmail.com 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]
[align={middle
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://www.ntg.nl/mailman
/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.
Wolfgang
___
If your
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://www.ntg.nl/mailman/listinfo/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 for me quite the way I need it to. I am really just after
defining the font-size, but I would like to leave
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][else]
[|l|c|r|]
It may
and call 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 which has
Any pointers anyone? I need to get this working and am running out of ideas.
Thank you,
Malte.
Begin forwarded message:
From: Malte Stien ma...@stien.de
Date: 15 October 2012 17:03:42
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] Need help with \definetabulate
Marco
Am 16.10.2012 um 11:21 schrieb Malte Stien ma...@stien.de:
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
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|}]
\startalpha
, 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
\stopalpha
={}]
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][format={|r|r|r|}]
\startalpha
\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
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][else]
[|l|c|r|]
It may be a lazy man's question
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 would like
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|]
\setuptabulate [beta
for the specification 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
214
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, generic settings -
209
210
211 \definelayer
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[test][|l|p
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. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s
{\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 \NC #3 \NC #1 \NR
\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 \NC #3 \NC #1 \NR
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
E \AR
. 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 received.
Use tabulate.
\definetabulate[twocolumns][|p|p
][command]
\definestartstop[name][commands]
\definesubfield[name][name][names]
\definesymbol[name][text]
\definesynonyms[singular][plural][command][command]
\definetabletemplate[name][text][text][text]
\definetabulate[name][name][text]
\definetext[name][position][text][text][text]
# \definetextbackground
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 | PRAGMA ADE
\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
29 matches
Mail list logo