d make a \setupcombination[mycombination] similar to
\defineparagraph[Mypar] to reduce typing.
\definecombination[john][nx=2,ny=1,width=.5\textwidth]
\startcombination[john]
{...}{}
{...}{}
\stopcombination
\tbox is new to me. Is that a ConTeXt macro of TEX \vtop{\hbox}?
The command c
Hi,
As follow up on the combinations tread I made this:
\useMPlibrary[dum]
\starttext
\definecombination[mycombi][alternative=label]
\setuplabel[combination:mycombi][text={Item
},numberconversion=character,stopper=!]
\startcombination[mycombi][2*2]
{\externalfigure[dummy][width=4cm
Hi Hans,
Is the following correct?
(1) [alternative=...] is a new key for \definecombination
(2) \definecombination[mycombiA][alternative=text] means you specify
the combination's contents as item, caption, item, caption, etc.
\startcombination[mycombiA][nx=2,ny=1]
{item}{caption
Am 15.04.2013 um 15:40 schrieb Sietse Brouwer sbbrou...@gmail.com:
Hi Hans,
Is the following correct?
(1) [alternative=...] is a new key for \definecombination
Yes but you can also change the alternative with \startcombination.
(2) \definecombination[mycombiA][alternative=text] means you
.
\definelabel[\v!combination]
and \definecombination is changed to
\appendtoks
\edef\p_pack_combinations_alternative{\combinationparameter\c!alternative}%
\setfalse\c_str_define_commands_label % no helper commands
\ifx\currentcombinationparent\empty
-
\normalexpanded{\definelabel[\v
a unnamed “combination” label,
i.e.
\definelabel[\v!combination]
and \definecombination is changed to
\appendtoks
\edef\p_pack_combinations_alternative{\combinationparameter\c!alternative}%
\setfalse\c_str_define_commands_label % no helper commands
\ifx
How do I create combinations without any vertical space?
The following test file
\definecombination
[overviewpage]
[distance=\zeropoint,
inbetween=,
]
\starttext
\startcombination[overviewpage][2*2]
{\framed{Hello}}{}%
{\framed{Hello}}{}%
{\framed{Hello}}{}%
{\framed
Am 24.11.2011 um 00:29 schrieb Aditya Mahajan:
How do I create combinations without any vertical space?
The following test file
\definecombination
[overviewpage]
[distance=\zeropoint,
inbetween=,
]
\starttext
\startcombination[overviewpage][2*2]
{\framed{Hello
On Thu, 24 Nov 2011, Wolfgang Schuster wrote:
Am 24.11.2011 um 00:29 schrieb Aditya Mahajan:
How do I create combinations without any vertical space?
The following test file
\definecombination
[overviewpage]
[distance=\zeropoint,
inbetween=,
]
\starttext
\startcombination
Hello ConTeXist.
The thing I'm interested.
It is possible to achieve that arose at the bottom of an emptyspace and
was fully utilized the entire page?
Here is an minimal example:
\definecombination
[overviewpage]
[distance=\zeropoint,
inbetween=,
]
\setuplayout[page
[dummy][one]
\useexternalfigure[dummy][two]
\stopexternalfigurecollection
\definemeasure
[sidebyside]
[\the\dimexpr\hsize/2
- \externalfigurecollectionmaxwidth{tables}/2
- \externalfigurecollectionminwidth{tables}/2]
\definecombination[sidebyside]
[distance=\measure
feature i.e. not only for images, we more end up with
something
\definecombination
[whatever]
[width=.8\textwidth,
height=equal,
distance=1em]
\startcombination[whatever][3*2]
{\externalfigure...} {}
{\externalfigure...} {}
{\externalfigure...} {}
...
\startcombination
where equal
a bit
more to it, like distances and so we always end up with a bit more code)
also, this does not really fit into the user interface ... (mixed
keywords and key/values)
as it should be a generic feature i.e. not only for images, we more end
up with something
\definecombination
[whatever
]
\definecombination[both][distance=\measure{textgap}]
\showframe
\starttext
\startuseMPgraphic{firstFig}
numeric u;
u:=1in;
draw (0,0)--(4u,0) withpen pencircle scaled 2pt withcolor red;
\stopuseMPgraphic
\startuseMPgraphic{secondFig
,rightedge=0in,leftedgedistance=0in,rightedgedistance=0in,topspace=0.5in,width=6.5in,height=10in]
\setupcolors[state=start]
\definemeasure[textgap] [\dimexpr 1em\relax]
\definecombination[both][distance=\measure{textgap}]
\showframe
\starttext
\startuseMPgraphic{firstFig
approach so it doesn't
scale?
wikiable:
\definecombination[twoformulas][location=top,align=middle]
\startalignment[middle] \dontleavehmode \startcombination[twoformulas][2*1]
{\getbuffer[1]} {}
{\getbuffer[2]} {}
\stopcombination \stopalignment
\def\StartTwo{\startalignment[middle
Hans,
This is pretty good!
But yes, I know that I can get some separation with:
\definecombination[twoformulas][location=top,align=middle,distance=1cm]
But, as you noted in another post, is there a way to use the full
spread of the page where each of these maths are centered
17 matches
Mail list logo