[NTG-context] \centerline vs. \midaligned vs. \startalignment[middle]

2013-06-26 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, there are several similar commands to produce text (or another object) to be centered on the line. What are differences (or intended usage) among \centerline, \midaligned, \startalignment[middle]? (NB: \centerline has no its-own page on wiki, but it is used at several places in wiki

Re: [NTG-context] \centerline vs. \midaligned vs. \startalignment[middle]

2013-06-26 Thread Wolfgang Schuster
Am 26.06.2013 um 14:07 schrieb Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: Hello, there are several similar commands to produce text (or another object) to be centered on the line. What are differences (or intended usage) among \centerline, \midaligned,

Re: [NTG-context] \centerline vs. \midaligned vs. \startalignment[middle]

2013-06-26 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, thanks for explanation. I also wrote a sample code which should typeset a midaligned table via Lua using tabulate. But I'm not able to achieve the goal - what am I doing wrong? \starttext T \startluacode local f = function() context.starttabulate{|rw(2cm)|rw(2cm)|}

Re: [NTG-context] \centerline vs. \midaligned vs. \startalignment[middle]

2013-06-26 Thread Wolfgang Schuster
Am 26.06.2013 um 15:00 schrieb Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: Hello, thanks for explanation. I also wrote a sample code which should typeset a midaligned table via Lua using tabulate. But I'm not able to achieve the goal - what am I doing wrong? Use the

Re: [NTG-context] \centerline vs. \midaligned vs. \startalignment[middle]

2013-06-26 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, On Wed, 26 Jun 2013 15:10:43 +0200, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Use the solution in the following mail which deals with the same problem: http://www.ntg.nl/pipermail/ntg-context/2013/073795.html Wolfgang the following code seems to work: ...

Re: [NTG-context] \centerline vs. \midaligned vs. \startalignment[middle]

2013-06-26 Thread Wolfgang Schuster
Am 26.06.2013 um 15:30 schrieb Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: Hello, On Wed, 26 Jun 2013 15:10:43 +0200, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Use the solution in the following mail which deals with the same problem: