Re: [NTG-context] Center horizontally and vertically a table with a graphic in a paragraph environment

2015-01-09 Thread Pablo Rodriguez
[I guess]). \showframe \setuplayout[backspace=2.5cm, width=middle] \startsetups[table:initialize] \setupTABLE[start][align={middle,lohi},width=1.5cm,offset=0.5ex,style=small] \setupTABLE[row][first][background=color,backgroundcolor=lightgray] \stopsetups \usemodule[graph] \definecolor[mycolor][c=.

[NTG-context] Center horizontally and vertically a table with a graphic in a paragraph environment

2015-01-09 Thread Fabrice Couvreur
Hi, Is it possible to center horizontally and vertically the table with the graphics ? Best regards, Fabrice \defineparagraphs[TwoColumns][n=2] \setupparagraphs[TwoColumns][1][width=0.45\textwidth] \startsetups[table:initialize] \setupTABLE[start][align={middle,lohi},width=1.5cm,offset=0.5ex

Re: [NTG-context] Define a new type section with metafun

2014-12-28 Thread Hans Hagen
On 12/28/2014 1:00 PM, Fabrice wrote: align={right}, align={flushright,lohi} - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands

[NTG-context] Parameters of a table that interfere on another table

2014-12-09 Thread Fabrice Couvreur
, ] \definelabel[TableRow][text=,headcolor=red,numberconversion=characters,numberstopper=.] \starttext \starmidaligned \blank[big] \setupTABLE[row][first][align={right}] \setupTABLE[row][first][align={right,lohi}, topframe=off,leftframe=off,rightframe=off] \bTABLE[width=0.25\textwidth,offset=1ex

[NTG-context] Table and framedtext

2014-12-05 Thread Fabrice Couvreur
, background=color, backgroundcolor=mycolor] \leftaligned{\color[red]{PROPRIÉTÉ}} \blank[big] Deux plans ${\cal P}_1$ et ${\cal P}_2$ de l'espace sont soit sécants, soit parallèles. \blank[big] \bTABLE[align={middle,lohi}] \setupTABLE[column][first][width=0.3\textwidth] \setupTABLE[column][two][widt

[NTG-context] Space around a figure in a table

2014-11-28 Thread Fabrice Couvreur
][first][background=color,backgroundcolor=FondTableaux] \setupTABLE[start][align={middle,lohi}] \stopsetups \starttext \blank[big] \startmidaligned \bTABLE[setups=table:initialize] \bTR \bTH $a$ \eTH \bTH $\Delta$ \eTH \bTH Signe de $f(x)$ \eTH \eTR \bTR \bTD 1 \eTD \bTD

Re: [NTG-context] Numbering in a Table

