ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* tabulate in itemize
@ 2008-11-11 11:19 Wolfgang Schuster
  2008-11-11 12:25 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Schuster @ 2008-11-11 11:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

do own of you know how I can have a line in the tabulate that will start
at the same position as the first column, \HR is no solution for me
because it adds extra space before the line and I try to avoid to define
my own costomized \HR command.

\starttext

\startitemize

\item text text text

	\starttabulate[|cm|l|]
	\NC   \NC Anfangsbestand \NC\NR
	\NC + \NC Zugänge        \NC\NR
	\NC - \NC Abgänge        \NC\NR
	\HL
	\NC   \NC Endbestand     \NC\NR
	\stoptabulate

\stopitemize

\stoptext

Wolfgang
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: tabulate in itemize
  2008-11-11 11:19 tabulate in itemize Wolfgang Schuster
@ 2008-11-11 12:25 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2008-11-11 12:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Nov 11, 2008 at 12:19 PM, Wolfgang Schuster
<schuster.wolfgang@googlemail.com> wrote:
> Hi,
>
> do own of you know how I can have a line in the tabulate that will start
> at the same position as the first column, \HR is no solution for me
> because it adds extra space before the line and I try to avoid to define
> my own costomized \HR command.

I have now done what I tried to avoid but I'm still not happy with solution,
can't this be provided by default.

\appendtoks
  \def\HSR{\mytabulaterule}
\to \everytabulate

\def\mytabulaterule
  {\dotabulatenobreak
   \TABLEnoalign{\vskip-.5\lineheight}%
   \dotabulatelinerule
   \TABLEnoalign{\vskip-.5\lineheight}%
   \dotabulatenobreak}


\starttext

\startitemize

\item text text text

    \starttabulate[|cm|l|]
    \NC   \NC Anfangsbestand \NC\NR
    \NC + \NC Zugänge        \NC\NR
    \NC - \NC Abgänge        \NC\NR
    \HSR
    \NC   \NC Endbestand     \NC\NR
    \stoptabulate

\stopitemize

\stoptext

Wolfgang
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2008-11-11 12:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-11 11:19 tabulate in itemize Wolfgang Schuster
2008-11-11 12:25 ` Wolfgang Schuster

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).