ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* About "natural tables"
@ 2013-10-30 16:43 MANUEL GONZALEZ SUAREZ
  2013-10-30 17:08 ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: MANUEL GONZALEZ SUAREZ @ 2013-10-30 16:43 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 487 bytes --]

Hello everyone.
I like to compose tables using the method "Natural Tables" recommended "Contextgarden" but do not know how I have to configure to display only horizontal lines (not vertical). I send a minimal example:


\starttext

\starttable[|c|c|]

\HL

\NC Letters \NC Numbers \SR % or \NC\AR

\HL

\NC A \NC 1 \AR

\NC B \NC 2 \AR

\NC C \NC 3 \AR

\HL

\stoptable

\stoptext


How I could "translate" to a "natural table " this code?


Thanks to all

[-- Attachment #1.2: Type: text/html, Size: 3825 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: About "natural tables"
  2013-10-30 16:43 About "natural tables" MANUEL GONZALEZ SUAREZ
@ 2013-10-30 17:08 ` Wolfgang Schuster
  2013-10-30 17:24   ` Aditya Mahajan
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2013-10-30 17:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1143 bytes --]


Am 30.10.2013 um 17:43 schrieb MANUEL GONZALEZ SUAREZ <gonzalezsmanuel@uniovi.es>:

> Hello everyone.
> I like to compose tables using the method "Natural Tables" recommended "Contextgarden" but do not know how I have toconfigure to display only horizontal lines (not vertical). I send a minimal example:
> 
> 
> \starttext
> \starttable[|c|c|]
> \HL
> \NC Letters \NC Numbers \SR % or \NC\AR
> \HL
> \NC A \NC 1 \AR
> \NC B \NC 2 \AR
> \NC C \NC 3 \AR
> \HL
> \stoptable
> \stoptext
> 
> How I could "translate" to a "natural table " this code?

\startsetups[table:rules]

	\setupTABLE [start]  [frame=off,align=middle]
	\setupTABLE [header] [topframe=on,bottomframe=on]

	\setupTABLE [row] [first] [topframe=on]
	\setupTABLE [row] [last]  [bottomframe=on]

\stopsetups

\starttext

\bTABLE[setups=table:rules]
	\bTABLEhead
		\bTR
			\bTD Letters \eTD
			\bTD Numbers \eTD
		\eTR
	\eTABLEhead
	\bTABLEbody
		\bTR
			\bTD A \eTD
			\bTD 1 \eTD
		\eTR
		\bTR
			\bTD B \eTD
			\bTD 2 \eTD
		\eTR
		\bTR
			\bTD C \eTD
			\bTD 2 \eTD
		\eTR
	\eTABLEbody
\eTABLE

\stoptext

Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 6537 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: About "natural tables"
  2013-10-30 17:08 ` Wolfgang Schuster
@ 2013-10-30 17:24   ` Aditya Mahajan
  2013-10-30 18:07     ` MANUEL GONZALEZ SUAREZ
  0 siblings, 1 reply; 4+ messages in thread
From: Aditya Mahajan @ 2013-10-30 17:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, 30 Oct 2013, Wolfgang Schuster wrote:

>
> Am 30.10.2013 um 17:43 schrieb MANUEL GONZALEZ SUAREZ <gonzalezsmanuel@uniovi.es>:
>
>> Hello everyone.
>> I like to compose tables using the method "Natural Tables" recommended "Contextgarden" but do not know how I have toconfigure to display only horizontal lines (not vertical). I send a minimal example:
>>
>>
>> \starttext
>> \starttable[|c|c|]
>> \HL
>> \NC Letters \NC Numbers \SR % or \NC\AR
>> \HL
>> \NC A \NC 1 \AR
>> \NC B \NC 2 \AR
>> \NC C \NC 3 \AR
>> \HL
>> \stoptable
>> \stoptext
>>
>> How I could "translate" to a "natural table " this code?
>
> \startsetups[table:rules]
>
> 	\setupTABLE [start]  [frame=off,align=middle]
> 	\setupTABLE [header] [topframe=on,bottomframe=on]
>
> 	\setupTABLE [row] [first] [topframe=on]
> 	\setupTABLE [row] [last]  [bottomframe=on]
>
> \stopsetups
>
> \starttext
>
> \bTABLE[setups=table:rules]
> 	\bTABLEhead
> 		\bTR
> 			\bTD Letters \eTD
> 			\bTD Numbers \eTD
> 		\eTR
> 	\eTABLEhead
> 	\bTABLEbody
> 		\bTR
> 			\bTD A \eTD
> 			\bTD 1 \eTD
> 		\eTR
> 		\bTR
> 			\bTD B \eTD
> 			\bTD 2 \eTD
> 		\eTR
> 		\bTR
> 			\bTD C \eTD
> 			\bTD 2 \eTD
> 		\eTR
> 	\eTABLEbody
> \eTABLE
>
> \stoptext

or

\startsetups[table:rules]
 	\setupTABLE [start]  [frame=off,align=middle]
 	\setupTABLE [row] [first] [topframe=on, bottomframe=on]
 	\setupTABLE [row] [last]  [bottomframe=on]
\stopsetups

\starttext

\startTABLE[setups=table:rules]
\NC Letters \NC Numbers \NC \NR
\NC A \NC 1 \NC \NR
\NC B \NC 2 \NC \NR
\NC C \NC 3 \NC \NR
\stopTABLE
\stoptext

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: About "natural tables"
  2013-10-30 17:24   ` Aditya Mahajan