2014-11-08 Thread Fabrice
Hi Wolfgang, I want to number the second line of the first column*a.* then the third line of the first column *b**.* ... Best regards, Fabrice \setupitemize[1][stopper={.},style=\bf,color=red] \starttext \startsetups[table:initialize] \setupTABLE[height=0.8cm,align={middle,lohi

[NTG-context] Numbering in a Table

2014-11-07 Thread Fabrice Couvreur
Hi, Is it possible to use an itemize environment in a table ? Best regards, Fabrice \starttext \startsetups[table:initialize] \setupTABLE[height=0.8cm,align={middle,lohi}] \setupTABLE[row][1][background=color,backgroundcolor=cyan] \setupTABLE[1][1][background=color,backgroundcolor=white

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-07 Thread luigi scarso
On Thu, Nov 6, 2014 at 10:28 PM, Herbert Voss wrote: > Am 06.11.2014 um 21:16 schrieb luigi scarso: > > > > \definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00] > [...] > > > \setupTABLE[column][1][width=4cm,align={right,lohi},frame=on]%,framecolor=H1prime] > &

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread Herbert Voss
Am 06.11.2014 um 21:16 schrieb luigi scarso: > > \definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00] [...] > \setupTABLE[column][1][width=4cm,align={right,lohi},frame=on]%,framecolor=H1prime] > The problem seems to be > %,framecolor=H1prime] I have no problem with &quo

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread Hans Hagen
face] (-top) at (-front.north west) [anchor=south west, xslant=1, yscale=1/3] {}; \node [cube face] (-side) at (-front.south east) [anchor=south west, yslant=1, xscale=1/3] {}; }} } \starttext \startsetups[table:initialize] \setupTABLE[height=2cm,align={middle,lohi}] \setupTABLE[column][1][

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread luigi scarso
artsetups[table:initialize] \setupTABLE[height=2cm,align={middle,lohi}] \setupTABLE[column][1][width=4cm,align={right,lohi},frame=on]%,framecolor=H1prime] \setupTABLE[column][2][width=5cm,align={middle,lohi},frame=off] \setupTABLE[column][3][width=9cm,align={right,lohi},frame=off] \setupTABLE[1][1][

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread luigi scarso
[cube face] (-side) at (-front.south east) [anchor=south west, yslant=1, xscale=1/3] {}; }} } \starttext \startsetups[table:initialize] \setupTABLE[height=2cm,align={middle,lohi}] \setupTABLE[column][1][[width=4cm,align={right,lohi},frame=on,framecolor=H1prime] \setupTABLE[column][2][[width=5cm,align={

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread Fabrice
=1, xscale=1/3] {}; }} } \starttext \startsetups[table:initialize] \setupTABLE[height=2cm,align={middle,lohi}] \setupTABLE[column][1][[width=4cm,align={right,lohi},frame=on,framecolor=H1prime] \setupTABLE[column][2][[width=5cm,align={middle,lohi},frame=off] \setupTABLE[column][3][[width=9cm,al

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread Hans Hagen
] \setupTABLE[height=2.5cm,align={middle,lohi}] \setupTABLE[column][2][[width=3cm,align={right,lohi},frame=off] \setupTABLE[column][3][[width=8cm,align={right,lohi},frame=off] \setupTABLE[1][1][[width=5cm,align={right,lohi},frame=off] \setupTABLE[1][2,3][bottomframe=off] \setupTABLE[1][3,4

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-05 Thread Fabrice
(-front.south east) [anchor=south west, yslant=1, xscale=1/3] {}; }} } \starttext \startsetups[table:initialize] \setupTABLE[height=2.5cm,align={middle,lohi}] \setupTABLE[column][2][[width=3cm,align={right,lohi},frame=off] \setupTABLE[column][3][[width=8cm,align={right,lohi},frame=off

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-05 Thread Hans Hagen
On 11/4/2014 8:28 PM, Fabrice wrote: Hi, The problem is the \setupTABLE [column] [1] [[width = 4cm, align = {right, lohi}, frame = on, FrameColor = H1prime]. We must not put FrameColor = H1prime. indeed, no spaces ... width = 4cm will not set width but "width " and it will set i

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-04 Thread Fabrice
Hi, The problem is the \setupTABLE [column] [1] [[width = 4cm, align = {right, lohi}, frame = on, FrameColor = H1prime]. We must not put FrameColor = H1prime. Fabrice ___ If your question is of interest to others as

[NTG-context] Strange behavior with the command \color[]{}

2014-11-02 Thread Fabrice Couvreur
ry[3d] \usetikzlibrary[arrows.meta] \usetikzlibrary[positioning] %\definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00] %\definecolor[H4][c=0.07, m=0.00, y=0.15, k=0.00] \starttext \startsetups[table:initialize] \setupTABLE[height=2.5cm,align={middle,lohi}] \setupTABLE[column][2][[width=3cm,align={

[NTG-context] Change linewidth of a table

2014-09-17 Thread Fabrice Couvreur
=off,rulethickness=1.2pt,rightframe=on] \setupTABLE[row][9][frame=off,rulethickness=1.2pt,bottomframe=on] \setupTABLE[row][1,4,7][frame=off,rulethickness=1.2pt,topframe=on] \setupTABLE[start][align={middle,lohi}] \stopsetups \starttext \startmidaligned \switchtobodyfont[small] \bTABLE[setups

Re: [NTG-context] Strange behavior in a table.

2014-08-29 Thread Wolfgang Schuster
s a example with a simplified version of your table template: \startsetups[table:initialize] \setupTABLE[height=0.6cm,width=0.1\textwidth] \setupTABLE[column][first][width=0.4\textwidth] \setupTABLE[start][align={middle,lohi}] \stopsetups \showframe[text][text] \starttext \bTABLE[set

[NTG-context] Strange behavior in a table.

2014-08-29 Thread Fabrice Couvreur
=0.14\textwidth] \bTABLE[align={middle,lohi}] \bTR \bTH {Hauteur en dm} \eTH \bTD {0} \eTD \bTD {0,5} \eTD \bTD {1} \eTD \bTD {1,5} \eTD \bTD {2} \eTD \bTD {2,5} \eTD \eTR \bTR \bTH {Volume d'eau en L} \eTH \bTD {} \eTD \bTD {} \eTD \bTD {} \eTD \bT

[NTG-context] first xcell dimension to large in xtable with external figure.

2014-05-06 Thread DesdeChaves
] \startsetups[header:table] \startembeddedxtable[align={middle,lohi},strut=no] \startxrow \startxcell[width=0.20\paperwidth,ny=4] \externalfigure[cow.pdf][height=3cm] \stopxcell \startxcell[width=0.40\paperwidth,ny=4] Document title \stopxcell \startxcellgroup[height=1cm,foregroundstyle=small] \startx

Re: [NTG-context] linebreaks and cell width in xtables

2014-05-05 Thread Hans Hagen
. The spacing can be improved by specifying [align=lohi] for that cell. Many thanks for your reply, Rik. Now I got what I was doing wrong. I get the same result with the other two methods I suggested. Is there a reason that you cannot use one of these methods in row 2 as you do in row 1? Well

Re: [NTG-context] linebreaks and cell width in xtables

2014-05-05 Thread Pablo Rodriguez
can be improved by specifying > [align=lohi] for that cell. Many thanks for your reply, Rik. Now I got what I was doing wrong. > I get the same result with the other two methods I suggested. Is there a > reason that you cannot use one of these methods in row 2 as you do in row 1? Well, t

Re: [NTG-context] linebreaks and cell width in xtables

2014-05-04 Thread Rik Kabel
\stopxtable \stoptext I get which perhaps has some faults in the vertical spacing, but is much better than the original. The spacing can be improved by specifying [align=lohi] for that cell. I get the same result with the other two methods I suggested. Is there a reason that you

Re: [NTG-context] linebreaks and cell width in xtables

2014-05-04 Thread Rik
\stopxtable \stoptext I get which perhaps has some faults in the vertical spacing, but is much better than the original. The spacing can be improved by specifying [align=lohi] for that cell. I get the same result with the other two methods I suggested. Is there a reason that you

Re: [NTG-context] resize and center and clip image

2014-05-01 Thread Wolfgang Schuster
unexpanded\def\lundklippfyllbild#1#2#3{% >> \startexternalfigurecollection[#1]% >> \useexternalfigure[#1][#1]% >> \stopexternalfigurecollection% >> \clip[ >> width=#2, >> height=#3, >> hoffset=0mm, >> voffset=0mm, >> ]{% >> \framed[width=#2,h

Re: [NTG-context] resize and center and clip image

2014-05-01 Thread Mikael P. Sundqvist
>> >> \unexpanded\def\lundklippfyllbild#1#2#3{% >> \startexternalfigurecollection[#1]% >> \useexternalfigure[#1][#1]% >> \stopexternalfigurecollection% >> \clip[ >> width=#2, >> height=#3, >> hoffset=0mm, >> voffset=0mm, >>

Re: [NTG-context] resize and center and clip image

2014-05-01 Thread Aditya Mahajan
height=hojd}) context.sprint("bar") end end \stopluacode \unexpanded\def\lundklippfyllbild#1#2#3{% \startexternalfigurecollection[#1]% \useexternalfigure[#1][#1]% \stopexternalfigurecollection% \clip[ width=#2, height=#3, hoffset=0mm, voffset=0mm, ]{% \framed[width=#2,height=#3,a

Re: [NTG-context] resize and center and clip image

2014-05-01 Thread Otared Kavian
% > \useexternalfigure[#1][#1]% > \stopexternalfigurecollection% > \clip[ > width=#2, > height=#3, > hoffset=0mm, > voffset=0mm, > ]{% > \framed[width=#2,height=#3,align={middle,lohi},offset=overlay,frame=off]{% > \dimen0=\externalfigurecollectionminwidth{#1}% > \dimen2=\ext

Re: [NTG-context] resize and center and clip image

2014-05-01 Thread Mikael P. Sundqvist
igurecollection% \clip[ width=#2, height=#3, hoffset=0mm, voffset=0mm, ]{% \framed[width=#2,height=#3,align={middle,lohi},offset=overlay,frame=off]{% \dimen0=\externalfigurecollectionminwidth{#1}% \dimen2=\externalfigurecollectionmaxheight{#1}% \dimen4=#2% \dimen6=#3% {\ctxlua{userdata.lun

Re: [NTG-context] resize and center and clip image

2014-05-01 Thread Otared Kavian
ip[width=8cm,height=7cm]{% > \framed[width=8cm,height=7cm,align={middle,lohi},offset=overlay]{% > \dimen0=\externalfigurecollectionminwidth{k.jpg} > \dimen2=\externalfigurecollectionmaxheight{k.jpg} > \dimen4=8cm > \dimen6=7cm > \startluacode > if tex.dimen[0] / tex.dimen[2]

Re: [NTG-context] resize and center and clip image

2014-05-01 Thread Mikael P. Sundqvist
,height=7cm,align={middle,lohi},offset=overlay]{% \dimen0=\externalfigurecollectionminwidth{k.jpg} \dimen2=\externalfigurecollectionmaxheight{k.jpg} \dimen4=8cm \dimen6=7cm \startluacode if tex.dimen[0] / tex.dimen[2] < tex.dimen[4] / tex.dimen[6] then local skalning = -0.5*(tex.dime

[NTG-context] The spacing of the float interferes with the spacing of the itemgroup

2014-04-24 Thread Fabrice Couvreur
,lohi}] \bTR\bTD {\math{k}} \eTD \bTD {0} \eTD \bTD {1} \eTD \bTD {2} \eTD \bTD {3} \eTD\eTR \bTR\bTD {\math{P\left(X=k\right)}} \eTD \bTD {} \eTD \bTD {} \eTD \bTD {} \eTD \bTD {} \eTD \eTR \eTABLE } \item \input knuth \item \input knuth \stopitemize \stoptext

[NTG-context] Two figures are side by side

2014-04-16 Thread Fabrice Couvreur
Hi, How do the two figures are side by side ? \setupTABLE[row][1,2][width=1.5cm,align={middle,lohi}] \setupTABLE[c][1][width=3cm,align={middle,lohi}] \starttext \startcombination[2*1] {% \bTABLE[align={middle,lohi}] \bTR\bTD{}\eTD\bTD{$A$}\eTD\bTD{$\overline{A}$}\eTD\bTD{Total}\eTD\eTR \bTR\bTD

[NTG-context] Table next to a text in an environment of type list

2014-03-29 Thread Fabrice Couvreur
][stopper=),style=bold] \item Recopier le tableau ci-contre. \startitemize[n][stopper=),style=bold] \setuphanging[location=right] \starthanging{% \bTABLE[align={middle,lohi}] \bTR\bTD {} \eTD \bTD {\bf Femmes} \eTD \bTD {\bf Hommes} \eTD \bTD {\bf Total} \eTD \eTR \bTR \bTD {\bf Cadres} \eTD \bTD {15

[NTG-context] Lucida fonts with ConTeXt

2014-01-29 Thread Fabrice Couvreur
=0pt, footer=0pt] \setuppagenumbering[location=] \mainlanguage[fr] \loadtypescriptfile[lucida-typeone] \setupbodyfont[lucida,12pt] \setupTABLE[each][each][width=1cm,height=1cm,align={middle,lohi}] \starttext \startluacode context.bTABLE() context.bTR() context.bTD() context.math(&q

[NTG-context] ! Missing = inserted for \ifnum.

2014-01-01 Thread Fabrice
local,global,default}] 9 \setupTABLE[r][1,2][height=1.5cm,width=9cm,align={middle,lohi}] 10 \setupTABLE[r][3][height=6cm,width=9cm,align={middle,lohi}] 11 \starttext . \p_scale .-0. 8 ...ale \empty \plusthousand \else \ifnum \p_scale =\zerocount \plusthousand ... \luaexpr #1

Re: [NTG-context] Table in header, or multicolumn header

2013-12-16 Thread Marco Pallante
table but there is a possibility for problems when you > use xtables > in your document which are split across pages. > > \startsetups[header:table] > > \startembeddedxtable[align={middle,lohi},strut=no] > \startxrow >

Re: [NTG-context] Table in header, or multicolumn header

2013-12-15 Thread Wolfgang Schuster
ched a screenshot of what the header looks like in Writer. You can try to use a table but there is a possibility for problems when you use xtables in your document which are split across pages. \startsetups[header:table] \startembeddedxtable[align={middle,lohi},st

Re: [NTG-context] Drawing chemical structures

2013-11-21 Thread Alan Braslau
,SB1357,Z0357][\TL{\alpha}{C},\SL{OPO\lohi{3}{2-}},H,H] \chemical[MOV1,SB137,Z037][C,\SL{OH},H] \chemical[MOV1,SB137,Z0137][C,H,\SL{OH},H] \stopchemical \definechemical[desoxyribose] {\chemical[FIVEFRONT,BB123,+SB4,-SB5,Z5][O] \chemical[FIVEFRONT,+LSR1234,LRZ1234][OH,H,H,\SR{HOH_2C}] \chemical

Re: [NTG-context] Drawing chemical structures

2013-11-21 Thread Alan Braslau
] > \usemodule[chemic] > \starttext > > > \startchemical[width=fit,scale=small,size=big] > \bottext{α-Glycerophosphate} > \chemical[ONE,SB1357,Z0357][\TL{α}{C},\SL{OPO\lohi{3}{2-}},H,H] > \chemical[MOV1,SB137,Z037][C,\SL{OH},H] > \chemical[MOV1,SB137,Z0137][C,H,\SL{

[NTG-context] Drawing chemical structures

2013-11-21 Thread DesdeChaves
[11pt] \usemodule[chemic] \starttext \startchemical[width=fit,scale=small,size=big] \bottext{α-Glycerophosphate} \chemical[ONE,SB1357,Z0357][\TL{α}{C},\SL{OPO\lohi{3}{2-}},H,H] \chemical[MOV1,SB137,Z037][C,\SL{OH},H] \chemical[MOV1,SB137,Z0137][C,H,\SL{OH},H] \stopchemical \definechemical[desoxyr

Re: [NTG-context] TEXpage problem in lare betas (slightly OT)

2013-11-15 Thread Keith J. Schultz
n mind that you need to > avoid empty lines: > > \startTEXpage[offset=0.5ex,align={lohi,middle}] >\bTABLE[frame=off,loffset=1ex,roffset=1ex,align={middle,lohi}] > \bTR > \bTD A \eTD > \bTD B \eTD > \bTD C \eTD > \eTR >\eTABL

Re: [NTG-context] TEXpage problem in lare betas

2013-11-14 Thread Hans Hagen
On 11/14/2013 10:13 PM, Thomas A. Schmitz wrote: On 11/14/2013 10:08 PM, Hans Hagen wrote: \let\synchronizeinlinedirection\relax OK, new example: \let\synchronizeinlinedirection\relax \startTEXpage[offset=0.5ex,align=] \bTABLE[frame=off,loffset=1ex,roffset=1ex,align={middle,lohi

Re: [NTG-context] TEXpage problem in lare betas

2013-11-14 Thread Wolfgang Schuster
me=off,loffset=1ex,roffset=1ex,align={middle,lohi}] > \bTR > \bTD A \eTD > \bTD B \eTD > \bTD C \eTD > \eTR > \eTABLE > > \blank[line] > > \bTABLE[frame=off,loffset=1ex,roffset=1ex,align={middle,lohi}] > \bTR > \bTD D \eTD > \bTD

Re: [NTG-context] TEXpage problem in lare betas

2013-11-14 Thread Thomas A. Schmitz
On 11/14/2013 10:08 PM, Hans Hagen wrote: \let\synchronizeinlinedirection\relax OK, new example: \let\synchronizeinlinedirection\relax \startTEXpage[offset=0.5ex,align=] \bTABLE[frame=off,loffset=1ex,roffset=1ex,align={middle,lohi}] \bTR \bTD A \eTD \bTD B \eTD \bTD C

Re: [NTG-context] TEXpage problem in lare betas

2013-11-14 Thread Wolfgang Schuster
.06.10 22:51), but >> fails with several betas from November (empty page created, no error); >> unfortunately, it is an older file, and I have no idea when exactly it broke: >> >> \startTEXpage[offset=0.5ex] >> >> \bTABLE[frame=off,loffset=1ex,roffset=1ex,align={m

Re: [NTG-context] TEXpage problem in lare betas

2013-11-14 Thread Wolfgang Schuster
> > It’s a \framed bug, when you change “align=normal” to “align=line” the > > frame os correct. > > OK, can the bug be squished? In the non-minimal example, I need a certain > alignment. \startTEXpage[offset=0.5ex,align=] \bTABLE[frame=on,loffset=1ex,roffset=1ex,align={

Re: [NTG-context] TEXpage problem in lare betas

2013-11-14 Thread Wolfgang Schuster
eated, no error); > unfortunately, it is an older file, and I have no idea when exactly it broke: > > \startTEXpage[offset=0.5ex] > > \bTABLE[frame=off,loffset=1ex,roffset=1ex,align={middle,lohi}] > \bTR > \bTD A \eTD > \bTD B \eTD > \bTD C \eTD > \eTR &g

Re: [NTG-context] TEXpage problem in lare betas

2013-11-14 Thread Hans Hagen
an older file, and I have no idea when exactly it broke: \startTEXpage[offset=0.5ex] \bTABLE[frame=off,loffset=1ex,roffset=1ex,align={middle,lohi}] \bTR \bTD A \eTD \bTD B \eTD \bTD C \eTD \eTR \eTABLE \stopTEXpage All best i'm not sure what interfere

[NTG-context] TEXpage problem in lare betas

2013-11-14 Thread Thomas A. Schmitz
it broke: \startTEXpage[offset=0.5ex] \bTABLE[frame=off,loffset=1ex,roffset=1ex,align={middle,lohi}] \bTR \bTD A \eTD \bTD B \eTD \bTD C \eTD \eTR \eTABLE \stopTEXpage All best Thomas ___ If

[NTG-context] Need help defining command.

2013-10-22 Thread Keith J. Schultz
ess=1pt, framecolor=blue, offset=0pt, frameoffset=0pt, location=lohi] %% % % %% NassiGroupFrame %% %% Frame for putting a frame around a block of %% structures. Since it surrounds a group we use %% fit for Height and Width. %% So that the The frame gets

Re: [NTG-context] \setupTABLE strangeness

2013-10-05 Thread Wolfgang Schuster
Am 04.10.2013 um 13:31 schrieb Procházka Lukáš Ing. - Pontex s. r. o. : > Hello Peter, > > two more ways which work OK (my preferred ways): > > > \section{Alt 1} > > \bTABLE >\setupTABLE[width=3cm, height=3cm, align={middle, lohi}] % Place setup > j

Re: [NTG-context] \setupTABLE strangeness

2013-10-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello Peter, two more ways which work OK (my preferred ways): \section{Alt 1} \bTABLE \setupTABLE[width=3cm, height=3cm, align={middle, lohi}] % Place setup just after \bTABLE... \bTR \bTD bla \eTD \eTR \eTABLE \section{Alt 2} \bTABLE[width=3cm, height=3cm, align={middle

Re: [NTG-context] \setupTABLE strangeness

2013-10-04 Thread Wolfgang Schuster
> \section{Why is the align key not used?} > \setupTABLE[width=3cm, height=3cm, align={middle, lohi}] > \bTABLE > \bTR \bTD bla \eTD \eTR > \eTABLE > > \section{Workaround} > \setupTABLE[each][each][width=3cm, height=3cm, align={middle, lohi}] > \bTABLE > \

[NTG-context] \setupTABLE strangeness

2013-10-04 Thread Peter Münster
=3cm, align={middle, lohi}] \bTABLE \bTR \bTD bla \eTD \eTR \eTABLE \section{Workaround} \setupTABLE[each][each][width=3cm, height=3cm, align={middle, lohi}] \bTABLE \bTR \bTD bla \eTD \eTR \eTABLE \stoptext --8<---cut here---end--->8--- TIA fo

Re: [NTG-context] Alignment table with comma, and long long space after

2013-09-22 Thread Xan
\chardef\characteralignmentmode=2 \chardef\characteralignmentmode\plustwo %%% http://randomdeterminism.wordpress.com/2012/11/18/separation-of-content-and-presentation-for-tables-part-1/ \startsetups table:style \setupTABLE[row][first][background=color, backgroundcolor=tablecolor, color=black, align={mi

Re: [NTG-context] Alignment table with comma, and long long space after

2013-09-22 Thread Wolfgang Schuster
18/separation-of-content-and-presentation-for-tables-part-1/ > \startsetups table:style > \setupTABLE[row][first][background=color, backgroundcolor=tablecolor, > color=black, align={middle,lohi},style=ss] > \setupTABLE[column][1][align={right,lohi}] > > \setupTABLE[colum

Re: [NTG-context] Alignment table with comma, and long long space after

2013-09-22 Thread Xan
table:style \setupTABLE[row][first][background=color, backgroundcolor=tablecolor, color=black, align={middle,lohi},style=ss] \setupTABLE[column][1][align={right,lohi}] \setupTABLE[column][2][align={left,lohi},alignmentcharacter={,},aligncharacter=yes] % \setupTABLE[column][2][width=.20\textwidth

Re: [NTG-context] Alignment table with comma, and long long space after

2013-09-21 Thread Wolfgang Schuster
Am 21.09.2013 um 16:22 schrieb Xan : > Hi, > > I have this > > \startsetups table:style > \setupTABLE[row][first][background=color, backgroundcolor=tablecolor, > color=black, align={middle,lohi},style=ss] > \setupTABLE[column][1][align={right,lohi}] > > \set

[NTG-context] Alignment table with comma, and long long space after

2013-09-21 Thread Xan
Hi, I have this \startsetups table:style \setupTABLE[row][first][background=color, backgroundcolor=tablecolor, color=black, align={middle,lohi},style=ss] \setupTABLE[column][1][align={right,lohi}] \setupTABLE[column][2][align={left,lohi},alignmentcharacter={,},aligncharacter=yes

Re: [NTG-context] Using \setupinterlinespace with \setuparranging[XY], and more

2013-06-26 Thread Pavneet Arora
n, width=4in, height=3.33in, header=0in, footer=0in] \setuparranging[XY] \setupframedtexts [width=\textwidth, height=\textheight, frame=off, location=lohi, offset=0pt] \setupframed [frame=off, width=\t

Re: [NTG-context] Using \setupinterlinespace with \setuparranging[XY], and more

2013-06-25 Thread Pavneet Arora
ng[XY] \setupframedtexts [width=\textwidth, height=\textheight, alignment=center, frame=off, location=lohi, alignment=center, offset=0pt] \setuplayout[location=middle] \definelayer [Label] [width=\paperwidth, h

[NTG-context] Using \setupinterlinespace with \setuparranging[XY], and more

2013-06-21 Thread Pavneet Arora
uplayout [topspace=0in, backspace=0in, margin=0in, width=4in, height=3.33in, header=0in, footer=0in] \setuparranging[XY] \setupframedtexts [width=\textwidth, height=\textheight, alignment=center, frame=off, location=

Re: [NTG-context] placing an xtable

2013-06-18 Thread Wolfgang Schuster
Am 18.06.2013 um 22:26 schrieb Pablo Rodríguez : > Dear list, > > I'd like to place a table centered (both horizontally and vertically) on > an empty page. > > Is there no option from the xtable itself to achieve that? > > I have tried \startxtable[location=lo

[NTG-context] placing an xtable

2013-06-18 Thread Pablo Rodríguez
Dear list, I'd like to place a table centered (both horizontally and vertically) on an empty page. Is there no option from the xtable itself to achieve that? I have tried \startxtable[location=lohi], but this doesn't seem to affect to the placement of the table itself. Many thank

Re: [NTG-context] Vertically Aligning inmargin Text to Figure

2013-06-18 Thread Hans Hagen
:\rightorleftpageaction rl] [] [width=\marginwidth, align={lohi,middle}, foregroundstyle=\tx] {\floatuserdataparameter{text}} \flushlayer [extrafiguretextlayer:\rightorleftpageaction rl] \stopsetups \defineoverlay

[NTG-context] two simple questions on presentations

2013-06-17 Thread Pablo Rodríguez
the cards is centered both horizontally and vertically. \setupalign[lohi] doesn't work outside frames or similar and \setupalign[middle] centers only horizontally. -Page background colors that can be changed from a given point to the rest of the document or the next page backgrou

[NTG-context] Adjust font size to cell height in natural table

2013-05-27 Thread H. Özoguz
Hello together, I use this as a natural table \def\esl[#1][#2][#3][#4][#5][#6][#7]{% \page \startframed[frame=off,width=fit,offset=overlay,align=middle,background=eslami]% \bTABLE[width=4.55cm,align={middle,lohi}] \bTR\bTD[height=2cm] ~\blank[-3.4mm]#1 \eTD\eTR \bTR\bTD[height=3cm] #2

[NTG-context] split natural table

2013-05-21 Thread Stephens, Kenny
[split=repeat] \setupTABLE[c][1][width=10em,align={center,lohi},style={\bfx}] \setupTABLE[r][1][align={hilo,center},style={\bfx}] \setupTABLE[c][2][width=20em,style={\tfx}] \bTABLEhead \bTR\bTH Row number \eTH\bTH Content \eTH\eTR \eTABLEhead \bTABLEbody \bTR\bTC 1 \eTC\bTC \input{k

Re: [NTG-context] [***SPAM***] Positioning of frames in a frame

2013-05-16 Thread Wolfgang Schuster
m,height=3cm]{Verbotener Begriff 1}\\ \framed[width=4.55cm,height=2.4cm]{Erklärung} \stopframed \blank[2*line] \startframed[frame=off,width=fit,offset=overlay,align=middle,background=eslami]% \bTABLE[width=4.55cm,align={middle,lohi}] \bTR\bTD[height=2cm] Begriff \eTD\eTR \bTR\bTD[height=3cm

[NTG-context] MkIV problem+fix with \framed[location=depth / height / hanging]

2013-05-14 Thread Sietse Brouwer
ion=bottom] {location\\equals\\bottom} \framed[width=2cm,align=middle,location=lohi] {location\\equals\\lohi} \framed[width=2cm,align=middle,location=middle] {location\\equals\\middle} \framed[width=2cm,align=middle,location=top]{location\\equals\\top} B} \stoptext --- T

Re: [NTG-context] Bracets in tables

2013-05-07 Thread Wolfgang Schuster
ext/2010/049601.html Part of the code is now in the source but it has to be loaded first. \useMPlibrary[fen] \starttext \bTABLE[frame=off,loffset=1ex,roffset=1ex,align=lohi] \bTR \bTD[background=rightbrace] Text\\Text \eTD \bTD Text \eTD \eTR \

Re: [NTG-context] table formatting mystery

2013-04-29 Thread Wolfgang Schuster
Am 29.04.2013 um 17:19 schrieb Lance Larsen : > Thankyou luigi. The suggestion provided below worked. I wish I understood why > context thought that a cell height to two rows were needed, but the > combination of \hbox and alignment of lohi is a reasonable workaround. Spannded row/c

Re: [NTG-context] table formatting mystery

2013-04-29 Thread Lance Larsen
Thankyou luigi. The suggestion provided below worked. I wish I understood why context thought that a cell height to two rows were needed, but the combination of \hbox and alignment of lohi is a reasonable workaround. -Lance On Thu, Apr 25, 2013 at 5:02 PM, Lance Larsen http://www.ntg.nl

Re: [NTG-context] table formatting mystery

2013-04-26 Thread luigi scarso
\cb > Approval Date \sp\sp\cb Other: \eTD \bTD > Page~\pagenumber~of~\totalnumberofpages \eTD \eTR > \bTR \bTD \bf ~Issued for: \eTD \bTD[nc=5,align=middle] > \tfx Phase 1 Design \cb\sp Phase 2 Design \cb\sp Phase 3 Design \cb\sp > Input to DCD \cb\sp N/A \cb

Re: [NTG-context] Finetuning distances in cells

2013-04-17 Thread Aditya Mahajan
On Wed, 17 Apr 2013, "H. Özoguz" wrote: (Sorry, there were typos in the code). The offset between the top and bottom rule in each cell. Change them to something drastic like 1cm to see the affect. \startsetups table:setups \setupTABLE[align={lohi}, loffset=1pt, boffset=3cm, align

Re: [NTG-context] Finetuning distances in cells

2013-04-16 Thread H. Özoguz
(Sorry, there were typos in the code). The offset between the top and bottom rule in each cell. Change them to something drastic like 1cm to see the affect. \startsetups table:setups \setupTABLE[align={lohi}, loffset=1pt, boffset=3cm, align=flushleft] \stopsetups \starttext \bTABLE[setups

Re: [NTG-context] [***SPAM***] Re: Finetuning distances in cells

2013-04-16 Thread Aditya Mahajan
On Wed, 17 Apr 2013, "H. Özoguz" wrote: It is much easier to fine-tune details with Natural Tables. Each cell of a natural table is a frame, so you can use settings for frames to change the style. \startsetups table:setups \setupTABLE[align={lohi}, toffset=1pt, bottset=3pt, align

[NTG-context] [***SPAM***] Re: Finetuning distances in cells

2013-04-16 Thread H. Özoguz
It is much easier to fine-tune details with Natural Tables. Each cell of a natural table is a frame, so you can use settings for frames to change the style. \startsetups table:setups \setupTABLE[align={lohi}, toffset=1pt, bottset=3pt, align=flushleft] \stopsetups \bTABLE[setup=table:setups

Re: [NTG-context] [***SPAM***] Finetuning distances in cells

2013-04-16 Thread Aditya Mahajan
ails with Natural Tables. Each cell of a natural table is a frame, so you can use settings for frames to change the style. \startsetups table:setups \setupTABLE[align={lohi}, toffset=1pt, bottset=3pt, align=flushleft] \stopsetups \bTABLE[setup=table:setups] \bTR \bTD[nc=3, align=middle, s

Re: [NTG-context] Arranging framed text without gaps

2013-02-28 Thread Devendra Ghate
setups=my:table] \startsetups [my:table] \setupTABLE [split=yes, width=5cm, height=4cm, style=MyBigFont] \setupTABLE [each] [align={middle,lohi}] \stopsetups \starttext \startMyTable Jim, Mary , John Patsy , Bob , Linda Mike , Babsy , Bill Liz, Dave , Jenny Dick

Re: [NTG-context] Arranging framed text without gaps

2013-02-28 Thread Matthias Weber
gt; > \defineseparatedlist > [MyTable] > [before=\bTABLE, after=\eTABLE, > first=\bTR, last=\eTR, > left=\bTD, right=\eTD, > setups=my:table] > > \startsetups [my:table] > \setupTABLE [split=yes, width=5cm, height=4cm, style=MyBigFont] > \setupTABLE [each] [align=

Re: [NTG-context] Arranging framed text without gaps

2013-02-28 Thread Marco Patzer
pTABLE [split=yes, width=5cm, height=4cm, style=MyBigFont] \setupTABLE [each] [align={middle,lohi}] \stopsetups \starttext \startMyTable Jim, Mary , John Patsy , Bob , Linda Mike , Babsy , Bill Liz, Dave , Jenny Dick , Sue , Chuck Maggie , Joe , Dolley Tom, Lisa

[NTG-context] Bug in \externalfigure[...][factor=max]

2013-02-02 Thread Aditya Mahajan
\externalfigure[...][factor=max] behaves incorrectly (or at lease does not behave as expected) when the width of the figure is less than the height. Minimal example: \startbuffer \startTABLE[frame=off,align={middle,lohi}] \NC none \NC \externalfigure[cow][ratio] \NC \NR \NC max \NC

Re: [NTG-context] Beginner question. Chapter heading in words

2012-11-11 Thread Andrew Dowell
oublesided, location=footer] \unexpanded\def\MyChapterTitle#1#2% {\framed [offset=overlay, frame=off, width=\textwidth, align={middle,lohi}] {#1\blank#2}} \setuphead [chapter] [header=high, command=\MyChapterTitle, style=\bfc, numberstyle=\bfb] \setuplabeltex

Re: [NTG-context] Beginner question. Chapter heading in words

2012-11-11 Thread Andrew Dowell
apter] [\getvariable{document}{title}][] \setuppagenumbering [alternative=doublesided, location=footer] \unexpanded\def\MyChapterTitle#1#2% {\framed [offset=overlay, frame=off, width=\textwidth, align={middle,lohi}] {#1\blank#2}} \setuphead [chapter] [he

Re: [NTG-context] Beginner question. Chapter heading in words

2012-11-10 Thread Hans Hagen
] \unexpanded\def\MyChapterTitle#1#2% {\framed [offset=overlay, frame=off, width=\textwidth, align={middle,lohi}] {#1\blank#2}} \setuphead [chapter] [header=high, command=\MyChapterTitle, style=\bfc, numberstyle=\bfb] \setuplabeltext [chapter=Chapter~] \startdocument

Re: [NTG-context] ConTeXt unofficial test suite stub (chemistry)

2012-10-18 Thread Sietse Brouwer
Sietse wrote: >> Alpha particles are \lohi[left]{40}{2}He. Alain wrote: > Someone needs to fix the wiki... (done!) [Alain fixed the wiki to "Alpha particles are \lohi[left]{4}{2}He\high{2+}."] But, but, but ... that doesn't demonstrate the fact that the elements rig

Re: [NTG-context] ConTeXt unofficial test suite stub (chemistry)

2012-10-18 Thread Romain Diss
Le jeudi 18 octobre 2012, Alan BRASLAU a écrit : > By the way, \lohi[left]{2}{4}He is somewhat a tautology, like all such > isotopic nomenclature, as He ALWAYS has an atomic number of 2, > otherwise it is not He (and U ALWAYS has an atomic number of 92, > otherwise it is no longer U).

Re: [NTG-context] ConTeXt unofficial test suite stub (chemistry)

2012-10-18 Thread Romain Diss
Le jeudi 18 octobre 2012, Sietse Brouwer a écrit : > What about \lohi with the [left] key? That might serve your needs until > Alan gets \chemistry to parse and typeset isotopes correctly. Yes there are some "hacks" to typeset isotopes correctly, but I think it would be bett

Re: [NTG-context] ConTeXt unofficial test suite stub (chemistry)

2012-10-18 Thread Alan BRASLAU
On Thu, 18 Oct 2012 10:41:00 +0200 Sietse Brouwer wrote: > Alpha particles are \lohi[left]{40}{2}He. Alpha particles are He\high{2+} (helium nucleus) not to be confused with He\low{2} (helium molecules) that DO exist but are unstable and only last 13 seconds or so. Someone needs to fix

[NTG-context] Luatex crash with x86-64 Linux binary

2012-09-10 Thread Brian R. Landy
setupTABLE[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23][1,4,3,2][style={\switchtobodyfont[modern,rm]\bf}]% \setupTABLE[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23][5][topframe=on]% \setupTABLE[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23][20][align={flus

Re: [NTG-context] Vertical alignment in Natural tables

2012-08-27 Thread Aditya Mahajan
, \setupTABLE[align={middle,high}] and \setupTABLE[align={middle,low}] work as expected, but \setupTABLE[align={middle,middle}] does not work. I also tried \setupTABLE[location={low}] (or lohi, or middle), but the calculation of height is wrong in those cases. Minimal example: \startsetups table

Re: [NTG-context] Vertical alignment in Natural tables

2012-08-27 Thread Wolfgang Schuster
LE[align={middle,high}] and \setupTABLE[align={middle,low}] work as > expected, but \setupTABLE[align={middle,middle}] does not work. > > I also tried \setupTABLE[location={low}] (or lohi, or middle), but the > calculation of height is wrong in those cases. > > Minimal example: >

[NTG-context] Vertical alignment in Natural tables

2012-08-27 Thread Aditya Mahajan
[align={middle,middle}] does not work. I also tried \setupTABLE[location={low}] (or lohi, or middle), but the calculation of height is wrong in those cases. Minimal example: \startsetups table \setupTABLE[align={middle,middle}] \stopsetups \starttext \startTABLE[setups

[NTG-context] align and \rotated don't work

2012-08-17 Thread Xan
Hi, I have this code: \bTD[width=.7cm, align={bottom, middle}, topframe=off] \rotate[rotation=90]{Antoni Obrador} \eTD in one table but it does not work. ConTeXt displays it up and left. Is it any bug associated with rotated and align? With lohi suprisely it works. Thanks in advance, Xan

Re: [NTG-context] Figured bass symbols in a text.

2012-08-12 Thread Rogers, Michael K
t;> \definelowhigh [MyLoHi] [style=\txx] >> \definelowmidhigh[MyLoMiHi][style=\txx] >> >> We have >>\ruledhbox{\low {L}} and \ruledhbox{\MyLow {L}} and >>\ruledhbox{\high{H}} and \ruledhbox{\MyHigh{H}} and >>\ruledhbox{\lohi

<    1   2   3   4   5   6   >