[NTG-context] tabulate inside itemize

Hans Hagen j.hagen at xs4all.nl
Wed Jul 29 19:20:45 CEST 2020


On 7/29/2020 7:09 PM, Wolfgang Schuster wrote:
> Mike Cooper schrieb am 29.07.2020 um 18:38:
>> I would normally use tab stops and line breaks to achieve the 
>> following in a numbered list:
>>
>> 1. DC=3.20 bbl =420 ft
>> HWDP= 3.90 bbl =450 ft
>> DP= 34.63 bbl = 2,037 ft
>> Totals = 41.73 bbl = 2,907 ft
>>
>> 2. [next step …]
>>
>> This is what I tried, but the output has a blank line at the number.I 
>> can’t find anything about tabulate inside itemize.
>>
>> \starttext
>>
>> \startitemize[n]
>> \startitem \starttabulate[|l|l|r|l|r|]
>> \NC DC \NC = \NC 3.20 bbl \NC = \NC 420 ft \NC \NR
>> \NC HWDP \NC = \NC 3.90 bbl \NC = \NC 450 ft \NC \NR
>> \NC DP \NC = \NC 34.63 bbl \NC =\NC 2,037 ft \NC \NR
>> \NC DC \NC = \NC 41.73 bbl \NC =\NC 2,907 ft \NC \NR
>> \stoptabulate \stopitem
>> \startitem Convert 2,907 to TVD: \\TVD = 2,907 × cosine 45° = 2,907 × 
>> 0.707 = 2,056 ft \stopitem
>> \startitem ΔP = 2,056 ft × 0.052 × (15 – 7.2) = 834 psi
>> \stopitemize
>>
>> \stoptext
>>
>> Is there some way to stop the blank line or should I use an entirely 
>> different approach?
> 
> 1. Use \blank[overlay] to continue on the first line of the item entry

Ah ... I start forgetting things ... bad ... (I should use tex more 
often I guess)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list