@ 2013-10-30 18:07     ` MANUEL GONZALEZ SUAREZ
  0 siblings, 0 replies; 4+ messages in thread
From: MANUEL GONZALEZ SUAREZ @ 2013-10-30 18:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Thanks very much Wolfgang
________________________________________
De: ntg-context-bounces@ntg.nl <ntg-context-bounces@ntg.nl> en nombre de Aditya Mahajan <adityam@umich.edu>
Enviado: miércoles, 30 de octubre de 2013 17:24
Para: mailing list for ConTeXt users
Asunto: Re: [NTG-context] About "natural tables"

On Wed, 30 Oct 2013, Wolfgang Schuster wrote:

>
> Am 30.10.2013 um 17:43 schrieb MANUEL GONZALEZ SUAREZ <gonzalezsmanuel@uniovi.es>:
>
>> Hello everyone.
>> I like to compose tables using the method "Natural Tables" recommended "Contextgarden" but do not know how I have toconfigure to display only horizontal lines (not vertical). I send a minimal example:
>>
>>
>> \starttext
>> \starttable[|c|c|]
>> \HL
>> \NC Letters \NC Numbers \SR % or \NC\AR
>> \HL
>> \NC A \NC 1 \AR
>> \NC B \NC 2 \AR
>> \NC C \NC 3 \AR
>> \HL
>> \stoptable
>> \stoptext
>>
>> How I could "translate" to a "natural table " this code?
>
> \startsetups[table:rules]
>
>       \setupTABLE [start]  [frame=off,align=middle]
>       \setupTABLE [header] [topframe=on,bottomframe=on]
>
>       \setupTABLE [row] [first] [topframe=on]
>       \setupTABLE [row] [last]  [bottomframe=on]
>
> \stopsetups
>
> \starttext
>
> \bTABLE[setups=table:rules]
>       \bTABLEhead
>               \bTR
>                       \bTD Letters \eTD
>                       \bTD Numbers \eTD
>               \eTR
>       \eTABLEhead
>       \bTABLEbody
>               \bTR
>                       \bTD A \eTD
>                       \bTD 1 \eTD
>               \eTR
>               \bTR
>                       \bTD B \eTD
>                       \bTD 2 \eTD
>               \eTR
>               \bTR
>                       \bTD C \eTD
>                       \bTD 2 \eTD
>               \eTR
>       \eTABLEbody
> \eTABLE
>
> \stoptext

or

\startsetups[table:rules]
        \setupTABLE [start]  [frame=off,align=middle]
        \setupTABLE [row] [first] [topframe=on, bottomframe=on]
        \setupTABLE [row] [last]  [bottomframe=on]
\stopsetups

\starttext

\startTABLE[setups=table:rules]
\NC Letters \NC Numbers \NC \NR
\NC A \NC 1 \NC \NR
\NC B \NC 2 \NC \NR
\NC C \NC 3 \NC \NR
\stopTABLE
\stoptext

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-30 18:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-30 16:43 About "natural tables" MANUEL GONZALEZ SUAREZ
2013-10-30 17:08 ` Wolfgang Schuster
2013-10-30 17:24   ` Aditya Mahajan
2013-10-30 18:07     ` MANUEL GONZALEZ SUAREZ

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).