Tag Info

New answers tagged

1

Sure, but with ConTeXt you could do the same. In fact, the first example is just a sum of my mistakes, before I realized, that a TABLE can be used to accomplish what you want. \def\framedbox#1#2 {\hbox to 2em\bgroup \setupframed[height=10cm,width=3cm,framed=off] \framed[width=2cm,align=left]{#1} \egroup} \setupcolumns[n=2,] \starttext \title{\hfil A test} ...


1

This is not an answer, but an extended comment. The code that you posted works as expected for me; so create a minimal example that shows what is going wrong at your end. Note, the \showframe is only for diagnostic purposes. \startsetups[tableheader] \setupTABLE[column][1][width=.45\textwidth] \setupTABLE[column][2,3][width=.22\textwidth] ...


1

Try replacing relevant lines with: \setupheadertexts[\setups{tableheader}] and \bTABLE[split=no] % allow splitting over page boundaries it should work then. You can also insert images into cells in your header table. My compiler is LuaTeX from TeXLive package.


1

It depends a bit on what you want to achieve. One way is to use \framed[location=lohi]. For example \defineframed [vcentered] [ location=lohi, frame=off, ] \starttext \dontleavehmode \vcentered[foregroundstyle={\switchtobodyfont[palatino,8pt]}]{small} \vcentered[foregroundstyle={\switchtobodyfont[palatino,12pt]}]{normal} ...


1

Brian, \vfill it up hehe, because I don't see a problem. You said the first row must have a variable height, but then you said absolutely nothing about the second row, other than it should, 'take up' the balance, but never more than fifty percent of the height of the page. I don't know, perhaps the ConTeXt crew has better ideas, but until then: \starttext ...



Top 50 recent answers are included